Native class
SGBAAttributeListReferenceViewer#
class
BLUEPRINTATTRIBUTESEDITOR_API
SGBAAttributeListReferenceViewer :
public SCompoundWidget
Widget allowing user to list Gameplay Attributes and open up the reference viewer for them
Methods#
-
publicvoidConstruct(const FArguments& InArgs
Constructs this widget with InArgs
-
TSharedPtr<SWidget>
Gets the widget to focus once the menu opens.
-
voidOnFilterTextChanged(const FText& InFilterText
Updates the tag list when the filter text changes
-
inline
-
privatevoidOnAttributeSelectionChanged(TSharedPtr<FGBAAttributeListReferenceViewerNode> InItem,
ESelectInfo::Type SelectInfoCalled when an item is selected from the list.
-
TSharedRef<ITableRow>OnGenerateRowForAttributeViewer(TSharedPtr<FGBAAttributeListReferenceViewerNode> InItem,
const TSharedRef<STableViewBase>& InOwnerTableCreates the row widget when called by Slate when an item appears on the list.
-
void
Updates the list of items in the dropdown menu
Fields#
-
privateTSharedPtr<SListView<TSharedPtr<FGBAAttributeListReferenceViewerNode>>> AttributeList
Holds the Slate List widget that holds the attributes for the Attribute Viewer.
-
TSharedPtr<SBorder> AttributesContainerWidget
Container widget holding the attribute list
-
TSharedPtr<FAttributeTextFilter> AttributeTextFilter
Filters needed for filtering the attributes
-
TArray<TSharedPtr<FGBAAttributeListReferenceViewerNode>> PropertyOptions
Array of items that can be selected in the dropdown menu
-
TSharedPtr<SSearchBox> SearchAttributeBox
Allows for the user to find a specific gameplay attribute in the list