Navigation
API > API/Plugins > API/Plugins/ConcertSharedSlate
Utility for creating widgets of IItemSourceModel and categories thereof (TSourceSelectionCategory).
| Name | FSourceModelBuilders |
| Type | struct |
| Header File | /Engine/Plugins/Developer/Concert/ConcertUI/ConcertSharedSlate/Source/ConcertSharedSlate/Public/Model/Item/SourceModelBuilders.h |
| Include Path | #include "Model/Item/SourceModelBuilders.h" |
Syntax
template<typename TItemType>
struct FSourceModelBuilders
Structs
| Name | Remarks |
|---|---|
| FItemPickerArgs |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FGetItemDisplayString | TBaseDelegate_OneParam< FString, const TItemType &Item > | Model/Item/SourceModelBuilders.h | |
| FGetItemIcon | TBaseDelegate_OneParam< FSlateIcon, const TItemType &Item > | Model/Item/SourceModelBuilders.h | |
| FIsItemSelected | TBaseDelegate_OneParam< bool, const TItemType &Item > | Model/Item/SourceModelBuilders.h | |
| FOnItemsSelected | TBaseDelegate_OneParam< void, TArray< TItemType > > | Model/Item/SourceModelBuilders.h |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void AddOptionToMenu
(
TSharedRef< IItemSourceModel< TItemType > > Option, |
Adds the option to a context-menu | Model/Item/SourceModelBuilders.h | |
static void AddSubCategoryToMenu
(
const TSourceSelectionCategory< TItemType >& Category, |
Model/Item/SourceModelBuilders.h | ||
static TSharedRef< SWidget > BuildCategory
(
const TSourceSelectionCategory< TItemType >& Category, |
Builds a combo button where each entry corresponds to one IItemSourceModel. | Model/Item/SourceModelBuilders.h | |
static TSharedRef< SWidget > BuildMenu
(
const TArray< TAttribute< TSharedPtr< IItemSourceModel< TItemType > > > >& Options, |
Model/Item/SourceModelBuilders.h | ||
static void FillSearchableSubmenu
(
const TSharedRef< IItemSourceModel< TItemType > >& Source, |
Model/Item/SourceModelBuilders.h | ||
static TSharedRef< SWidget > MakeStandaloneWidget
(
TSharedRef< IItemSourceModel< TItemType > > Source, |
Creates a combo button inlining the source model. | Model/Item/SourceModelBuilders.h | |
static bool NeedsSeparationFromOtherItems
(
const TSharedRef< IItemSourceModel< TItemType > >& Option, |
Model/Item/SourceModelBuilders.h |