Back to index

salome-gui  6.5.0
Public Types | Public Member Functions | Public Attributes
TCreateObjectEvent Class Reference

SalomePyQt::createObject( name, icon, tooltip, parent ) Create data object with name, icon and tooltip. More...

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

List of all members.

Public Types

typedef QString TResult

Public Member Functions

 TCreateObjectEvent (const QString &name, const QString &iconname, const QString &tooltip, const QString &parent)
virtual void Execute ()

Public Attributes

TResult myResult
QString myParent
QString myName
QString myIconName
QString myToolTip

Detailed Description

SalomePyQt::createObject( name, icon, tooltip, parent ) Create data object with name, icon and tooltip.

Definition at line 2947 of file SalomePyQt.cxx.


Member Typedef Documentation

typedef QString TCreateObjectEvent::TResult

Definition at line 2949 of file SalomePyQt.cxx.


Constructor & Destructor Documentation

TCreateObjectEvent::TCreateObjectEvent ( const QString &  name,
const QString &  iconname,
const QString &  tooltip,
const QString &  parent 
) [inline]

Definition at line 2955 of file SalomePyQt.cxx.

                                            : myName(name),
                                              myIconName(iconname),
                                              myToolTip(tooltip),
                                              myParent( parent ){}

Member Function Documentation

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

Definition at line 2962 of file SalomePyQt.cxx.

                         {
    SALOME_PYQT_ModuleLight* module = getActiveModule();
    if ( module )
      myResult = (QString)module->createObject(myName, myIconName,
                                               myToolTip, myParent);
  }

Here is the call graph for this function:


Member Data Documentation

Definition at line 2953 of file SalomePyQt.cxx.

Definition at line 2952 of file SalomePyQt.cxx.

Definition at line 2951 of file SalomePyQt.cxx.

Definition at line 2950 of file SalomePyQt.cxx.

Definition at line 2954 of file SalomePyQt.cxx.


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