Ocular Engine
SceneFrame.hpp
1 
17 #pragma once
18 #ifndef __H__OCULAR_EDITOR_SCENE_FRAME__H__
19 #define __H__OCULAR_EDITOR_SCENE_FRAME__H__
20 
21 #include <QtWidgets/qframe.h>
22 #include <QtWidgets/qgroupbox.h>
23 
24 //------------------------------------------------------------------------------------------
25 
30 namespace Ocular
31 {
36  namespace Editor
37  {
38  class SceneBox;
39  class ConsoleBox;
40 
41  class SceneTree;
42  class ConsoleText;
43 
51  class SceneFrame : public QFrame
52  {
53  public:
54 
55  SceneFrame(QWidget* parent = nullptr);
56  ~SceneFrame();
57 
58  virtual QSize sizeHint() const override;
59 
60  void update();
61 
62  SceneTree* getSceneTree() const;
63  ConsoleText* getConsoleText() const;
64 
65  protected:
66 
67  private:
68 
69  QVBoxLayout* m_Layout;
70  QSplitter* m_Splitter;
71 
72  SceneBox* m_SceneBox;
73  ConsoleBox* m_ConsoleBox;
74  };
75  }
79 }
84 //------------------------------------------------------------------------------------------
85 
86 #endif
Definition: SceneFrame.hpp:51
Definition: SceneBox.hpp:43
Definition: ConsoleBox.hpp:44
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
Definition: ConsoleText.hpp:42
Definition: SceneTree.hpp:44