Plasma Engine  2.0
Loading...
Searching...
No Matches
DynamicStringEnumPropertyWidget.moc.h
1#pragma once
2
3#include <EditorFramework/EditorFrameworkDLL.h>
4#include <GuiFoundation/PropertyGrid/Implementation/PropertyWidget.moc.h>
5
6class QHBoxLayout;
7class QComboBox;
9
11{
12 Q_OBJECT
13
14public:
16
17
18protected slots:
19 void on_CurrentEnum_changed(int iEnum);
20
21protected:
22 virtual void OnInit() override;
23 virtual void InternalSetValue(const plVariant& value) override;
24
25protected:
26 QComboBox* m_pWidget;
27 QHBoxLayout* m_pLayout;
28 plDynamicStringEnum* m_pEnum = nullptr;
29 plInt32 m_iLastIndex = -1;
30};
31
Stores the valid values and names for 'dynamic' enums.
Definition DynamicStringEnum.h:14
Definition DynamicStringEnumPropertyWidget.moc.h:11
Base class for most 'simple' property type widgets. Implements some of the standard functionality.
Definition PropertyBaseWidget.moc.h:118
plVariant is a class that can store different types of variables, which is useful in situations where...
Definition Variant.h:44