|
| 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 () |
| This method should be redefined in the successor classes to do real work. More...
|
|
| SALOME_Event () |
| Constructor. More...
|
|
virtual | ~SALOME_Event () |
| Destructor. More...
|
|
void | ExecutePostedEvent () |
| This method should be called by the main GUI thread in order to execute the code specific for this event and finally to inform the calling thread that the event has been processed waking it up with help of the semaphore . More...
|
|
void | process () |
| Post the event and wait for its completion. process() should be called from a secondary thread only. More...
|
|
◆ TResult
◆ TCreateActionEvent()
TCreateActionEvent::TCreateActionEvent |
( |
const int |
id, |
|
|
const QString & |
menuText, |
|
|
const QString & |
tipText, |
|
|
const QString & |
statusText, |
|
|
const QString & |
icon, |
|
|
const int |
key, |
|
|
const bool |
toggle |
|
) |
| |
|
inline |
◆ Execute()
virtual void TCreateActionEvent::Execute |
( |
| ) |
|
|
inlinevirtual |
This method should be redefined in the successor classes to do real work.
Implements SALOME_Event.
References CAM_Module::action(), PyModuleHelper::connectAction(), CAM_Module::createAction(), myIcon, myId, myKey, myMenuText, myResult, myStatusText, myTipText, myToggle, and CAM_Module::name().
◆ myIcon
QString TCreateActionEvent::myIcon |
◆ myId
int TCreateActionEvent::myId |
◆ myKey
int TCreateActionEvent::myKey |
◆ myMenuText
QString TCreateActionEvent::myMenuText |
◆ myResult
TResult TCreateActionEvent::myResult |
◆ myStatusText
QString TCreateActionEvent::myStatusText |
◆ myTipText
QString TCreateActionEvent::myTipText |
◆ myToggle
bool TCreateActionEvent::myToggle |
The documentation for this class was generated from the following file: