#include <splashScreen.h>
|
| void | showMessage (const QString &message, int alignment=Qt::AlignLeft, const QColor &colour=Qt::black) |
| | Adds new message line in log.
|
| |
| void | clearMessage () |
| | Removes all messages being displayed in log.
|
| |
Splash screen with messages
| SplashScreen::SplashScreen |
( |
const QPixmap & |
pixmap = QPixmap(), |
|
|
int |
maxLines = 1, |
|
|
Qt::WindowFlags |
f = 0 |
|
) |
| |
Constructor.
- Parameters
-
| [in] | pixmap | - picture for window background |
| [in] | maxLines | - number of lines in boot log |
| [in] | f | - window flags |
| SplashScreen::SplashScreen |
( |
QWidget * |
parent, |
|
|
const QPixmap & |
pixmap = QPixmap(), |
|
|
int |
maxLines = 1, |
|
|
Qt::WindowFlags |
f = 0 |
|
) |
| |
Constructor.
- Parameters
-
| [in] | parent | - parent of widget |
| [in] | pixmap | - picture for window background |
| [in] | maxLines | - number of lines in boot log |
| [in] | f | - window flags |
| SplashScreen::~SplashScreen |
( |
| ) |
|
| void SplashScreen::clearMessage |
( |
| ) |
|
|
slot |
Removes all messages being displayed in log.
| int SplashScreen::maxLines |
( |
| ) |
|
Returns the maximal number of lines in log.
- Returns
- maxLns - maximal number of lines
| void SplashScreen::setMaxLines |
( |
int |
maxLines | ) |
|
Sets the maximal number of lines in log.
- Parameters
-
| [in] | maxLines | - number of lines in log |
| void SplashScreen::showMessage |
( |
const QString & |
message, |
|
|
int |
alignment = Qt::AlignLeft, |
|
|
const QColor & |
colour = Qt::black |
|
) |
| |
|
slot |
Adds new message line in log.
- Parameters
-
| [in] | message | - message text |
| [in] | alignment | - placement of log in window |
| [in] | color | - color used for protocol display |
The documentation for this class was generated from the following files: