BALL  1.4.79
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
pickingMode.h
Go to the documentation of this file.
1 #ifndef BALL_VIEW_KERNEL_MODES_PICKINGMODE_H
2 #define BALL_VIEW_KERNEL_MODES_PICKINGMODE_H
3 
5 
6 namespace BALL
7 {
8  namespace VIEW
9  {
10 
12  {
13  public:
14  PickingMode(Scene* scene);
15 
16  virtual void mouseDoubleClickEvent(QMouseEvent* evt);
17 
18  virtual Qt::Key getKey() const;
19  virtual QString getName() const { return "PickingMode"; }
20 
21  virtual void activate();
22  virtual void deactivate();
23 
24  protected:
28 
29  void pickParent_(const QPoint& p);
31  void selectObjects_();
32  virtual void mouseMoveEventImpl_(QMouseEvent* evt);
33  virtual void mousePressEventImpl_(QMouseEvent* evt);
34  virtual void mouseReleaseEventImpl_(QMouseEvent* evt);
35  };
36 
37  }
38 }
39 
40 #endif //BALL_VIEW_KERNEL_MODES_PICKINGMODE_H
virtual void deactivate()
virtual QString getName() const
Definition: pickingMode.h:19
virtual void mousePressEventImpl_(QMouseEvent *evt)
virtual void mouseDoubleClickEvent(QMouseEvent *evt)
virtual void activate()
virtual void mouseReleaseEventImpl_(QMouseEvent *evt)
virtual void mouseMoveEventImpl_(QMouseEvent *evt)
virtual Qt::Key getKey() const
void pickParent_(const QPoint &p)
PickingMode(Scene *scene)