Editor statusbar. More...
#include <statusbar.h>
Public Slots | |
| void | message (const QString &theMessage) |
| void | receiveInfoText (const QString &theMessage) |
| void | receiveWarnText (const QString &theMessage) |
Public Member Functions | |
| StatusBar (QWidget *parent=0, const char *name=0) | |
| ~StatusBar () | |
Private Slots | |
| void | timeOut () |
Private Member Functions | |
| void | normCol () |
| void | warnCol () |
Private Attributes | |
| QLabel * | info |
| QLabel * | msgLabel |
| QString | storedMsg |
| QTimer * | tm |
Editor statusbar.
Class representing statusbar.
The statusbar contain tho areas, large message area on left and smaller informative area on right.
| gui::StatusBar::StatusBar | ( | QWidget * | parent = 0, |
|
| const char * | name = 0 | |||
| ) |
| gui::StatusBar::~StatusBar | ( | ) |
default destructor
References tm.
| void gui::StatusBar::message | ( | const QString & | theMessage | ) | [slot] |
| void gui::StatusBar::normCol | ( | ) | [private] |
| void gui::StatusBar::receiveInfoText | ( | const QString & | theMessage | ) | [slot] |
Set text shown in informational widget (permanently, until replaced by other text)
| theMessage | new text |
References info.
| void gui::StatusBar::receiveWarnText | ( | const QString & | theMessage | ) | [slot] |
| void gui::StatusBar::timeOut | ( | ) | [private, slot] |
Slot handling time signal received from timer
References msgLabel, normCol(), and storedMsg.
Referenced by StatusBar().
| void gui::StatusBar::warnCol | ( | ) | [private] |
Set color scheme of message label to "Warning"
References info, and msgLabel.
Referenced by receiveWarnText().
QLabel* gui::StatusBar::info [private] |
Informational label on right
Referenced by normCol(), receiveInfoText(), StatusBar(), and warnCol().
QLabel* gui::StatusBar::msgLabel [private] |
Message label on left
Referenced by message(), normCol(), receiveWarnText(), StatusBar(), timeOut(), and warnCol().
QString gui::StatusBar::storedMsg [private] |
QTimer* gui::StatusBar::tm [private] |
Timer to watch for message timeouts
Referenced by receiveWarnText(), StatusBar(), and ~StatusBar().