Navigation
API > API/Editor > API/Editor/UnrealEd
| Name | SComponentClassCombo |
| Type | class |
| Header File | /Engine/Source/Editor/UnrealEd/Public/SComponentClassCombo.h |
| Include Path | #include "SComponentClassCombo.h" |
Syntax
class SComponentClassCombo : public SCompoundWidget
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SCompoundWidget → SComponentClassCombo
- FSlateControlledConstruction → SWidget → SCompoundWidget → SComponentClassCombo
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~SComponentClassCombo() |
SComponentClassCombo.h |
Structs
| Name | Remarks |
|---|---|
| FArguments | |
| FComponentClassFilterData | Internal data used to facilitate component class filtering |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AddNewButton | TSharedPtr< class SPositiveActionButton > | The Add combo button. | SComponentClassCombo.h | |
| ComponentClassFilterData | FComponentClassFilterData | Internal data that facilitates custom class filtering | SComponentClassCombo.h | |
| ComponentClassList | TArray< FComponentClassComboEntryPtr > * | List of component class names used by combo box | SComponentClassCombo.h | |
| ComponentClassListView | TSharedPtr< SListView< FComponentClassComboEntryPtr > > | The component list control - part of the combo drop down | SComponentClassCombo.h | |
| FilteredComponentClassList | TArray< FComponentClassComboEntryPtr > | List of component class names, filtered by the current search string | SComponentClassCombo.h | |
| OnComponentClassSelected | FComponentClassSelected | SComponentClassCombo.h | ||
| OnSubobjectClassSelected | FSubobjectClassSelected | SComponentClassCombo.h | ||
| PrevSelectedIndex | int32 | Cached selection index used to skip over unselectable items | SComponentClassCombo.h | |
| SearchBox | TSharedPtr< SSearchBox > | The search box control - part of the combo drop down | SComponentClassCombo.h | |
| TextFilter | TSharedPtr< FTextFilterExpressionEvaluator > | The current search string | SComponentClassCombo.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ClearSelection() |
Clear the current combo list selection | SComponentClassCombo.h | |
void Construct
(
const FArguments& InArgs |
SComponentClassCombo.h | ||
TSharedRef< ITableRow > GenerateAddComponentRow
(
FComponentClassComboEntryPtr Entry, |
SComponentClassCombo.h | ||
FText GetCurrentSearchString() |
SComponentClassCombo.h | ||
void OnAddComponentSelectionChanged
(
FComponentClassComboEntryPtr InItem, |
SComponentClassCombo.h | ||
void OnSearchBoxTextChanged
(
const FText& InSearchText |
Called when the user changes the text in the search box. | SComponentClassCombo.h | |
void OnSearchBoxTextCommitted
(
const FText& NewText, |
Callback when the user commits the text in the searchbox | SComponentClassCombo.h | |
void UpdateComponentClassList() |
Update list of component classes | SComponentClassCombo.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void GenerateFilteredComponentList() |
Updates the filtered list of component names. | SComponentClassCombo.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FString GetSanitizedComponentName
(
FComponentClassComboEntryPtr Entry |
Returns a component name without the substring "Component" and sanitized for display | SComponentClassCombo.h |