Gui::UrlLabel Class Reference

A text label where a url can specified. More...

#include <Widgets.h>

List of all members.

Public Slots

void setUrl (const QString &u)

Public Member Functions

QString url () const
 UrlLabel (QWidget *parent=0, Qt::WFlags 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.

Author:
Werner Mayer

Definition at line 168 of file Widgets.h.


Constructor & Destructor Documentation

UrlLabel::UrlLabel ( QWidget *  parent = 0,
Qt::WFlags  f = 0 
)

Definition at line 426 of file Widgets.cpp.

UrlLabel::~UrlLabel (  )  [virtual]

Definition at line 433 of file Widgets.cpp.


Member Function Documentation

void UrlLabel::enterEvent ( QEvent *   )  [protected]

Definition at line 437 of file Widgets.cpp.

void UrlLabel::leaveEvent ( QEvent *   )  [protected]

Definition at line 442 of file Widgets.cpp.

void UrlLabel::mouseReleaseEvent ( QMouseEvent *   )  [protected]

Definition at line 447 of file Widgets.cpp.

References result.

void UrlLabel::setUrl ( const QString &  u  )  [slot]

Definition at line 472 of file Widgets.cpp.

Referenced by Gui::Dialog::AboutDialog::setupLabels().

QString Gui::UrlLabel::url (  )  const

Property Documentation

QString UrlLabel::url [read, write]

Definition at line 171 of file Widgets.h.


The documentation for this class was generated from the following files:

Generated on Wed Nov 23 19:02:04 2011 for FreeCAD by  doxygen 1.6.1