Navigation
API > API/Plugins > API/Plugins/OperatorStackEditor > API/Plugins/OperatorStackEditor/Builders
References
| Module | OperatorStackEditor |
| Header | /Engine/Plugins/Experimental/OperatorStack/Source/OperatorStack/Public/Builders/OperatorStackEditorHeaderBuilder.h |
| Include | #include "Builders/OperatorStackEditorHeaderBuilder.h" |
Syntax
struct FOperatorStackEditorHeaderBuilder
Remarks
Header builder for item
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bDraggable | Allow drag operation on this item | |
| bool | bExpandable | Allow expandable header to show the body and footer | |
| FLinearColor | BorderColor | The border color surrounding the item | |
| bool | bSearchAllowed | Allow use of search bar to filter content | |
| bool | bStartsExpanded | Starts expanded or not | |
| TSharedPtr< FUICommandList > | CommandList | Commands executable for this item | |
| FName | ContextMenuName | Context menu available on this item | |
| TSharedPtr< SWidget > | CustomWidget | Widget that overrides the whole stack generated widget | |
| const FSlateBrush * | Icon | On the left | |
| FText | Label | On the left, after to icon | |
| TAttribute< FText > | MessageBoxText | The text content of the message box | |
| TAttribute< EOperatorStackEditorMessageType > | MessageBoxType | The type of message box we want to show | |
| TSharedPtr< FCustomDetailsViewItemId > | Property | On the right, property id to expose in the header | |
| TSet< FString > | SearchKeywords | Keywords to test against search input | |
| TSet< FString > | SearchPinnedKeywords | Pinned keywords for search, will appear below search box, only for root stack | |
| FName | ToolbarMenuName | Menu on the right before property, should not contain a lot of entries and only icons | |
| const FSlateBrush * | ToolMenuIcon | Menu icon in the header | |
| FText | ToolMenuLabel | Menu label in the header as a tooltip and label | |
| FName | ToolMenuName | Menu present in the header for additional actions | |
| FText | Tooltip | Shown on the header |
Functions
| Type | Name | Description | |
|---|---|---|---|
| const FLinearColor & | |||
| const TSharedPtr< FUICommandList > & | |||
| const FName & | |||
| TSharedPtr< SWidget > | |||
| bool | GetDraggable () |
||
| bool | |||
| const FSlateBrush * | GetIcon () |
||
| const FText & | GetLabel () |
||
| const TAttribute< FText > & | |||
| const TAttribute< EOperatorStackEditorMessageType > & | |||
| const TSharedPtr< FCustomDetailsViewItemId > & | GetProperty () |
||
| bool | |||
| const TSet< FString > & | |||
| const TSet< FString > & | |||
| bool | |||
| const FName & | |||
| const FSlateBrush * | |||
| const FText & | |||
| const FName & | |||
| const FText & | GetTooltip () |
||
| FOperatorStackEditorHeaderBuilder & | SetBorderColor
(
const FLinearColor& InColor |
Sets the border color surrounding the item | |
| FOperatorStackEditorHeaderBuilder & | SetCommandList
(
TSharedPtr< FUICommandList > InCommands |
Sets available commands on this item | |
| FOperatorStackEditorHeaderBuilder & | SetContextMenu
(
const FName& InToolMenuName |
Sets context menu name on this item | |
| FOperatorStackEditorHeaderBuilder & | SetCustomWidget
(
TSharedPtr< SWidget > InWidget |
Sets the custom widget replacing the stack generated widget | |
| FOperatorStackEditorHeaderBuilder & | SetDraggable
(
bool bInDraggable |
Whether the item is draggable | |
| FOperatorStackEditorHeaderBuilder & | SetExpandable
(
bool bInExpandable |
Whether the item is expandable | |
| FOperatorStackEditorHeaderBuilder & | SetIcon
(
const FSlateBrush* InIcon |
Set the icon to display for this item header | |
| FOperatorStackEditorHeaderBuilder & | SetLabel
(
const FText& InLabel |
Set the label to display for this item header | |
| FOperatorStackEditorHeaderBuilder & | SetMessageBox
(
const TAttribute< EOperatorStackEditorMessageType >& InType, |
Sets whether to show a message box in the header for warning, error, success operations | |
| FOperatorStackEditorHeaderBuilder & | SetProperty
(
FProperty* InProperty |
Set a single property to expose in the header, like a boolean | |
| FOperatorStackEditorHeaderBuilder & | SetSearchAllowed
(
bool bInSearchable |
Allow search on this item, if the stack header is searchable a search box will appear | |
| FOperatorStackEditorHeaderBuilder & | SetSearchKeywords
(
const TSet< FString >& InKeywords |
Sets keywords for this item, if the keyword is contained inside this item will show | |
| FOperatorStackEditorHeaderBuilder & | SetSearchPinnedKeywords
(
const TSet< FString >& InKeywords |
Sets pinned keywords on root item, they will appear on top of the search bar | |
| FOperatorStackEditorHeaderBuilder & | SetStartsExpanded
(
bool bInExpanded |
Whether the item starts expanded or collapsed | |
| FOperatorStackEditorHeaderBuilder & | SetToolbarMenu
(
const FName& InActionMenuName |
Set a small menu that contains icon entries on the right | |
| FOperatorStackEditorHeaderBuilder & | SetToolMenu
(
const FName& InToolMenuName, |
Set a menu that appears when we press a button with a label and icon in the header | |
| FOperatorStackEditorHeaderBuilder & | SetTooltip
(
const FText& InTooltip |
Set the tooltip to display for this item header |