Back to index

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

SalomePyQt::isModified() More...

Inheritance diagram for TIsModifiedEvent:
Inheritance graph
Collaboration diagram for TIsModifiedEvent:
Collaboration graph

List of all members.

Public Types

typedef bool TResult

Public Member Functions

 TIsModifiedEvent ()
virtual void Execute ()

Public Attributes

TResult myResult

Detailed Description


The modification status of the data model for the currently active Python module
See also:

Definition at line 623 of file SalomePyQt.cxx.

Member Typedef Documentation

Definition at line 626 of file SalomePyQt.cxx.

Constructor & Destructor Documentation

Definition at line 628 of file SalomePyQt.cxx.

: myResult( false ) {}

Member Function Documentation

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

Definition at line 629 of file SalomePyQt.cxx.

    SALOME_PYQT_ModuleLight* module = getActiveModule();
    if ( !module )
    SALOME_PYQT_DataModelLight* aModel =
      dynamic_cast<SALOME_PYQT_DataModelLight*>( module->dataModel() );
    if ( aModel )
      myResult = aModel->isModified();

Here is the call graph for this function:

Member Data Documentation

Definition at line 627 of file SalomePyQt.cxx.

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