Base class for all salome modules.
|
| SalomeApp_Module (const QString &) |
|
virtual | ~SalomeApp_Module () |
|
virtual QString | engineIOR () const =0 |
|
SalomeApp_Application * | getApp () const |
|
virtual void | storeVisualParameters (int savePoint) |
| Virtual public. More...
|
|
virtual void | restoreVisualParameters (int savePoint) |
| Virtual public. More...
|
|
virtual LightApp_Selection * | createSelection () const |
|
| LightApp_Module (const QString &) |
|
virtual | ~LightApp_Module () |
|
virtual void | initialize (CAM_Application *) |
|
virtual void | windows (QMap< int, int > &) const |
|
virtual void | viewManagers (QStringList &) const |
|
virtual void | contextMenuPopup (const QString &, QMenu *, QString &) |
|
virtual void | createPreferences () |
|
LightApp_Application * | getApp () const |
|
virtual void | update (const int) |
| Update something in accordance with update flags. More...
|
|
virtual void | updateObjBrowser (bool=true, SUIT_DataObject *=0) |
|
virtual void | selectionChanged () |
|
virtual void | preferencesChanged (const QString &, const QString &) |
|
virtual void | message (const QString &) |
|
virtual void | studyActivated () |
|
virtual LightApp_Displayer * | displayer () |
|
virtual bool | canCopy () const |
|
virtual bool | canPaste () const |
|
virtual bool | isDraggable (const SUIT_DataObject *) const |
|
virtual bool | isDropAccepted (const SUIT_DataObject *) const |
|
virtual void | dropObjects (const DataObjectList &, SUIT_DataObject *, const int, Qt::DropAction) |
|
virtual void | copy () |
| Copies the current selection into clipboard. More...
|
|
virtual void | paste () |
| Pastes the current data in the clipboard. More...
|
|
virtual bool | renameAllowed (const QString &) const |
| Return true if object can be renamed. More...
|
|
virtual bool | renameObject (const QString &, const QString &) |
| Return true if rename operation finished successfully, false otherwise. More...
|
|
virtual void | updateModuleVisibilityState () |
|
| CAM_Module () |
| Default constructor. More...
|
|
| CAM_Module (const QString &) |
| Constructor. More...
|
|
virtual | ~CAM_Module () |
| Destructor. More...
|
|
QString | name () const |
| Get module (internal) name. More...
|
|
QString | moduleName () const |
| Get module title (user name) More...
|
|
virtual QPixmap | moduleIcon () const |
| Get module icon. More...
|
|
virtual QString | iconName () const |
| Get module icon's name. More...
|
|
CAM_DataModel * | dataModel () const |
| Get data model. More...
|
|
CAM_Application * | application () const |
| Get application. More...
|
|
virtual void | updateCommandsStatus () |
| Update menu/toolbar actions. More...
|
|
virtual void | putInfo (const QString &, const int=-1) |
| Put the text message into the status bar of the application main window. More...
|
|
bool | isActiveModule () const |
| Check if the module is active. More...
|
|
virtual void | setMenuShown (const bool) |
| Show/hide all module's menus. More...
|
|
void | setMenuShown (QAction *, const bool) |
| Show/hide specified menu item. More...
|
|
void | setMenuShown (const int, const bool) |
| Show/hide specified menu item. More...
|
|
virtual void | setToolShown (const bool) |
| Show/hide all module's toolbars. More...
|
|
void | setToolShown (QAction *, const bool) |
| Show/hide specified toolbar item. More...
|
|
void | setToolShown (const int, const bool) |
| Show/hide specified toolbar item. More...
|
|
virtual bool | activateOperation (int actionId) |
| Activate GUI operation of module by its ID. This method is called from CAM_Application::startOperation(). More...
|
|
virtual bool | activateOperation (const QString &actionId) |
| Activate GUI operation of module by its ID. This method is called from CAM_Application::startOperation(). More...
|
|
virtual bool | activateOperation (const QString &actionId, const QString &pluginName) |
| Activate GUI operation of module by its ID and pluginName. This method is called from CAM_Application::startOperation(). More...
|
|
QtxActionMenuMgr * | menuMgr () const |
| Get menu manager. More...
|
|
QtxActionToolMgr * | toolMgr () const |
| Get toolbar manager. More...
|
|
virtual QAction * | action (const int) const |
| Get action by specified id. More...
|
|
virtual int | actionId (const QAction *) const |
| Get action ID. More...
|
|
virtual QAction * | createAction (const int, const QString &, const QIcon &, const QString &, const QString &, const int, QObject *=0, const bool=false, QObject *=0, const char *=0, const QString &=QString()) |
| Create new instance of QtxAction and register action with specified id. More...
|
|
virtual QAction * | createAction (const int, const QString &, const QIcon &, const QString &, const QString &, const QKeySequence &, QObject *=0, const bool=false, QObject *=0, const char *=0, const QString &=QString()) |
| Create new instance of QtxAction and register action with specified id. More...
|
|
QtxActionGroup * | createActionGroup (const int, const bool=true) |
| Create new action group. More...
|
|
int | createTool (const QString &, const QString &=QString()) |
| Create toolbar with speicifed name. More...
|
|
int | createTool (const int, const int, const int=-1) |
| Add toolbar item. More...
|
|
int | createTool (const int, const QString &, const int=-1) |
| Add toolbar item. More...
|
|
int | createTool (QAction *, const int, const int=-1, const int=-1) |
| Add toolbar item. More...
|
|
int | createTool (QAction *, const QString &, const int=-1, const int=-1) |
| Add toolbar item. More...
|
|
int | createMenu (const QString &, const int, const int=-1, const int=-1, const int=-1, QMenu *=0) |
| Create menu or submenu. More...
|
|
int | createMenu (const QString &, const QString &, const int=-1, const int=-1, const int=-1) |
| Create menu or submenu. More...
|
|
int | createMenu (const int, const int, const int=-1, const int=-1) |
| Add menu item. More...
|
|
int | createMenu (const int, const QString &, const int=-1, const int=-1) |
| Add menu item. More...
|
|
int | createMenu (QAction *, const int, const int=-1, const int=-1, const int=-1) |
| Add menu item. More...
|
|
int | createMenu (QAction *, const QString &, const int=-1, const int=-1, const int=-1) |
| Add menu item. More...
|
|
|
virtual CAM_DataModel * | createDataModel () |
|
virtual void | extractContainers (const SALOME_ListIO &, SALOME_ListIO &) const |
|
virtual QtxPopupMgr * | popupMgr () |
|
LightApp_Preferences * | preferences () const |
|
virtual bool | reusableOperation (const int id) |
|
int | addPreference (const QString &label) |
|
int | addPreference (const QString &label, const int pId, const int type=LightApp_Preferences::Auto, const QString §ion=QString(), const QString ¶m=QString()) |
|
QVariant | preferenceProperty (const int, const QString &) const |
|
void | setPreferenceProperty (const int, const QString &, const QVariant &) |
|
void | startOperation (const int) |
| Starts operation with given identifier. More...
|
|
virtual LightApp_Operation * | createOperation (const int) const |
| Creates operation with given identifier. More...
|
|
virtual void | updateControls () |
| Updates controls. More...
|
|
virtual bool | isSelectionCompatible () |
| If return false, selection will be cleared at module activation. More...
|
|
LightApp_Operation * | operation (const int) const |
| Returns instance of operation by its id; if there is no operation corresponding to this id, null pointer is returned. More...
|
|
void | setName (const QString &) |
| Set module (internal) name. More...
|
|
virtual void | setModuleName (const QString &) |
| Set module title (user name) More...
|
|
int | registerAction (const int, QAction *) |
| Register action in the internal action map. More...
|
|
bool | unregisterAction (const int) |
| Unregister action from the internal action map. More...
|
|
bool | unregisterAction (QAction *) |
| Unregister action from the internal action map. More...
|
|
virtual bool | abortAllOperations () |
|