18 #ifndef __H__OCULAR_EDITOR_MATERIAL_PROPERTIES_PANEL__H__
19 #define __H__OCULAR_EDITOR_MATERIAL_PROPERTIES_PANEL__H__
21 #include <QtWidgets/qframe.h>
23 #include "Graphics/Material/Material.hpp"
24 #include "Events/AEventListener.hpp"
41 class MaterialPropertiesDisplayBox;
55 virtual QSize sizeHint()
const override;
57 void setMaterial(std::string
const& mapping);
62 virtual bool onEvent(std::shared_ptr<Core::AEvent> event)
override;
64 void buildBaseWidgets();
65 void updateProperties();
72 std::string m_MaterialMapping;
74 QVBoxLayout* m_LayoutMain;
Definition: MaterialPropertiesDisplayBox.hpp:41
Definition: MaterialPropertiesPanel.hpp:46
Definition: AEventListener.hpp:43
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
Definition: Material.hpp:62