Plasma Engine  2.0
Loading...
Searching...
No Matches
ReflectionWidget.moc.h
1#pragma once
2
3#include <Foundation/Basics.h>
4#include <Foundation/Containers/Map.h>
5#include <Foundation/Reflection/Reflection.h>
6#include <Foundation/Strings/String.h>
7#include <Inspector/ui_ReflectionWidget.h>
8#include <ads/DockWidget.h>
9
10class plQtReflectionWidget : public ads::CDockWidget, public Ui_ReflectionWidget
11{
12public:
13 Q_OBJECT
14
15public:
16 plQtReflectionWidget(QWidget* pParent = 0);
17
18 static plQtReflectionWidget* s_pWidget;
19
20private Q_SLOTS:
21
22public:
23 static void ProcessTelemetry(void* pUnuseed);
24
25 void ResetStats();
26
27private:
28 struct PropertyData
29 {
30 plString m_sType;
31 plString m_sPropertyName;
32 plInt8 m_iCategory;
33 };
34
35 struct TypeData
36 {
37 TypeData() { m_pTreeItem = nullptr; }
38
39 QTreeWidgetItem* m_pTreeItem;
40
41 plUInt32 m_uiSize;
42 plString m_sParentType;
43 plString m_sPlugin;
44
46 };
47
48 bool UpdateTree();
49
51};
52
A hybrid array uses in-place storage to handle the first few elements without any allocation....
Definition HybridArray.h:12
Definition Map.h:408
Definition ReflectionWidget.moc.h:11
static void ProcessTelemetry(void *pUnuseed)
Definition ReflectionWidget.cpp:40