OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
scenetool.hpp
Go to the documentation of this file.
1 #ifndef CSV_WIDGET_SCENETOOL_H
2 #define CSV_WIDGET_SCENETOOL_H
3 
4 #include "pushbutton.hpp"
5 
6 namespace CSVWidget
7 {
8  class SceneToolbar;
9 
11  class SceneTool : public PushButton
12  {
13  Q_OBJECT
14 
15  public:
16 
17  SceneTool (SceneToolbar *parent, Type type = Type_TopMode);
18 
19  virtual void showPanel (const QPoint& position) = 0;
20 
23  virtual void activate();
24 
25  protected:
26 
27  void mouseReleaseEvent (QMouseEvent *event);
28 
29  private slots:
30 
31  void openRequest();
32  };
33 }
34 
35 #endif
Type
Definition: pushbutton.hpp:19
SceneTool(SceneToolbar *parent, Type type=Type_TopMode)
Definition: scenetool.cpp:7
virtual void activate()
Definition: scenetool.cpp:17
Definition: pushbutton.hpp:21
Definition: pushbutton.hpp:13
void mouseReleaseEvent(QMouseEvent *event)
Definition: scenetool.cpp:19
virtual void showPanel(const QPoint &position)=0
Tool base class.
Definition: scenetool.hpp:11
void openRequest()
Definition: scenetool.cpp:27
Definition: scenetoolbar.hpp:12