Navigation
API > API/Plugins > API/Plugins/ModelingEditorUI
SComboPanel provides a ComboBox-type interface but instead of a drop-down list, a STileView panel ("Flyout") is shown with an icon for each selectable item. Various options for the ComboButton are available, eg a single large icon, icon with adjacent label, etc.
Client provides a TArray
| Name | SComboPanel |
| Type | class |
| Header File | /Engine/Plugins/Experimental/MeshModelingToolsetExp/Source/ModelingEditorUI/Public/ModelingWidgets/SComboPanel.h |
| Include Path | #include "ModelingWidgets/SComboPanel.h" |
Syntax
class SComboPanel : public SCompoundWidget
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SCompoundWidget → SComboPanel
- FSlateControlledConstruction → SWidget → SCompoundWidget → SComboPanel
Structs
| Name | Remarks |
|---|---|
| FArguments | |
| FComboPanelItem | Item in the Combo Flyout (ie selectable option). |
Enums
Public
| Name | Remarks |
|---|---|
| EComboDisplayType | EComboDisplayType is used to specify the widgets in the ComboButton (ie non-expanded widget) |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FOnActiveItemChanged | TBaseDelegate_OneParam< void, TSharedPtr< FComboPanelItem > > | Event that fires when selection changes | ModelingWidgets/SComboPanel.h |
| FOnSelectionChanged | FOnActiveItemChanged | ModelingWidgets/SComboPanel.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Construct
(
const FArguments& InArgs |
Construct this widget | ModelingWidgets/SComboPanel.h | |
void SetSelectionIndex
(
int InSelectionIndex |
Sets the currently selected index without user interaction. | ModelingWidgets/SComboPanel.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TSharedRef< ITableRow > CreateFlyoutIconTile
(
TSharedPtr< FComboPanelItem > Item, |
STileView functions. | ModelingWidgets/SComboPanel.h | |
virtual void FlyoutSelectionChanged
(
TSharedPtr< FComboPanelItem > SelectedItemIn, |
ModelingWidgets/SComboPanel.h | ||
TSharedRef< SWidget > OnGetMenuContent() |
SComboButton functions. | ModelingWidgets/SComboPanel.h | |
void OnMenuOpenChanged
(
bool bOpen |
ModelingWidgets/SComboPanel.h |