Navigation
API > API/Plugins > API/Plugins/RigVMEditor
A searchable text combo box
| Name | SRigVMGraphPinNameListValueWidget |
| Type | class |
| Header File | /Engine/Plugins/Runtime/RigVM/Source/RigVMEditor/Public/Widgets/SRigVMGraphPinNameListValueWidget.h |
| Include Path | #include "Widgets/SRigVMGraphPinNameListValueWidget.h" |
Syntax
class SRigVMGraphPinNameListValueWidget : public SComboButton
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SPanel → SMenuAnchor → SComboButton → SRigVMGraphPinNameListValueWidget
- FSlateControlledConstruction → SWidget → SPanel → SMenuAnchor → SComboButton → SRigVMGraphPinNameListValueWidget
Implements Interfaces
Structs
| Name | Remarks |
|---|---|
| FArguments |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FOnGenerateWidget | TSlateDelegates< TSharedPtr< FRigVMStringWithTag > >::FOnGenerateWidget | Delegate type used to generate widgets that represent Options | Widgets/SRigVMGraphPinNameListValueWidget.h |
| FOnSelectionChanged | TSlateDelegates< TSharedPtr< FRigVMStringWithTag > >::FOnSelectionChanged | Widgets/SRigVMGraphPinNameListValueWidget.h | |
| SComboListType | SListView< TSharedPtr< FRigVMStringWithTag > > | Type of list used for showing menu options. | Widgets/SRigVMGraphPinNameListValueWidget.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AllowUserProvidedText | bool | Widgets/SRigVMGraphPinNameListValueWidget.h | ||
| ComboListView | TSharedPtr< SComboListType > | The ListView that we pop up; visualized the available options. | Widgets/SRigVMGraphPinNameListValueWidget.h | |
| CustomScrollbar | TSharedPtr< SScrollBar > | The Scrollbar used in the ListView. | Widgets/SRigVMGraphPinNameListValueWidget.h | |
| ItemStyle | const FTableRowStyle * | The item style to use. | Widgets/SRigVMGraphPinNameListValueWidget.h | |
| OnComboBoxOpening | FOnComboBoxOpening | Delegate to invoke before the combo box is opening. | Widgets/SRigVMGraphPinNameListValueWidget.h | |
| OnGenerateWidget | FOnGenerateWidget | Delegate to invoke when we need to visualize an option as a widget. | Widgets/SRigVMGraphPinNameListValueWidget.h | |
| OnSelectionChanged | FOnSelectionChanged | Delegate that is invoked when the selected item in the combo box changes | Widgets/SRigVMGraphPinNameListValueWidget.h | |
| OptionsSource | const TArray< TSharedPtr< FRigVMStringWithTag > > * | Widgets/SRigVMGraphPinNameListValueWidget.h | ||
| SearchField | TSharedPtr< SEditableTextBox > | The search field used for the combox box's contents | Widgets/SRigVMGraphPinNameListValueWidget.h | |
| SelectedItem | TSharedPtr< FRigVMStringWithTag > | The item currently selected in the combo box | Widgets/SRigVMGraphPinNameListValueWidget.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ClearSelection() |
Widgets/SRigVMGraphPinNameListValueWidget.h | ||
void Construct
(
const FArguments& InArgs |
Construct the widget from a declaration | Widgets/SRigVMGraphPinNameListValueWidget.h | |
TSharedPtr< FRigVMStringWithTag > GetSelectedItem() |
Widgets/SRigVMGraphPinNameListValueWidget.h | ||
void RefreshOptions () |
Requests a list refresh after updating options Call SetSelectedItem to update the selected item if required | Widgets/SRigVMGraphPinNameListValueWidget.h | |
void SetOptionsSource
(
const TArray< TSharedPtr< FRigVMStringWithTag > >* InOptionsSource |
Widgets/SRigVMGraphPinNameListValueWidget.h | ||
void SetSelectedItem
(
TSharedPtr< FRigVMStringWithTag > InSelectedItem |
Widgets/SRigVMGraphPinNameListValueWidget.h |