Navigation
Unreal Engine C++ API Reference > Editor > DetailCustomizations > Customizations
Inheritance Hierarchy
References
Module | DetailCustomizations |
Header | /Engine/Source/Editor/DetailCustomizations/Public/Customizations/CurveTableCustomization.h |
Include | #include "Customizations/CurveTableCustomization.h" |
Syntax
class FCurveTableCustomizationLayout : public [IPropertyTypeCustomization](API\Editor\PropertyEditor\IPropertyTypeCustomization)
Remarks
Customizes a DataTable asset to use a dropdown
Variables
Type | Name | Description |
---|---|---|
TSharedPtr< FSt... | CurrentSelectedItem | |
TSharedPtr< IPr... | CurveTablePropertyHandle | |
TSharedPtr< SCo... | RowNameComboButton | The comboButton objects |
TSharedPtr< SLi... | RowNameComboListView | |
TSharedPtr< IPr... | RowNamePropertyHandle | |
TArray< TShared... | RowNames | A cached copy of strings to populate the combo box |
TSharedPtr< IPr... | StructPropertyHandle | Handle to the struct properties being customized |
Functions
Type | Name | Description |
---|---|---|
void | CreateCurveTableChildProperty ( IDetailChildrenBuilder& StructBuil... ) | |
TSharedRef< ... | GetListContent () | Returns the ListView for the ComboButton |
FText | GetRowNameComboBoxContentText () | Display the current selection |
TSharedRef< ... | HandleRowNameComboBoxGenarateWidget ( TSharedPtr< FString > InItem, const TSharedRef< STableViewBase > ... ) | Return the representation of the the row names to display |
TSharedPtr< ... | InitWidgetContent ( bool bShouldModifyData ) | Init the contents the combobox sources its data off |
TSharedRef< ... | MakeInstance () | |
void | OnCurveTableChanged () | Delegate to refresh the drop down when the datatable changes |
void | OnFilterTextChanged ( const FText& InFilterText ) | Called by Slate when the filter box changes text. |
void | OnInitialRefresh () | Initial refresh, will not modify data |
void | OnSelectionChanged ( TSharedPtr< FString > SelectedItem, ESelectInfo::Type SelectInfo ) | Update the root data on a change of selection |
Overridden from IPropertyTypeCustomization
Type | Name | Description |
---|---|---|
void | CustomizeChildren ( TSharedRef< class IPropertyHandle >..., IDetailChildrenBuilder& ChildBuild..., IPropertyTypeCustomizationUtils& C... ) | Called when the children of the property should be customized or extra rows added |
void | CustomizeHeader ( TSharedRef< class IPropertyHandle >..., FDetailWidgetRow& HeaderRow, IPropertyTypeCustomizationUtils& S... ) | IPropertyTypeCustomization interface |