Back to index

salome-gui  6.5.0
Public Member Functions | Public Attributes
TSetColorEvent Class Reference

SalomePyQt::setColor(obj,color) Set object color. More...

Inheritance diagram for TSetColorEvent:
Inheritance graph
[legend]
Collaboration diagram for TSetColorEvent:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 TSetColorEvent (const QString &obj, const QColor &color)
virtual void Execute ()

Public Attributes

QString myObj
QColor myColor

Detailed Description

SalomePyQt::setColor(obj,color) Set object color.

Definition at line 3076 of file SalomePyQt.cxx.


Constructor & Destructor Documentation

TSetColorEvent::TSetColorEvent ( const QString &  obj,
const QColor &  color 
) [inline]

Definition at line 3081 of file SalomePyQt.cxx.

                                     : myObj(obj),
                                    myColor(color) {}

Member Function Documentation

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

Definition at line 3084 of file SalomePyQt.cxx.

                         {
    SALOME_PYQT_ModuleLight* module = getActiveModule();
    if ( module )
      module->setColor(myObj,myColor);
  }

Here is the call graph for this function:


Member Data Documentation

Definition at line 3080 of file SalomePyQt.cxx.

Definition at line 3079 of file SalomePyQt.cxx.


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