Back to index

salome-gui  6.5.0
Public Types | Public Member Functions | Public Attributes
TCreateMenuEvent Class Reference
Inheritance diagram for TCreateMenuEvent:
Inheritance graph
Collaboration diagram for TCreateMenuEvent:
Collaboration graph

List of all members.

Public Types

typedef int TResult

Public Member Functions

 TCreateMenuEvent (const CrMenu &crMenu)
virtual void Execute ()

Public Attributes

TResult myResult
const CrMenumyCrMenu

Detailed Description

Definition at line 1711 of file SalomePyQt.cxx.

Member Typedef Documentation

Definition at line 1714 of file SalomePyQt.cxx.

Constructor & Destructor Documentation

TCreateMenuEvent::TCreateMenuEvent ( const CrMenu crMenu) [inline]

Definition at line 1717 of file SalomePyQt.cxx.

    : myResult( -1 ), myCrMenu( crMenu ) {}

Member Function Documentation

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

Definition at line 1719 of file SalomePyQt.cxx.

    if ( LightApp_Application* anApp = getApplication() ) 
        LightApp_Module* module = dynamic_cast<LightApp_Module*>( anApp->activeModule() );
        if ( module )
          myResult = myCrMenu.execute( module );

Here is the call graph for this function:

Member Data Documentation

Definition at line 1716 of file SalomePyQt.cxx.

Definition at line 1715 of file SalomePyQt.cxx.

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