MAK Data Logger API Documentation for HLA
dragComponent.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
9 #ifndef dragComponent_H_
10 #define dragComponent_H_
11 
12 #include "lgrGui.h"
13 #include <QtCore/QPoint>
14 
15 class QMouseEvent;
16 
17 namespace MAKLogger
18 {
19 
22  {
23  public:
24 
27 
29  virtual ~DtDragComponent();
30 
32  void registerMousePress(const QMouseEvent& e);
33 
35  void registerMouseRelease(const QMouseEvent& e);
36 
38  void registerMouseMove(const QMouseEvent& e);
39 
41  QPoint absolutePosition() const;
42 
45  QPoint relativePosition() const;
46 
48  QPoint relativeVelocity() const;
49 
51  bool currentlyDragging() const;
52 
53  protected:
57 
58  bool myDownFlag;
59  };
60 
61 }
62 
63 #endif

Document ID: Generated on Thu Apr 11 12:13:00 EDT 2013 from SVN revision 126011
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)