|
hydrogen 1.1.1
|
#include <InfoBar.h>
Public Member Functions | |
| InfoBar (QWidget *parent=Q_NULLPTR) | |
| void | setTitle (const QString &text) |
| void | setText (const QString &text) |
| QPushButton * | addButton (const QString &label) |
| void | reset () |
Private Member Functions | |
| void | setBackgroundColor () |
| void | createLayout () |
| void | createIcon () |
| void | createLabel () |
| void | createCloseButton () |
| void | updateText () |
Private Attributes | |
| QHBoxLayout * | m_pLayout |
| QLabel * | m_pLabel |
| QString | m_sTitle |
| QString | m_sText |
| std::vector< QPushButton * > | m_buttons |
| InfoBar | ( | QWidget * | parent = Q_NULLPTR | ) |
| QPushButton * addButton | ( | const QString & | label | ) |
|
private |
|
private |
|
private |
|
private |
| void reset | ( | ) |
|
private |
| void setText | ( | const QString & | text | ) |
| void setTitle | ( | const QString & | text | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |