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
10
class
plQtReflectionWidget
:
public
ads::CDockWidget,
public
Ui_ReflectionWidget
11
{
12
public
:
13
Q_OBJECT
14
15
public
:
16
plQtReflectionWidget
(QWidget* pParent = 0);
17
18
static
plQtReflectionWidget
* s_pWidget;
19
20
private
Q_SLOTS:
21
22
public
:
23
static
void
ProcessTelemetry
(
void
* pUnuseed);
24
25
void
ResetStats();
26
27
private
:
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
45
plHybridArray<PropertyData, 16>
m_Properties;
46
};
47
48
bool
UpdateTree();
49
50
plMap<plString, TypeData>
m_Types;
51
};
52
plHybridArray
A hybrid array uses in-place storage to handle the first few elements without any allocation....
Definition
HybridArray.h:12
plMap
Definition
Map.h:408
plQtReflectionWidget
Definition
ReflectionWidget.moc.h:11
plQtReflectionWidget::ProcessTelemetry
static void ProcessTelemetry(void *pUnuseed)
Definition
ReflectionWidget.cpp:40
plHybridString< 32, plDefaultAllocatorWrapper >
Code
Tools
Inspector
ReflectionWidget.moc.h
Generated by
1.11.0