|
| | CAF_Application () |
| | Default constructor. More...
|
| |
| | CAF_Application (const Handle(TDocStd_Application)&) |
| | Constructor. More...
|
| |
| virtual | ~CAF_Application () |
| | Destructor. More...
|
| |
| virtual QString | applicationName () const |
| | Get application name. More...
|
| |
| | Handle (TDocStd_Application) stdApp() const |
| |
| virtual QString | getFileFilter (bool) const |
| |
| | STD_Application () |
| |
| virtual | ~STD_Application () |
| |
| virtual bool | isPossibleToClose (bool &) |
| |
| virtual bool | useFile (const QString &) |
| |
| virtual void | createEmptyStudy () |
| |
| void | setEditEnabled (const bool) |
| |
| bool | isEditEnabled () const |
| |
| void | clearViewManagers () |
| |
| virtual void | addViewManager (SUIT_ViewManager *) |
| |
| virtual void | removeViewManager (SUIT_ViewManager *) |
| |
| 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 |
| |
| virtual QString | getFileName (bool open, const QString &initial, const QString &filters, const QString &caption, QWidget *parent) |
| |
| QString | getDirectory (const QString &initial, const QString &caption, QWidget *parent) |
| |
| virtual void | start () |
| |
| virtual void | closeApplication () |
| |
| virtual void | contextMenuPopup (const QString &, QMenu *, QString &) |
| |
| bool | exitConfirmation () const |
| |
| void | setExitConfirmation (const bool) |
| |
| virtual void | updateDesktopTitle () |
| |
| | 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 QString | applicationVersion () const |
| |
| 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)()) |
| |
|
| virtual void | createActions () |
| | Create menu and toolbars actions. More...
|
| |
| virtual void | updateCommandsStatus () |
| | Update actions state (Undo/Redo). More...
|
| |
| virtual SUIT_Study * | createNewStudy () |
| | Create new empty study. More...
|
| |
| bool | undo (CAF_Study *doc) |
| | Undo latest command operation for specified document. More...
|
| |
| bool | redo (CAF_Study *doc) |
| | Redo latest command operation undo for specified document. More...
|
| |
| virtual void | setStdApp (const Handle(TDocStd_Application)&) |
| | Set OCAF application. More...
|
| |
| virtual void | setDesktop (SUIT_Desktop *) |
| |
| virtual void | loadPreferences () |
| |
| virtual void | savePreferences () |
| |
| virtual void | studySaved (SUIT_Study *) |
| |
| virtual void | studyOpened (SUIT_Study *) |
| |
| virtual void | studyCreated (SUIT_Study *) |
| |
| virtual void | beforeCloseDoc (SUIT_Study *theDoc) |
| |
| virtual void | afterCloseDoc () |
| |
| virtual void | setActiveViewManager (SUIT_ViewManager *) |
| |
| virtual int | openChoice (const QString &) |
| |
| virtual bool | openAction (const int, const QString &) |
| |
| virtual int | closeChoice (const QString &) |
| |
| virtual bool | closeAction (const int, bool &) |
| |
| virtual bool | closeDoc (bool ask=true) |
| |
| virtual bool | closeActiveDoc (bool permanently=true) |
| |
| virtual bool | abortAllOperations () |
| | Abort active operations if there are any. More...
|
| |
| SUIT_Application * | startApplication (int, char **) const |
| |
| SUIT_Application * | startApplication (const QString &, int, char **) const |
| |
| virtual void | setActiveStudy (SUIT_Study *) |
| |
| 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()) |
| |
| 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) |
| |
| 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) |
| |
| void | setMenuShown (QAction *, const bool) |
| |
| void | setMenuShown (const int, const bool) |
| |
| void | setToolShown (QAction *, const bool) |
| |
| void | setToolShown (const int, const bool) |
| |
Defines application configuration and behaviour for application using standard OCC OCAF data model. Allows using OCC OCAF serives (for example, undo/redo mechanizm).