Navigation
API > API/Plugins > API/Plugins/CustomDetailsView
| Name | ICustomDetailsViewItem |
| Type | class |
| Header File | /Engine/Plugins/VirtualProduction/CustomDetailsView/Source/CustomDetailsView/Public/Items/ICustomDetailsViewItem.h |
| Include Path | #include "Items/ICustomDetailsViewItem.h" |
Syntax
class ICustomDetailsViewItem : public TSharedFromThis< ICustomDetailsViewItem >
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → ICustomDetailsViewItem
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~ICustomDetailsViewItem() |
Items/ICustomDetailsViewItem.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddAsChild
(
const TSharedRef< ICustomDetailsViewItem >& InParentItem, |
Adds this node as a child. | Items/ICustomDetailsViewItem.h | |
TSharedRef< SWidget > CreateExtensionButtonWidget
(
const TArray< FPropertyRowExtensionButton >& InExtensionButtons |
Takes a list of buttons and creates an extension button widget. | Items/ICustomDetailsViewItem.h | |
void CreateGlobalExtensionButtons
(
TArray< FPropertyRowExtensionButton >& OutExtensionButtons |
Creates the other global extension buttons. | Items/ICustomDetailsViewItem.h | |
bool CreateResetToDefaultButton
(
FPropertyRowExtensionButton& OutButton |
Creates the reset to default button based on this item's settings, if it can. | Items/ICustomDetailsViewItem.h | |
const TArray< TSharedPtr< ICustomDetailsViewItem > > & GetChildren() |
Items/ICustomDetailsViewItem.h | ||
TSharedPtr< ICustomDetailsView > GetCustomDetailsView() |
Items/ICustomDetailsViewItem.h | ||
TSharedPtr< IDetailsView > GetDetailsView() |
Details view containing this item | Items/ICustomDetailsViewItem.h | |
const FDetailWidgetRow & GetDetailWidgetRow() |
Returns the widget row that stores the default of this widget. | Items/ICustomDetailsViewItem.h | |
const FCustomDetailsViewItemId & GetItemId() |
Retrieves the Item Id last updated from RefreshItemId, to avoid having to recalculate it every time | Items/ICustomDetailsViewItem.h | |
TOptional< EDetailNodeType > GetNodeType() |
Items/ICustomDetailsViewItem.h | ||
TSharedPtr< SWidget > GetOverrideWidget
(
ECustomDetailsViewWidgetType InWidgetType |
Gets the widget set to override the widget automatically generated in the given slot. | Items/ICustomDetailsViewItem.h | |
TSharedPtr< ICustomDetailsViewItem > GetParent() |
Items/ICustomDetailsViewItem.h | ||
TSharedPtr< ICustomDetailsViewItem > GetRoot() |
Items/ICustomDetailsViewItem.h | ||
TSharedPtr< SWidget > GetWidget
(
ECustomDetailsViewWidgetType InWidgetType |
Get the one of the widgets that was generated in the MakeWidget Listen to the OnItemWidgetGenerated Delegate to have this Widget up to date with latest tree view | Items/ICustomDetailsViewItem.h | |
void InitWidget() |
Called to initialise the widget. | Items/ICustomDetailsViewItem.h | |
bool IsWidgetVisible() |
Checks to see if widget is visible | Items/ICustomDetailsViewItem.h | |
TSharedRef< SWidget > MakeWidget
(
const TSharedPtr< SWidget >& InPrependWidget, |
Instantiates a Widget for the Given Item | Items/ICustomDetailsViewItem.h | |
void RefreshChildren
(
TSharedPtr< ICustomDetailsViewItem > InParentOverride |
Regenerates the Children | Items/ICustomDetailsViewItem.h | |
void RefreshItemId() |
Called to update the Item's Id | Items/ICustomDetailsViewItem.h | |
void SetCreateChildItemDelegate
(
FOnCustomDetailsViewGenerateChildItem InDelegate |
When the property based on a property row generator is expanded and child properties are generated, use this delegate to create the row, if set and it returns a non-null row. | Items/ICustomDetailsViewItem.h | |
void SetCustomizeItemMenuContext
(
FOnCustomDetailsViewCustomizeItemMenuContext InDelegate |
Allows to customize the context menu of this item | Items/ICustomDetailsViewItem.h | |
void SetEnabledOverride
(
TAttribute< bool > InOverride |
Overrides the created widget's enabled status. | Items/ICustomDetailsViewItem.h | |
void SetKeyframeEnabled
(
bool bInKeyframeEnabled |
Override the keyframeability of this item. | Items/ICustomDetailsViewItem.h | |
void SetOverrideWidget
(
ECustomDetailsViewWidgetType InWidgetType, |
Adds a widget to override an automatically generated widget for the given slot. | Items/ICustomDetailsViewItem.h | |
void SetParent
(
TSharedPtr< ICustomDetailsViewItem > InParent |
Items/ICustomDetailsViewItem.h | ||
void SetResetToDefaultOverride
(
const FResetToDefaultOverride& InOverride |
Override the reset to the default information for this item. | Items/ICustomDetailsViewItem.h | |
void SetValueWidgetWidthOverride
(
TOptional< float > InWidth |
Overrides the created value widget's maximum width. | Items/ICustomDetailsViewItem.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void GatherChildren
(
const TSharedRef< ICustomDetailsViewItem >& InParentItem, |
Adds the children of this node. | Items/ICustomDetailsViewItem.h |