#include <SalomeApp_Application_SL.h>

Public Member Functions | |
| SalomeApp_Application_SL () | |
Public Member Functions inherited from SalomeApp_Application | |
| SalomeApp_Application (SALOME_NamingService_Abstract *ns=nullptr) | |
| virtual | ~SalomeApp_Application () |
| virtual void | updateObjectBrowser (const bool=true) |
| virtual void | start () |
| virtual void | contextMenuPopup (const QString &, QMenu *, QString &) |
| virtual bool | checkDataObject (LightApp_DataObject *theObj) |
| virtual bool | checkExistingDoc () |
| SUIT_ViewManager * | newViewManager (const QString &) |
| void | updateSavePointDataObjects (SalomeApp_Study *) |
| virtual bool | isPossibleToClose (bool &) |
| virtual bool | useStudy (const QString &) |
| virtual void | updateDesktopTitle () |
| virtual void | setNoteBook (SalomeApp_NoteBook *theNoteBook) |
| virtual SalomeApp_NoteBook * | getNoteBook () const |
| 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... | |
Public Member Functions inherited from LightApp_Application | |
| LightApp_Application () | |
| virtual | ~LightApp_Application () |
| virtual QString | applicationName () const |
| virtual QString | applicationVersion () const |
| virtual CAM_Module * | loadModule (const QString &, const bool=true) |
| virtual bool | activateModule (const QString &) |
| LightApp_SelectionMgr * | selectionMgr () const |
| LogWindow * | logWindow () |
| SUIT_DataBrowser * | objectBrowser () |
| QtxInfoPanel * | infoPanel () |
| PyConsole_Console * | pythonConsole (const bool force=false) |
| LightApp_Preferences * | preferences () const |
| virtual QString | getFileFilter (bool) const |
| virtual QString | getFileName (bool open, const QString &initial, const QString &filters, const QString &caption, QWidget *parent) |
| virtual QString | getDirectory (const QString &initial, const QString &caption, QWidget *parent) |
| virtual QStringList | getOpenFileNames (const QString &initial, const QString &filters, const QString &caption, QWidget *parent) |
| void | updateActions () |
| SUIT_ViewManager * | getViewManager (const QString &, const bool) |
| virtual void | addViewManager (SUIT_ViewManager *) |
| virtual void | removeViewManager (SUIT_ViewManager *) |
| virtual SUIT_ViewManager * | createViewManager (const QString &vmType, bool detached=false) |
| virtual SUIT_ViewManager * | createViewManager (const QString &vmType, QWidget *w) |
| virtual SUIT_ViewManager * | createViewManager (SUIT_ViewModel *) |
| QWidget * | getWindow (const int) |
| QWidget * | dockWindow (const int) const |
| void | removeDockWindow (const int) |
| void | insertDockWindow (const int, QWidget *) |
| void | placeDockWindow (const int, Qt::DockWidgetArea) |
| virtual void | closeApplication () |
| virtual void | createEmptyStudy () |
| virtual void | setDesktop (SUIT_Desktop *) |
| SUIT_Accel * | accel () const |
| void | setDefaultStudyName (const QString &theName) |
| virtual bool | event (QEvent *) |
| QStringList | viewManagersTypes () const |
| Returns list of view manager types which are supported by this application. More... | |
| virtual void | clearKnownViewManagers () |
| Removes ViewManagers only of known type. More... | |
| virtual QString | browseObjects (const QStringList &theEntryList, const bool theIsApplyAndClose=true, const bool theIsOptimizedBrowsing=false) |
| virtual SUIT_DataObject * | findObject (const QString &) const |
| void | emitOperationFinished (const QString &, const QString &, const QStringList &) |
| Emits operationFinished signal. More... | |
| void | updateVisibilityState (DataObjectList &theList, SUIT_ViewModel *theViewModel) |
| void | updatePresentations (const QString &theComponent, const QStringList &theViewManagerTypes) |
| virtual bool | checkExistingDoc (bool=true) |
| PyConsole_Interp * | getPyInterp () |
Public Member Functions inherited from CAM_Application | |
| CAM_Application (const bool=true) | |
| Constructor. More... | |
| virtual | ~CAM_Application () |
| Destructor. More... | |
| CAM_Module * | activeModule () const |
| Get active module. More... | |
| CAM_Module * | module (const QString &) const |
| Get the module with specified name. More... | |
| ModuleList | modules () const |
| Get all loaded modules. More... | |
| void | modules (ModuleList &) const |
| Get all loaded modules. More... | |
| void | modules (QStringList &, const bool loaded=true) const |
| Get names of all modules. More... | |
| virtual void | addModule (CAM_Module *) |
| Add module mod to the modules list. More... | |
| virtual void | loadModules () |
| Load modules from the modules information list. More... | |
| bool | activateOperation (const QString &modName, const int actionId) |
| Load module modName and activate its operation, corresponding to actionId. This method is dedicated to run operations of some module from any other module. More... | |
| bool | activateOperation (const QString &modName, const QString &actionId) |
| Load module modName and activate its operation, corresponding to actionId. This method is dedicated to run operations of some module from any other module. More... | |
| bool | activateOperation (const QString &modName, const QString &actionId, const QString &pluginName) |
| Load module modName and activate its operation, corresponding to actionId and pluginName. This method is dedicated to run operations of some module from any other module. More... | |
Public Member Functions inherited from STD_Application | |
| STD_Application () | |
| virtual | ~STD_Application () |
| virtual bool | useFile (const QString &) |
| void | setEditEnabled (const bool) |
| bool | isEditEnabled () const |
| void | clearViewManagers () |
| SUIT_ViewManager * | activeViewManager () const |
| SUIT_ViewManager * | viewManager (const QString &) const |
| bool | containsViewManager (SUIT_ViewManager *) const |
| ViewManagerList | viewManagers () const |
| void | viewManagers (ViewManagerList &) const |
| void | viewManagers (const QString &, ViewManagerList &) const |
| virtual int | viewManagerId (const SUIT_ViewManager *) const |
| QString | getDirectory (const QString &initial, const QString &caption, QWidget *parent) |
| bool | exitConfirmation () const |
| void | setExitConfirmation (const bool) |
| int | showNotification (const QString &message, const QString &title, int timeout=-1) |
| Show notification with specified text and title. More... | |
| void | hideNotification (const QString &message) |
| Close notifications with specified text. More... | |
| void | hideNotification (int id) |
| Closes the notifications with specified identifier. More... | |
Public Member Functions inherited from SUIT_Application | |
| SUIT_Application () | |
| virtual | ~SUIT_Application () |
| virtual SUIT_Desktop * | desktop () |
| Returns main widget (Desktop) of the application (if it exists) More... | |
| virtual SUIT_Study * | activeStudy () const |
| Returns active Study. If Application supports wirking with several studies this method should be redefined. More... | |
| virtual int | getNbStudies () const |
| SUIT_ResourceMgr * | resourceMgr () const |
| SUIT_ShortcutMgr * | shortcutMgr () const |
| Get access to shortcut manager. More... | |
| void | putInfo (const QString &, const int=0) |
| Puts the message to the status bar. More... | |
| QAction * | action (const int) const |
| void | addPostRoutine (void(*theRoutine)()) |
| int | createTool (const QString &, const QString &=QString()) |
| int | createTool (const int, const int, const int=-1) |
| int | createTool (const int, const QString &, const int=-1) |
| int | createTool (QAction *, const int, const int=-1, const int=-1) |
| int | createTool (QAction *, const QString &, const int=-1, const int=-1) |
| void | clearTool (const QString &) |
| int | createMenu (const QString &, const int, const int=-1, const int=-1, const int=-1) |
| int | createMenu (const QString &, const QString &, const int=-1, const int=-1, const int=-1) |
| int | createMenu (const int, const int, const int=-1, const int=-1) |
| int | createMenu (const int, const QString &, const int=-1, const int=-1) |
| int | createMenu (QAction *, const int, const int=-1, const int=-1, const int=-1) |
| int | createMenu (QAction *, const QString &, const int=-1, const int=-1, const int=-1) |
Additional Inherited Members | |
Public Types inherited from SalomeApp_Application | |
| enum | { MenuToolsId = 5 } |
| enum | { DumpStudyId = LightApp_Application::UserID , LoadScriptId , PropertiesId , CatalogGenId , RegDisplayId , FindActionId , SaveGUIStateId , ConnectId , DisconnectId , UserID } |
| enum | WindowTypes { WT_NoteBook = LightApp_Application::WT_User , WT_User } |
Public Types inherited from LightApp_Application | |
| enum | WindowTypes { WT_ObjectBrowser , WT_InfoPanel , WT_PyConsole , WT_LogWindow , WT_User } |
| enum | { MenuWindowId = 6 } |
| enum | { RenameId = CAM_Application::UserID , CloseId , CloseAllId , GroupAllId , PreferencesId , MRUId , ModulesListId , NewGLViewId , NewPlot2dId , NewOCCViewId , NewVTKViewId , NewQxSceneViewId , NewGraphicsViewId , NewQtViewId , NewPVViewId , NewPyViewerId , NewPV3DViewId , StyleId , FullScreenId , WebSiteId , ForumId , VideosId , TutorialsId , UserID } |
Public Types inherited from CAM_Application | |
| typedef QList< CAM_Module * > | ModuleList |
| typedef QList< ModuleShortInfo > | ModuleShortInfoList |
Public Types inherited from STD_Application | |
| enum | { MenuFileId , FileNewId , FileOpenId , FileReopenId , FileCloseId , FileSaveId , FileSaveAsId , FileExitId , MenuViewId , ViewWindowsId , ViewToolBarsId , ViewStatusBarId , NewWindowId , MenuEditId , EditCutId , EditCopyId , EditPasteId , MenuHelpId , HelpAboutId , UserID } |
Public Slots inherited from SalomeApp_Application | |
| virtual void | onNewDoc () |
| virtual void | onLoadDoc () |
| virtual void | onNewWithScript () |
| virtual bool | onLoadDoc (const QString &) |
| virtual void | onUnloadDoc (bool ask=true) |
| virtual void | onCloseDoc (bool ask=true) |
| virtual void | onOpenDoc () |
| virtual bool | onOpenDoc (const QString &) |
| virtual bool | onReopenDoc () |
| virtual void | onExit () |
| Close application. More... | |
| virtual void | onCopy () |
| virtual void | onPaste () |
| void | onSaveGUIState () |
| void | onUpdateStudy () |
| bool | onRestoreStudy (const QString &theDumpScript, const QString &theStudyName, bool theIsStudySaved) |
| virtual void | onDockWindowVisibilityChanged (bool) |
Public Slots inherited from LightApp_Application | |
| virtual void | onHelpContentsModule () |
| virtual void | onHelpContextModule (const QString &, const QString &, const QString &=QString()) |
| virtual void | onNewDoc () |
| virtual void | onOpenDoc () |
| virtual void | onHelpAbout () |
| virtual bool | onOpenDoc (const QString &) |
| virtual void | onCopy () |
| virtual void | onPaste () |
| virtual void | onDockWindowVisibilityChanged (bool) |
Public Slots inherited from STD_Application | |
| virtual void | onNewDoc () |
| virtual bool | onNewDoc (const QString &) |
| virtual void | onCloseDoc (bool ask=true) |
| virtual bool | onSaveDoc () |
| virtual bool | onSaveAsDoc () |
| virtual void | onOpenDoc () |
| virtual bool | onOpenDoc (const QString &) |
| virtual bool | onReopenDoc () |
| virtual void | onExit () |
| virtual void | onCopy () |
| virtual void | onPaste () |
| virtual void | onViewStatusBar (bool) |
| virtual void | onHelpAbout () |
| virtual void | onDesktopClosing (SUIT_Desktop *, QCloseEvent *) |
| virtual void | onConnectPopupRequest (SUIT_PopupClient *, QContextMenuEvent *) |
Public Slots inherited from SUIT_Application | |
| virtual void | onHelpContextModule (const QString &, const QString &, const QString &=QString()) |
Signals inherited from SalomeApp_Application | |
| void | dumpedStudyClosed (const QString &theDumpScript, const QString &theStudyName, bool theIsStudySaved) |
| void | notebookVarUpdated (QString theVarName) |
| void | objectDoubleClicked (SUIT_DataObject *) |
Signals inherited from LightApp_Application | |
| void | moduleActivated (const QString &) |
| void | studyOpened () |
| void | studySaved () |
| void | studyClosed () |
| void | preferenceChanged (const QString &, const QString &, const QString &) |
| void | preferenceResetToDefaults () |
| void | operationFinished (const QString &, const QString &, const QStringList &) |
Signals inherited from STD_Application | |
| void | viewManagerAdded (SUIT_ViewManager *) |
| void | viewManagerRemoved (SUIT_ViewManager *) |
| void | viewManagerActivated (SUIT_ViewManager *) |
| void | appClosed () |
Signals inherited from SUIT_Application | |
| void | applicationClosed (SUIT_Application *) |
| void | activated (SUIT_Application *) |
| void | infoChanged (QString) |
Static Public Member Functions inherited from SalomeApp_Application | |
| static CORBA::ORB_var | orb () |
| static | _PTR (Study) getStudy() |
| static SALOME_NamingService_Abstract * | namingService () |
| static SALOME_LifeCycleCORBA * | lcc () |
Static Public Member Functions inherited from CAM_Application | |
| static QString | moduleName (const QString &) |
| Get module name by its title (user name). More... | |
| static QString | moduleTitle (const QString &) |
| Get module title (user name) by its name. More... | |
| static QString | moduleIcon (const QString &) |
| Get module icon name. More... | |
| static QString | moduleDescription (const QString &) |
| Get module description. More... | |
| static QString | moduleLibrary (const QString &, const bool=true) |
| Get module library name by its title (user name). More... | |
| static QString | moduleDisplayer (const QString &) |
| Get displayer proxy for given module, by its title (user name). More... | |
| static ModuleShortInfoList | getVersionInfo () |
| Return information about version of the each module. More... | |
| static void | logUserEvent (const QString &) |
| Log GUI event. More... | |
| static void | logAction (QAction *, const QString &=QString()) |
| Log given action. More... | |
| static void | logStructuredUserEvent (const QString &module, const QString §ion, const QString &action, const QString &event, const QString &message="") |
Protected Types inherited from SalomeApp_Application | |
| enum | { OpenRefresh = LightApp_Application::OpenReload + 1 } |
| enum | { CloseDisconnectSave = LightApp_Application::CloseDiscard + 1 , CloseDisconnect } |
| enum | { LoadStudyId = LightApp_Application::OpenStudyId + 1 , NewAndScriptId } |
Protected Types inherited from LightApp_Application | |
| enum | { NewStudyId = 1 , OpenStudyId } |
| enum | BrowsePolicy { BP_Never = 0 , BP_ApplyAndClose , BP_Always } |
| enum | { OpenReload = CAM_Application::OpenExist + 1 } |
| typedef QPointer< QWidget > | WinPtr |
| typedef QMap< int, WinPtr > | WinMap |
| typedef QMap< QString, QByteArray > | WinVis |
| typedef QMap< QString, QByteArray > | WinGeom |
| typedef QList< int > | IdList |
| typedef QMap< QString, IdList > | IdMap |
Protected Types inherited from STD_Application | |
| enum | { OpenCancel , OpenNew , OpenExist } |
| enum | { CloseCancel , CloseSave , CloseDiscard } |
Protected Slots inherited from SalomeApp_Application | |
| void | onStudyCreated (SUIT_Study *) |
| void | onStudyOpened (SUIT_Study *) |
| void | onDesktopMessage (const QString &) |
| virtual void | onModuleActivation (const QString &) |
Protected Slots inherited from LightApp_Application | |
| virtual void | onDesktopActivated () |
| virtual void | onViewManagerRemoved (SUIT_ViewManager *) |
| virtual void | onWindowActivated (SUIT_ViewWindow *theViewWindow) |
| void | onNewWindow () |
| virtual void | onModuleActivation (const QString &) |
| void | onExtAdding () |
| void | onExtRemoving (const QString &) |
| void | onShowExtInfo () |
| void | onCloseView (SUIT_ViewManager *) |
| virtual void | onStudyCreated (SUIT_Study *) |
| virtual void | onStudyOpened (SUIT_Study *) |
| virtual void | onStudySaved (SUIT_Study *) |
| virtual void | onStudyClosed (SUIT_Study *) |
| void | onWCDestroyed (QObject *) |
| void | onMRUActivated (const QString &) |
| void | onStylePreferences () |
| void | onFullScreen () |
| virtual void | onDesktopMessage (const QString &) |
| virtual void | onInfoPanelShown () |
Protected Slots inherited from SUIT_Application | |
| virtual void | onDesktopActivated () |
Protected Member Functions inherited from SalomeApp_Application | |
| virtual void | createActions () |
| virtual SUIT_Study * | createNewStudy () |
| virtual QWidget * | createWindow (const int) |
| virtual void | updateCommandsStatus () |
| virtual void | onSelectionChanged () |
| virtual void | createPreferences (LightApp_Preferences *) |
| virtual bool | closeAction (const int, bool &) |
| virtual int | closeChoice (const QString &) |
| virtual int | openChoice (const QString &) |
| virtual bool | openAction (const int, const QString &) |
| virtual QMap< int, QString > | activateModuleActions () const |
| Get map of the operations which can be performed on the module activation. More... | |
| virtual void | moduleActionSelected (const int) |
| Called when the used selectes required operation chosen from "Activate module" dialog box. More... | |
| void | objectBrowserColumnsVisibility () |
| bool | updateStudy () |
| virtual PyConsole_Interp * | createPyInterp () |
| virtual bool | canOpenDoc (const QString &) |
| virtual void | afterCloseDoc () |
| virtual void | addCatalogue (const QString &, const QString &) |
Protected Member Functions inherited from LightApp_Application | |
| void | showHelp (const QString &) |
| virtual void | addExtensionsActions (LightApp_ModuleAction *moduleAction) |
| virtual void | customize () |
| virtual void | createActionForViewer (const int id, const int parentId, const QString &suffix) |
| virtual void | defaultWindows (QMap< int, int > &) const |
| void | defaultViewManagers (QStringList &) const |
| virtual void | setActiveStudy (SUIT_Study *) |
| virtual void | beforeCloseDoc (SUIT_Study *) |
| virtual void | moduleAdded (CAM_Module *) |
| virtual void | moduleDeactivated (CAM_Module *) |
| Callback function, called when the module is just deactivated. More... | |
| virtual bool | activateModule (CAM_Module *=0) |
| LightApp_Preferences * | preferences (const bool) const |
| virtual void | preferencesChanged (const QString &, const QString &) |
| virtual void | loadPreferences () |
| virtual void | savePreferences () |
| void | updateWindows () |
| void | updateViewManagers () |
| void | updateModuleActions () |
| bool | checkModule (const QString &) |
| Check module availability. More... | |
| void | loadDockWindowsState () |
| void | saveDockWindowsState () |
| virtual void | studyOpened (SUIT_Study *) |
| virtual void | studyCreated (SUIT_Study *) |
| virtual void | studySaved (SUIT_Study *) |
| void | updatePreference (const QString &, const QString &, const QString &) |
| QString | defaultModule () const |
| virtual void | currentWindows (QMap< int, int > &) const |
| void | currentViewManagers (QStringList &) const |
| QPixmap | moduleIcon (const QString &, const int=-1) const |
| QDockWidget * | windowDock (QWidget *) const |
| QByteArray | dockWindowsState (const QMap< QString, bool > &, const QMap< QString, bool > &) const |
| void | dockWindowsState (const QByteArray &, QMap< QString, bool > &, QMap< QString, bool > &) const |
| void | showPreferences (const QString &=QString()) |
| void | showPreferences (const QStringList &) |
Protected Member Functions inherited from CAM_Application | |
| virtual bool | abortAllOperations () |
| Abort active operations if there are any. More... | |
| bool | appendModuleInfo (const QString &) |
| void | removeModuleInfo (const QString &) |
| void | showAllModuleInfo () |
Protected Member Functions inherited from STD_Application | |
| virtual void | setActiveViewManager (SUIT_ViewManager *) |
| virtual bool | closeDoc (bool ask=true) |
| virtual bool | closeActiveDoc (bool permanently=true) |
Protected Member Functions inherited from SUIT_Application | |
| void | setMenuShown (QAction *, const bool) |
| void | setMenuShown (const int, const bool) |
| void | setToolShown (QAction *, const bool) |
| void | setToolShown (const int, const bool) |
| void | setActionShown (QAction *, const bool) |
| void | setActionShown (const int, const bool) |
| int | actionId (const QAction *) const |
| QList< QAction * > | actions () const |
| QList< int > | actionIds () const |
| int | registerAction (const int, QAction *) |
| 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()) |
| 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()) |
| QAction * | createAction (const int, QObject *, const bool, const QString &, const QString &, const QString &, const QString &, const QIcon &=QIcon(), QObject *=nullptr, const char *=nullptr) |
| SUIT_Application * | startApplication (int, char **) const |
| SUIT_Application * | startApplication (const QString &, int, char **) const |
Static Protected Member Functions inherited from SUIT_Application | |
| static QAction * | separator () |
Protected Attributes inherited from LightApp_Application | |
| LightApp_Preferences * | myPrefs |
| LightApp_SelectionMgr * | mySelMgr |
| LightApp_FullScreenHelper * | myScreenHelper |
| WinMap | myWin |
| WinVis | myWinVis |
| IdMap | myHelpItems |
| SUIT_Accel * | myAccel |
| QTimer * | myAutoSaveTimer |
| QStringList | myUserWmTypes |
Static Protected Attributes inherited from SalomeApp_Application | |
| static std::unique_ptr< SALOME_NamingService_Abstract > | _ns |
Static Protected Attributes inherited from LightApp_Application | |
| static LightApp_Preferences * | _prefs_ = 0 |
| SalomeApp_Application_SL::SalomeApp_Application_SL | ( | ) |