Gui::CustomMessageEvent Class Reference

The CustomMessageEvent class is used to send messages as events in the methods Error(), Warning() and Message() of the StatusBarObserver class to the main window to display them on the status bar instead of printing them directly to the status bar. More...

Public Member Functions

 CustomMessageEvent (int t, const QString &s, int timeout=0)
 
const QString & message () const
 
int timeout () const
 
int type () const
 
 ~CustomMessageEvent ()
 

Detailed Description

The CustomMessageEvent class is used to send messages as events in the methods Error(), Warning() and Message() of the StatusBarObserver class to the main window to display them on the status bar instead of printing them directly to the status bar.

This makes the usage of StatusBarObserver thread-safe.

Author
Werner Mayer

Constructor & Destructor Documentation

◆ CustomMessageEvent()

Gui::CustomMessageEvent::CustomMessageEvent ( int  t,
const QString &  s,
int  timeout = 0 
)

◆ ~CustomMessageEvent()

Gui::CustomMessageEvent::~CustomMessageEvent ( )

Member Function Documentation

◆ message()

const QString & Gui::CustomMessageEvent::message ( ) const

◆ timeout()

int Gui::CustomMessageEvent::timeout ( ) const

◆ type()


The documentation for this class was generated from the following file: