MAK Data Logger API Documentation for HLA
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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/lgrGui.h>
13 #include <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 Wed Jun 5 18:45:18 EDT 2019 from SVN revision 198968
Copyright © 2019 VT MAK. All Rights Reserved (www.mak.com)