Ocular Engine
ConsoleBox.hpp
1 
17 #pragma once
18 #ifndef __H__OCULAR_EDITOR_CONSOLE_BOX__H__
19 #define __H__OCULAR_EDITOR_CONSOLE_BOX__H__
20 
21 #include <QtWidgets/qgroupbox.h>
22 #include <QtWidgets/qtextedit.h>
23 
24 //------------------------------------------------------------------------------------------
25 
30 namespace Ocular
31 {
36  namespace Editor
37  {
38  class ConsoleText;
39 
44  class ConsoleBox : public QGroupBox
45  {
46  public:
47 
48  ConsoleBox(QWidget* parent = nullptr);
49  ~ConsoleBox();
50 
51  virtual QSize sizeHint() const override;
52 
53  ConsoleText* getConsoleText() const;
54 
55  protected:
56 
57  private:
58 
59  QVBoxLayout* m_Layout;
60  ConsoleText* m_ConsoleText;
61  };
62  }
66 }
71 //------------------------------------------------------------------------------------------
72 
73 #endif
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