18 #ifndef __H__OCULAR_EDITOR_MESH_RENDERABLE_DISPLAY_MATERIAL__H__
19 #define __H__OCULAR_EDITOR_MESH_RENDERABLE_DISPLAY_MATERIAL__H__
21 #include <QtWidgets/qframe.h>
22 #include <QtWidgets/qboxlayout.h>
23 #include <QtWidgets/qlabel.h>
45 class ButtonResourceBrowse;
54 virtual QSize sizeHint()
const override;
66 void setMaterialMapping(std::string
const& material);
71 std::string
const& getMaterialMapping()
const;
76 uint32_t getMaterialIndex()
const;
82 void createLeftSide();
83 void createRightSide();
88 QFrame* m_FrameLeftSide;
89 QFrame* m_FrameRightSide;
91 QHBoxLayout* m_Layout;
92 QHBoxLayout* m_LayoutLeft;
93 QHBoxLayout* m_LayoutRight;
100 std::string m_Material;
101 uint32_t m_MaterialIndex;
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
Definition: MeshRenderableDisplayMaterial.hpp:47
bool wasEdited()
Definition: MeshRenderableDisplayMaterial.cpp:61
Definition: LineEdit.hpp:56