List of all members |
Public Slots |
Public Member Functions |
Protected Member Functions |
Properties
Gui::UrlLabel Class Reference
A text label where a url can specified. More...
#include <Widgets.h>
Public Slots | |
void | setUrl (const QString &u) |
Public Member Functions | |
QString | url () const |
UrlLabel (QWidget *parent=0, Qt::WindowFlags f=0) | |
virtual | ~UrlLabel () |
Protected Member Functions | |
void | enterEvent (QEvent *) |
void | leaveEvent (QEvent *) |
void | mouseReleaseEvent (QMouseEvent *) |
Properties | |
QString | url |
Detailed Description
A text label where a url can specified.
When the user clicks on the text label the system browser gets opened with the specified url.
This can be used for e.g. in the about dialog where the url of the maintainer of an application can be specified.
Constructor & Destructor Documentation
◆ UrlLabel()
UrlLabel::UrlLabel | ( | QWidget * | parent = 0 , |
Qt::WindowFlags | f = 0 |
||
) |
◆ ~UrlLabel()
|
virtual |
Member Function Documentation
◆ enterEvent()
|
protected |
◆ leaveEvent()
|
protected |
◆ mouseReleaseEvent()
|
protected |
◆ setUrl
|
slot |
◆ url()
QString Gui::UrlLabel::url | ( | ) | const |
Property Documentation
◆ url
|
readwrite |
The documentation for this class was generated from the following files:
- src/Gui/Widgets.h
- src/Gui/Widgets.cpp