Subclass of QLabel
that allows having a title and subtitle within the label.
More...
#include <mainwindow.h>
|
| Label (QWidget *parent=0) |
|
| Label (const QString &title, QWidget *parent=0) |
|
| Label (const QString &title, const QString &subtitle, QWidget *parent=0) |
|
void | setText (const QString &title) |
|
void | setText (const QString &title, const QString &subtitle) |
|
void | paintEvent (QPaintEvent *p) |
|
Subclass of QLabel
that allows having a title and subtitle within the label.
◆ Label() [1/3]
GUI::Label::Label |
( |
QWidget * |
parent = 0 | ) |
|
|
explicit |
◆ Label() [2/3]
GUI::Label::Label |
( |
const QString & |
title, |
|
|
QWidget * |
parent = 0 |
|
) |
| |
|
explicit |
◆ Label() [3/3]
GUI::Label::Label |
( |
const QString & |
title, |
|
|
const QString & |
subtitle, |
|
|
QWidget * |
parent = 0 |
|
) |
| |
◆ paintEvent()
void GUI::Label::paintEvent |
( |
QPaintEvent * |
p | ) |
|
◆ setText() [1/2]
void GUI::Label::setText |
( |
const QString & |
title | ) |
|
◆ setText() [2/2]
void GUI::Label::setText |
( |
const QString & |
title, |
|
|
const QString & |
subtitle |
|
) |
| |
The documentation for this class was generated from the following files: