Back to index

salome-paravis  6.5.0
Public Member Functions | Private Attributes
TEvent Class Reference

Put the message in the log window. More...

List of all members.

Public Member Functions

 TEvent (LogWindow *theWindow, const QString theMsg, const QColor theColor, const int flags)
virtual void Execute ()

Private Attributes

LogWindow * myWindow
QString myMsg
QColor myColor
int myFlags

Detailed Description

Put the message in the log window.

Definition at line 37 of file PVGUI_OutputWindowAdapter.cxx.


Constructor & Destructor Documentation

TEvent::TEvent ( LogWindow *  theWindow,
const QString  theMsg,
const QColor  theColor,
const int  flags 
) [inline]

Definition at line 43 of file PVGUI_OutputWindowAdapter.cxx.

                                                                                               :
    myWindow ( theWindow ),
    myMsg ( theMsg ),
    myColor ( theColor ),
    myFlags (flags)
  {}

Member Function Documentation

virtual void TEvent::Execute ( ) [inline, virtual]

Definition at line 50 of file PVGUI_OutputWindowAdapter.cxx.

                         {
    if(myWindow)
      myWindow->putMessage(myMsg, myColor, myFlags);
  }

Member Data Documentation

QColor TEvent::myColor [private]

Definition at line 40 of file PVGUI_OutputWindowAdapter.cxx.

int TEvent::myFlags [private]

Definition at line 41 of file PVGUI_OutputWindowAdapter.cxx.

QString TEvent::myMsg [private]

Definition at line 39 of file PVGUI_OutputWindowAdapter.cxx.

LogWindow* TEvent::myWindow [private]

Definition at line 38 of file PVGUI_OutputWindowAdapter.cxx.


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