Navigation
API > API/Plugins > API/Plugins/ColorGradingEditor
A custom detail view based on SDetailView that uses a property row generator as a source for the property nodes instead of generating them manually. Using an existing property row generator allows the detail view to display an object's properties much faster than the ordinary SDetailView, which has to regenerate a new property node tree every time the object being displayed is changed
| Name | SColorGradingDetailView |
| Type | class |
| Header File | /Engine/Plugins/Editor/ColorGrading/Source/ColorGradingEditor/Public/DetailView/SColorGradingDetailView.h |
| Include Path | #include "DetailView/SColorGradingDetailView.h" |
Syntax
class SColorGradingDetailView : public SCompoundWidget
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SCompoundWidget → SColorGradingDetailView
- FSlateControlledConstruction → SWidget → SCompoundWidget → SColorGradingDetailView
Structs
| Name | Remarks |
|---|---|
| FArguments |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| SDetailTree | STreeView< TSharedRef< FColorGradingDetailTreeItem > > | DetailView/SColorGradingDetailView.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ColumnSizeData | FDetailColumnSizeData | Column sizing data for the properties | DetailView/SColorGradingDetailView.h | |
| DetailTree | TSharedPtr< SDetailTree > | The underlying tree view used to display the property widgets | DetailView/SColorGradingDetailView.h | |
| ExpandedDetailNodes | TSet< FString > | A list of currently expanded detail nodes | DetailView/SColorGradingDetailView.h | |
| OnFilterDetailTreeNode | FOnFilterDetailTreeNode | Delegate used to filter or process the detail tree nodes that are displayed in the detail view | DetailView/SColorGradingDetailView.h | |
| PropertyRowGeneratorSource | TSharedPtr< IPropertyRowGenerator > | The property row generator to generate the property widgets from | DetailView/SColorGradingDetailView.h | |
| RootTreeNodes | TArray< TSharedRef< FColorGradingDetailTreeItem > > | The source list of the root detail tree nodes being displayed by the tree widget | DetailView/SColorGradingDetailView.h | |
| TreeItemsToSetExpansionState | TMap< TWeakPtr< FColorGradingDetailTreeItem >, bool > | A list of tree items whose expansion state needs to be set on the next tick | DetailView/SColorGradingDetailView.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Construct
(
const FArguments& InArgs |
DetailView/SColorGradingDetailView.h | ||
void Refresh() |
Regenerates this widget based on the current state of its property row generator source | DetailView/SColorGradingDetailView.h | |
void RestoreExpandedItems() |
Restores the expansion state of all properties being displayed in this detail view from the user's config file | DetailView/SColorGradingDetailView.h | |
void SaveExpandedItems() |
Saves the expansion state of all properties being displayed in this detail view to the user's config file | DetailView/SColorGradingDetailView.h |
Overridden from SWidget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Tick
(
const FGeometry& AllottedGeometry, |
DetailView/SColorGradingDetailView.h |