/
redgpu
/
ezEngine
Обзор
Документация
Войти
/
redgpu
/
ezEngine
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
Code/Tools/Inspector/ReflectionWidget.moc.h
51 строка
983 B
Jan Krassnigg
Updated ADS and fixed document layout restoration (#1497)
28 фев 2025, 12:35
Не верифицирован
28 фев 2025, 12:35
2e065c5
Код
Авторство
О чём код?
#pragma once #include <Foundation/Basics.h> #include <Foundation/Containers/Map.h> #include <Foundation/Reflection/Reflection.h> #include <Foundation/Strings/String.h> #include <Inspector/ui_ReflectionWidget.h> #include <ads/DockWidget.h> class ezQtReflectionWidget : public ads::CDockWidget, public Ui_ReflectionWidget { public: Q_OBJECT public: ezQtReflectionWidget(ads::CDockManager* pDockManager, QWidget* pParent = 0); static ezQtReflectionWidget* s_pWidget; private Q_SLOTS: public: static void ProcessTelemetry(void* pUnuseed); void ResetStats(); private: struct PropertyData { ezString m_sType; ezString m_sPropertyName; ezInt8 m_iCategory; }; struct TypeData { TypeData() { m_pTreeItem = nullptr; } QTreeWidgetItem* m_pTreeItem; ezUInt32 m_uiSize; ezString m_sParentType; ezString m_sPlugin; ezHybridArray<PropertyData, 16> m_Properties; }; bool UpdateTree(); ezMap<ezString, TypeData> m_Types; };