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) 2017 VT MAK
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include "rtiMsConfig.h"
13 #include <QLabel>
14 
16 class DtClickableLabel : public QLabel
17 {
18  Q_OBJECT
19 
20 public:
21 
23 
24  DtClickableLabel( QWidget* parent = 0, Qt::WindowFlags f = 0 );
25  DtClickableLabel( const QString& text, QWidget* parent = 0, Qt::WindowFlags f = 0 );
27 
30 
31 signals:
32 
34  void clicked();
35 
37  void doubleClicked();
38 
39 protected:
40 
42  void mouseReleaseEvent( QMouseEvent* event );
43 
45  void mouseDoubleClickEvent( QMouseEvent* event );
46 
47 };

Document ID: Generated on Fri Sep 27 00:57:56 EDT 2019 from SVN revision 201708
Copyright © 2005-2018 VT MÄK Inc. All Rights Reserved (www.mak.com)