Qt Virtual Chart Table (QVCT)
|
[UI] Overlay-specific URL label More...
#include <overlays/COverlayUrl.hpp>
Public Member Functions | |
COverlayUrl (QWidget *_pqParent=0) | |
COverlayUrl (const QString &_rqsText, QWidget *_pqParent=0) | |
COverlayUrl (const QString &_rqsText, const QString &_rqsLink, QWidget *_pqParent=0) | |
virtual | ~COverlayUrl () |
void | setText (const QString &_rqsText) |
virtual void | setText (const QString &_rqsText, bool _bInvalid) |
Sets the underlying QLabel's text. More... | |
virtual void | setText (const QString &_rqsText, const QString &_rqsLink, bool _bInvalid) |
Sets the underlying QLabel's text. More... | |
Public Member Functions inherited from COverlayText | |
COverlayText (QWidget *_pqParent=0) | |
COverlayText (const QString &_rqsText, QWidget *_pqParent=0) | |
virtual | ~COverlayText () |
void | setText (const QString &_rqsText) |
[override] QLabel::setText( const QString& ) More... | |
void | resetText () |
Resets (clears) the underlying QLabel's text. More... | |
const QString & | emptyString () |
Returns the string corresponding to undefined (empty) content ("n/a" in English) More... | |
QString | formatString (const QString &_rqsString) |
Returns the string properly formatted if it is undefined (empty) More... | |
[UI] Overlay-specific URL label
This class provides the widget that allows the display an URL and make it clickable if it is valid.
Definition at line 35 of file COverlayUrl.hpp.
COverlayUrl::COverlayUrl | ( | QWidget * | _pqParent = 0 | ) |
Definition at line 32 of file COverlayUrl.cpp.
COverlayUrl::COverlayUrl | ( | const QString & | _rqsText, |
QWidget * | _pqParent = 0 |
||
) |
Definition at line 36 of file COverlayUrl.cpp.
COverlayUrl::COverlayUrl | ( | const QString & | _rqsText, |
const QString & | _rqsLink, | ||
QWidget * | _pqParent = 0 |
||
) |
Definition at line 40 of file COverlayUrl.cpp.
|
inlinevirtual |
Definition at line 46 of file COverlayUrl.hpp.
void COverlayUrl::setText | ( | const QString & | _rqsText | ) |
Definition at line 51 of file COverlayUrl.cpp.
|
virtual |
Sets the underlying QLabel's text.
This methods sets the underlying QLabel's text. If the text is undefined (empty), it displays a graceful equivalent content instead ("n/a" in English). If the content is deemed invalid by the user, it is displayed using italic font.
Reimplemented from COverlayText.
Definition at line 65 of file COverlayUrl.cpp.
|
virtual |
Sets the underlying QLabel's text.
This methods sets the underlying QLabel's text and makes it clickable if the provided corresponding link is valid.
Definition at line 70 of file COverlayUrl.cpp.