Back to index

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

SalomePyQt::createObject(parent) Create empty data object. More...

Inheritance diagram for TCreateEmptyObjectEvent:
Inheritance graph
Collaboration diagram for TCreateEmptyObjectEvent:
Collaboration graph

List of all members.

Public Types

typedef QString TResult

Public Member Functions

 TCreateEmptyObjectEvent (const QString &parent)
virtual void Execute ()

Public Attributes

TResult myResult
QString myParent

Detailed Description

SalomePyQt::createObject(parent) Create empty data object.

Definition at line 2926 of file SalomePyQt.cxx.

Member Typedef Documentation

Definition at line 2928 of file SalomePyQt.cxx.

Constructor & Destructor Documentation

TCreateEmptyObjectEvent::TCreateEmptyObjectEvent ( const QString &  parent) [inline]

Definition at line 2931 of file SalomePyQt.cxx.

: myParent( parent ) {}

Member Function Documentation

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

Definition at line 2932 of file SalomePyQt.cxx.

    SALOME_PYQT_ModuleLight* module = getActiveModule();
    if ( module )
      myResult = (QString)module->createObject(myParent);

Here is the call graph for this function:

Member Data Documentation

Definition at line 2930 of file SalomePyQt.cxx.

Definition at line 2929 of file SalomePyQt.cxx.

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