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