MAK RTIspy API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
clickableLabel.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2012 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 
6 #ifndef clickableLabel_H_
7 #define clickableLabel_H_
8 
9 #include "rtiMsConfig.h"
10 #include <QtGui/QLabel>
11 
13 class DtClickableLabel : public QLabel
14 {
15  Q_OBJECT
16 
17 public:
18 
20 
21  DtClickableLabel( QWidget* parent = 0, Qt::WindowFlags f = 0 );
22  DtClickableLabel( const QString& text, QWidget* parent = 0, Qt::WindowFlags f = 0 );
24 
27 
28 signals:
29 
31  void clicked();
32 
34  void doubleClicked();
35 
36 protected:
37 
39  void mouseReleaseEvent( QMouseEvent* event );
40 
42  void mouseDoubleClickEvent( QMouseEvent* event );
43 
44 };
45 
46 #endif

Document ID: Generated on Mon Mar 21 09:41:37 EDT 2016 from SVN revision 163228
Copyright © 2005-2015 VT MÄK Inc. All Rights Reserved (www.mak.com)