Navigation
API > API/Plugins > API/Plugins/DMXEditor
Generates a dropdown menu list of Entities from a specific type to be used as a dropdown for a SComboButton's MenuContent.
| Name | SDMXEntityDropdownMenu |
| Type | class |
| Header File | /Engine/Plugins/VirtualProduction/DMX/DMXEngine/Source/DMXEditor/Public/Widgets/SDMXEntityDropdownMenu.h |
| Include Path | #include "Widgets/SDMXEntityDropdownMenu.h" |
Syntax
template<typename TEntityType>
class SDMXEntityDropdownMenu : public SListViewSelectorDropdownMenu< TSharedPtr< FDMXEntityEntry > >
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SCompoundWidget → SListViewSelectorDropdownMenu → SDMXEntityDropdownMenu
- FSlateControlledConstruction → SWidget → SCompoundWidget → SListViewSelectorDropdownMenu → SDMXEntityDropdownMenu
- SListViewSelectorDropdownMenu → SDMXEntityDropdownMenu
Structs
| Name | Remarks |
|---|---|
| FArguments |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| SDMXDropdownMenuType | SDMXEntityDropdownMenu< TEntityType > | Widgets/SDMXEntityDropdownMenu.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ComboButtonPtr | TWeakPtr< SComboButton > | Widgets/SDMXEntityDropdownMenu.h | ||
| CurrentExistingEntitiesNum | uint32 | Widgets/SDMXEntityDropdownMenu.h | ||
| DMXEditor | TAttribute< TWeakPtr< FDMXEditor > > | Widgets/SDMXEntityDropdownMenu.h | ||
| DMXLibrary | TAttribute< TWeakObjectPtr< UDMXLibrary > > | Widgets/SDMXEntityDropdownMenu.h | ||
| EntitiesListView | TSharedPtr< SListView< TSharedPtr< FDMXEntityEntry > > > | The list widget, with the entries the user will see in the UI | Widgets/SDMXEntityDropdownMenu.h | |
| EntityEntries | TArray< TSharedPtr< FDMXEntityEntry > > | All entries that should be displayed in the menu, including headers and separators | Widgets/SDMXEntityDropdownMenu.h | |
| EntityTypeFilter | TAttribute< TSubclassOf< UDMXEntity > > | Widgets/SDMXEntityDropdownMenu.h | ||
| EntityTypeName | FText | Widgets/SDMXEntityDropdownMenu.h | ||
| FilteredEntityEntries | TArray< TSharedPtr< FDMXEntityEntry > > | Widgets/SDMXEntityDropdownMenu.h | ||
| OnCreateNewEntityDelegate | FOnCreateNewEntitySelected | Widgets/SDMXEntityDropdownMenu.h | ||
| OnEntitySelectedDelegate | FOnEntitySelected | Widgets/SDMXEntityDropdownMenu.h | ||
| PrevSelectedIndex | int32 | Widgets/SDMXEntityDropdownMenu.h | ||
| SearchBox | TSharedPtr< SSearchBox > | The search box to filter the available Entities | Widgets/SDMXEntityDropdownMenu.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ClearSelection() |
Widgets/SDMXEntityDropdownMenu.h | ||
void Construct
(
const FArguments& InArgs |
Widgets/SDMXEntityDropdownMenu.h | ||
void RefreshEntitiesList() |
Updates the entities list | Widgets/SDMXEntityDropdownMenu.h | |
void SetComboButton
(
TSharedPtr< SComboButton > InComboButton |
Sets the button that opens this dropdown menu. | Widgets/SDMXEntityDropdownMenu.h |