Navigation
API > API/Editor > API/Editor/ClassViewer
| Name | SClassViewer |
| Type | class |
| Header File | /Engine/Source/Editor/ClassViewer/Public/SClassViewer.h |
| Include Path | #include "SClassViewer.h" |
Syntax
class SClassViewer : public SCompoundWidget
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SCompoundWidget → SClassViewer
- FSlateControlledConstruction → SWidget → SCompoundWidget → SClassViewer
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~SClassViewer() |
SClassViewer.h |
Structs
| Name | Remarks |
|---|---|
| FArguments |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bEnableClassDynamicLoading | bool | True to allow class dynamic loading. | SClassViewer.h | |
| bNeedsRefresh | bool | True if the Class Viewer needs to be repopulated at the next appropriate opportunity, occurs whenever classes are added, removed, renamed, etc. | SClassViewer.h | |
| bPendingFocusNextFrame | bool | True if the search box will take keyboard focus next frame | SClassViewer.h | |
| bPendingSetExpansionStates | bool | True if we need to set the tree expansion states according to our local copy next tick | SClassViewer.h | |
| bSaveExpansionStates | bool | True if expansions states should be saved when compiling. | SClassViewer.h | |
| ClassFilter | TSharedPtr< FClassViewerFilter > | Filter to use to determine what classes are valid. | SClassViewer.h | |
| ClassList | TSharedPtr< SListView< TSharedPtr< FClassViewerNode > > > | Holds the Slate List widget which holds the classes for the Class Viewer. | SClassViewer.h | |
| ClassTree | TSharedPtr< STreeView< TSharedPtr< FClassViewerNode > > > | Holds the Slate Tree widget which holds the classes for the Class Viewer. | SClassViewer.h | |
| CustomClassFilterOptions | TArray< TSharedRef< FClassViewerFilterOption > > | Custom filter options for the View Options menu | SClassViewer.h | |
| ExpansionStateMap | TMap< FString, bool > | The map holding the expansion state map for the tree. | SClassViewer.h | |
| InitOptions | FClassViewerInitializationOptions | Init options, cached | SClassViewer.h | |
| NumClasses | int | Number of classes that passed the filter | SClassViewer.h | |
| OnClassPicked | FOnClassPicked | Callback that's fired when a class is selected while in 'class picking' mode | SClassViewer.h | |
| RightClickBlueprint | UBlueprint * | The blueprint currently right clicked on. | SClassViewer.h | |
| RightClickClass | UClass * | The class currently right clicked on. | SClassViewer.h | |
| RightClickClassIndex | int32 | The index of the class currently right clicked on. | SClassViewer.h | |
| RootTreeItems | TArray< TSharedPtr< FClassViewerNode > > | The items to be displayed in the tree. | SClassViewer.h | |
| SearchBox | TSharedPtr< SSearchBox > | The Class Search Box, used for filtering the classes visible. | SClassViewer.h | |
| ViewOptionsComboButton | TSharedPtr< SComboButton > | The button that displays view options | SClassViewer.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ClearSelection() |
Empty the selection set. | SClassViewer.h | |
void Construct
(
const FArguments& InArgs, |
Construct the widget | SClassViewer.h | |
virtual TSharedRef< SWidget > GetContent() |
Gets the widget contents of the app | SClassViewer.h | |
virtual bool IsClassAllowed
(
const UClass* InClass |
Test to see whether the given class would be allowed by this class viewer | SClassViewer.h | |
virtual FReply OnFocusReceived
(
const FGeometry& MyGeometry, |
SClassViewer.h | ||
virtual FReply OnKeyDown
(
const FGeometry& MyGeometry, |
SClassViewer.h | ||
void Refresh() |
Sends a requests to the Class Viewer to refresh itself the next chance it gets | SClassViewer.h | |
virtual bool SupportsKeyboardFocus() |
SClassViewer.h | ||
virtual void Tick
(
const FGeometry& AllottedGeometry, |
SWidget interface | SClassViewer.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void DestroyClassHierarchy() |
Destroys the internal Class Hierarchy database | SClassViewer.h | |
static void RequestPopulateClassHierarchy() |
Requests a repopulation of the internal Class Hierarchy database | SClassViewer.h |