Elaztek Developer Hub
Blamite Game Engine - Keystone  00361.08.25.22.0004.blamite
A library that enables the use of Qt in Blamite's editing tools.
property_view.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <QWidget>
4 #include <HEKSapien/components/hierarchy/hierarchy.h>
5 
9 #include "ui_property_view.h"
10 
12 {
13  Q_OBJECT
14 
15 private:
16  Ui::properties_palette ui;
17 
18  BlamEditorInstanceField_Enum* primitive_type_field = nullptr;
19  BlamWorldObject* current_object = nullptr;
20 
21  std::vector<BlamEditorInstanceField_Generic*> property_fields = std::vector<BlamEditorInstanceField_Generic*>();
22 
23  void AddField(BlamEditorInstanceField_Generic* field);
24 
25 public:
28 
29  void ShowProperties(BlamWorldObject* object);
30  void ClearPropertyUI();
31 
32 private slots:
33  void PrimitiveType_IndexChanged(int index);
34 };
BlamEditorInstanceField_Generic
Definition: BlamEditorInstanceField_Generic.h:16
BlamEditorToolWindow
Base class for all editor tool windows.
Definition: BlamEditorToolWindow.h:37
BlamEditorToolWindow_PropertiesPalette::ShowProperties
void ShowProperties(BlamWorldObject *object)
Definition: property_view.cpp:24
BlamEditorToolWindow.h
BlamEditorToolWindow_PropertiesPalette::ClearPropertyUI
void ClearPropertyUI()
Definition: property_view.cpp:68
enum.h
BlamEditorToolWindow_PropertiesPalette::~BlamEditorToolWindow_PropertiesPalette
~BlamEditorToolWindow_PropertiesPalette()
Definition: property_view.cpp:19
BlamEditorInstanceField_Enum
Definition: enum.h:7
BlamEditorToolWindow_PropertiesPalette
Definition: property_view.h:11
BlamEditorToolWindow_PropertiesPalette::BlamEditorToolWindow_PropertiesPalette
BlamEditorToolWindow_PropertiesPalette()
Definition: property_view.cpp:12
BlamEditorInstanceField_Generic.h