VR-Forces Developer's Guide
 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 
9 
10 #pragma once
11 
12 #include <vrvCoreQt/vrvCoreQt.h>
13 
14 #include <QtWidgets/QLabel>
15 
16 namespace makVrv
17 {
22  {
23  public:
25  DtUrlLabel( QWidget* parent=0, Qt::WindowFlags f=0 );
26 
28  virtual ~DtUrlLabel();
29 
31  virtual void setUrl( const QString& url );
32 
34  virtual QString url() const;
35 
36  protected:
39  virtual void mouseReleaseEvent( QMouseEvent* ev );
40 
41  protected:
42  QString myUrl;
43  };
44 }
QLabel that can act as a hyperlink, independent of its content.
Definition: DtUrlLabel.h:21
QString myUrl
Definition: DtUrlLabel.h:42
#define DT_DLL_VRVCOREQT
Definition: vrvCoreQt.h:20
Contains DLL export macros.

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)