Ocular Engine
ContentFrame.hpp
1 
17 #pragma once
18 #ifndef __H__OCULAR_EDITOR_CONTENT_FRAME__H__
19 #define __H__OCULAR_EDITOR_CONTENT_FRAME__H__
20 
21 #include <QtWidgets/qframe.h>
22 
23 //------------------------------------------------------------------------------------------
24 
29 namespace Ocular
30 {
35  namespace Editor
36  {
37  class RenderFrame;
38  class SceneFrame;
39  class DetailsFrame;
40  class PropertiesPanel;
41 
46  class ContentFrame : public QFrame
47  {
48  public:
49 
50  ContentFrame(QWidget* parent = nullptr);
51  ~ContentFrame();
52 
53  virtual QSize sizeHint() const override;
54 
55  void update();
56 
57  PropertiesPanel* getPropertiesPanel() const;
58  SceneFrame* getSceneFrame() const;
59 
60  protected:
61 
62  private:
63 
64  QHBoxLayout* m_LayoutContent;
65  QSplitter* m_pSplitter;
66 
67  RenderFrame* m_RenderFrame;
68  SceneFrame* m_SceneFrame;
69  DetailsFrame* m_DetailsFrame;
70  };
71  }
75 }
80 //------------------------------------------------------------------------------------------
81 
82 #endif
Definition: SceneFrame.hpp:51
Definition: DetailsFrame.hpp:44
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
Definition: RenderFrame.hpp:41
Definition: PropertiesPanel.hpp:46
Definition: ContentFrame.hpp:46