Navigation
API > API/Plugins > API/Plugins/TedsUI
Constructor for the counter widget. The counter widget accepts a "count"-query. The query will be periodically run and the result is written to a textbox widget after it's been formatted using LabelText. An example for LabelText is "{0} {0}|plural(one=MyCounter, other=MyCounters)" which will use "MyCounter" if there's exactly one entry found and otherwise "MyCounters".
| Name | FCounterWidgetConstructor |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/EditorDataStorage/Source/TedsUI/Public/Widgets/CounterWidget.h |
| Include Path | #include "Widgets/CounterWidget.h" |
Syntax
USTRUCT ()
struct FCounterWidgetConstructor : public FTypedElementWidgetConstructor
Inheritance Hierarchy
- FTypedElementWidgetConstructor → FCounterWidgetConstructor
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FCounterWidgetConstructor() |
Widgets/CounterWidget.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FCounterWidgetConstructor() |
Widgets/CounterWidget.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| LabelText | FText | Widgets/CounterWidget.h | ||
| Query | UE::Editor::DataStorage::QueryHandle | Widgets/CounterWidget.h | ||
| ToolTipText | FText | Widgets/CounterWidget.h |
Functions
Public
Overridden from FTypedElementWidgetConstructor
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TConstArrayView< const UScriptStruct * > GetAdditionalColumnsList() |
Widgets/CounterWidget.h |
Protected
Overridden from FTypedElementWidgetConstructor
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TSharedPtr< SWidget > CreateWidget
(
const UE::Editor::DataStorage::FMetaDataView& Arguments |
Widgets/CounterWidget.h | ||
virtual bool SetColumns
(
UE::Editor::DataStorage::ICoreProvider* DataStorage, |
Widgets/CounterWidget.h |