Ocular Engine
RenderFrame.hpp
1 
17 #pragma once
18 #ifndef __H__OCULAR_EDITOR_RENDER_FRAME__H__
19 #define __H__OCULAR_EDITOR_RENDER_FRAME__H__
20 
21 #include <QtWidgets/qframe.h>
22 
23 //------------------------------------------------------------------------------------------
24 
29 namespace Ocular
30 {
35  namespace Editor
36  {
41  class RenderFrame : public QFrame
42  {
43  public:
44 
45  RenderFrame(QWidget* parent = nullptr);
46  ~RenderFrame();
47 
48  virtual QSize sizeHint() const override;
49 
50  virtual void keyPressEvent(QKeyEvent* event) override;
51  virtual void keyReleaseEvent(QKeyEvent* event) override;
52  virtual void mouseMoveEvent(QMouseEvent* event) override;
53  virtual void mousePressEvent(QMouseEvent* event) override;
54  virtual void mouseReleaseEvent(QMouseEvent* event) override;
55  virtual void wheelEvent(QWheelEvent* event) override;
56  virtual void resizeEvent(QResizeEvent* event) override;
57 
58  protected:
59 
60  private:
61 
62  };
63  }
67 }
72 //------------------------------------------------------------------------------------------
73 
74 #endif
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
Definition: RenderFrame.hpp:41