18 #ifndef __H__OCULAR_EDITOR_PROPERTIES_DISPLAY_BOX__H__
19 #define __H__OCULAR_EDITOR_PROPERTIES_DISPLAY_BOX__H__
22 #include <QtWidgets/qgroupbox.h>
23 #include <QtWidgets/qboxlayout.h>
25 #include "Scene/SceneObject.hpp"
41 class PropertiesDisplayTitleBar;
50 PropertiesDisplayBox(std::string
const& displayName,
bool canMinimize =
true,
bool canClose =
false, QWidget* parent =
nullptr);
53 virtual QSize sizeHint()
const override;
57 void setTitle(std::string
const& title);
60 virtual void updateProperties() = 0;
65 void buildTitleBar(std::string
const& displayName,
bool canMinimize,
bool canClsoe);
69 QVBoxLayout* m_Layout;
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
Definition: SceneObject.hpp:93
Definition: PropertiesDisplayBox.hpp:46
Definition: PropertiesDisplayTitleBar.hpp:44