Navigation
API > API/Editor > API/Editor/PropertyEditor
Inheritance Hierarchy
- IDetailLayoutRow
- FDetailWidgetRow
References
| Module | PropertyEditor |
| Header | /Engine/Source/Editor/PropertyEditor/Public/DetailWidgetRow.h |
| Include | #include "DetailWidgetRow.h" |
Syntax
class FDetailWidgetRow : public IDetailLayoutRow
Remarks
Represents a single row of custom widgets in a details panel
Variables
| Type | Name | Description | |
|---|---|---|---|
| FUIAction | CopyMenuAction | Action for copying data on this row | |
| TSharedPtr< IDetailDragDropHandler > | CustomDragDropHandler | Custom handler for drag-and-drop of the row | |
| TArray< FCustomMenuData > | CustomMenuItems | Custom Action on this row | |
| TOptional< FResetToDefaultOverride > | CustomResetToDefault | Custom reset to default handler | |
| TAttribute< bool > | EditConditionValue | Custom edit condition value. | |
| FDetailWidgetDecl | ExtensionWidget | Extension (right) column content | |
| FText | FilterTextString | String to filter with | |
| TOptional< bool > | ForceAutoExpansion | True to force auto-expansion | |
| TAttribute< bool > | IsEnabledAttr | IsEnabled of the row | |
| TAttribute< bool > | IsValueEnabledAttr | IsEnabled of the value widget only | |
| FDetailWidgetDecl | NameWidget | Name column content | |
| FOnBooleanValueChanged | OnEditConditionValueChanged | Custom edit condition value changed handler. | |
| TWeakPtr< FOnPasteFromText > | OnPasteFromTextDelegate | Delegate for pasting (optionally tagged) text on this row | |
| FUIAction | PasteMenuAction | Action for pasting data on this row | |
| TArray< TSharedPtr< IPropertyHandle > > | PropertyHandles | All property handle that this custom widget represent | |
| FName | RowTagName | Tag to identify this row | |
| FDetailWidgetDecl | ValueWidget | Value column content | |
| TAttribute< EVisibility > | VisibilityAttr | Visibility of the row | |
| FDetailWidgetDecl | WholeRowWidget | Whole row content |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| FDetailWidgetRow & | AddCustomContextMenuAction
(
const FUIAction& Action, |
Add a custom action to the row context menu | |
| FDetailWidgetRow & | CopyAction
(
const FUIAction& InCopyAction |
Sets a custom copy action to take when copying the data from this row | |
| FDetailWidgetRow & | DragDropHandler
(
TSharedPtr< IDetailDragDropHandler > InDragDropHandler |
Sets a handler for the row to be a source or target of drag-and-drop operations. | |
| FDetailWidgetRow & | EditCondition
(
TAttribute< bool > InEditConditionValue, |
Override the edit condition. | |
| FDetailWidgetDecl & | Assigns content to the extension (right) slot | ||
| FDetailWidgetRow & | FilterString
(
const FText& InFilterString |
Sets a string which should be used to filter the content when a user searches | |
| const TArray< TSharedPtr< IPropertyHandle > > & | Return all the property handles this WidgetRow represent | ||
| bool | |||
| bool | HasColumns () |
||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| FDetailWidgetRow & | IsEnabled
(
const TAttribute< bool >& InIsEnabled |
Sets the enabled state of the entire row | |
| bool | |||
| FDetailWidgetRow & | IsValueEnabled
(
const TAttribute< bool >& InIsEnabled |
Sets the enabled state of the value widget only | |
| FDetailWidgetDecl & | NameContent () |
Assigns content to just the name slot | |
| FDetailWidgetRow & | OverrideResetToDefault
(
const FResetToDefaultOverride& InResetToDefaultOverride |
Sets flag to indicate if property value differs from the default | |
| FDetailWidgetRow & | PasteAction
(
const FUIAction& InPasteAction |
Sets a custom paste action to take when copying the data from this row | |
| FDetailWidgetRow & | PropertyHandleList
(
const TArray< TSharedPtr< IPropertyHandle >>& InPropertyHandles |
Used to provide all the property handles this WidgetRow represent | |
| FDetailWidgetRow & | Sets a tag which can be used to identify this row | ||
| FDetailWidgetRow & | ShouldAutoExpand
(
bool bForceExpansion |
Sets whether or not this property should auto-expand | |
| FDetailWidgetDecl & | ValueContent () |
Assigns content to the value slot | |
| FDetailWidgetRow & | Visibility
(
const TAttribute< EVisibility >& InVisibility |
Sets the visibility of the entire row | |
| FDetailWidgetDecl & | Assigns content to the whole slot, this is an explicit alternative to using [] |
Overridden from IDetailLayoutRow
| Type | Name | Description | |
|---|---|---|---|
| TOptional< FResetToDefaultOverride > | |||
| FName | GetRowName () |
IDetailLayoutRow interface |
Operators
| Type | Name | Description | |
|---|---|---|---|
| FDetailWidgetRow & | operator[]
(
TSharedRef< SWidget > InWidget |
Assigns content to the entire row | |
| FDetailWidgetRow & | operator=
(
const FDetailWidgetRow& Other |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FCustomMenuData |
Constants
| Name | Description |
|---|---|
| DefaultValueMaxWidth | |
| DefaultValueMinWidth |