VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtUrlLabel.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2011 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: DtUrlLabel.h,v $ $Revision: 1.22 $ $State: Exp $
7 *******************************************************************************/
8 
12 
13 #pragma once
14 
15 #include <vrvCoreQt/vrvCoreQt.h>
16 
17 #include <QtWidgets/QLabel>
18 
19 namespace makVrv
20 {
25  {
26  public:
28  DtUrlLabel( QWidget* parent=0, Qt::WindowFlags f=0 );
29 
31  virtual ~DtUrlLabel();
32 
34  virtual void setUrl( const QString& url );
35 
37  virtual QString url() const;
38 
39  protected:
42  virtual void mouseReleaseEvent( QMouseEvent* ev );
43 
44  protected:
45  QString myUrl;
46  };
47 }
QLabel that can act as a hyperlink, independent of its content.
Definition: DtUrlLabel.h:24
QString myUrl
Definition: DtUrlLabel.h:45
#define DT_DLL_VRVCOREQT
Definition: vrvCoreQt.h:20
Contains DLL export macros.

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)