Aquila  2.0 prealpha
Cognitive Robotics Architecture
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Slots | Public Member Functions | List of all members
SplashScreen Class Reference

#include <splashScreen.h>

Inheritance diagram for SplashScreen:

Public Slots

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.
 

Public Member Functions

 SplashScreen (const QPixmap &pixmap=QPixmap(), int maxLines=1, Qt::WindowFlags f=0)
 Constructor.
 
 SplashScreen (QWidget *parent, const QPixmap &pixmap=QPixmap(), int maxLines=1, Qt::WindowFlags f=0)
 Constructor.
 
 ~SplashScreen ()
 Destructor.
 
void setMaxLines (int maxLines)
 Sets the maximal number of lines in log.
 
int maxLines ()
 Returns the maximal number of lines in log.
 

Detailed Description

Splash screen with messages

Constructor & Destructor Documentation

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 ( )

Destructor.

Member Function Documentation

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: