Back to index

salome-gui  6.5.0
Public Types | Public Member Functions | Public Attributes
TCreateActionEvent Class Reference
Inheritance diagram for TCreateActionEvent:
Inheritance graph
[legend]
Collaboration diagram for TCreateActionEvent:
Collaboration graph
[legend]

List of all members.

Public Types

typedef QAction * TResult

Public Member Functions

 TCreateActionEvent (const int id, const QString &menuText, const QString &tipText, const QString &statusText, const QString &icon, const int key, const bool toggle)
virtual void Execute ()

Public Attributes

TResult myResult
int myId
QString myMenuText
QString myTipText
QString myStatusText
QString myIcon
int myKey
bool myToggle

Detailed Description

Definition at line 1853 of file SalomePyQt.cxx.


Member Typedef Documentation

typedef QAction* TCreateActionEvent::TResult

Definition at line 1856 of file SalomePyQt.cxx.


Constructor & Destructor Documentation

TCreateActionEvent::TCreateActionEvent ( const int  id,
const QString &  menuText,
const QString &  tipText,
const QString &  statusText,
const QString &  icon,
const int  key,
const bool  toggle 
) [inline]

Definition at line 1865 of file SalomePyQt.cxx.

    : myResult( 0 ), myId( id ), myMenuText( menuText ), myTipText( tipText ),
      myStatusText( statusText ), myIcon( icon ), myKey( key ), myToggle( toggle ) {}

Member Function Documentation

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

Definition at line 1869 of file SalomePyQt.cxx.

  {
    SALOME_PYQT_ModuleLight* module = getActiveModule();
    if ( module )
      myResult = (QAction*)module->createAction( myId, myTipText, myIcon, myMenuText, myStatusText, myKey, myToggle );
  }

Here is the call graph for this function:


Member Data Documentation

Definition at line 1862 of file SalomePyQt.cxx.

Definition at line 1858 of file SalomePyQt.cxx.

Definition at line 1863 of file SalomePyQt.cxx.

Definition at line 1859 of file SalomePyQt.cxx.

Definition at line 1857 of file SalomePyQt.cxx.

Definition at line 1861 of file SalomePyQt.cxx.

Definition at line 1860 of file SalomePyQt.cxx.

Definition at line 1864 of file SalomePyQt.cxx.


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