Extend SUIT_ViewManager to deal with SPV3D_ViewModel. More...
#include <SPV3D_ViewManager.h>

Public Member Functions | |
| SPV3D_ViewManager (SUIT_Study *study, SUIT_Desktop *) | |
| Construct the view manager. More... | |
| virtual | ~SPV3D_ViewManager () |
| Destroy the view manager. More... | |
| SUIT_Desktop * | getDesktop () |
Public Member Functions inherited from SUIT_ViewManager | |
| SUIT_ViewManager (SUIT_Study *, SUIT_Desktop *, SUIT_ViewModel *=0) | |
| virtual | ~SUIT_ViewManager () |
| virtual QString | popupClientType () const |
| virtual void | contextMenuPopup (QMenu *) |
| void | setViewModel (SUIT_ViewModel *theViewModel) |
| SUIT_ViewModel * | getViewModel () |
| SUIT_Study * | study () const |
| QString | getType () const |
| SUIT_ViewWindow * | getActiveView () |
| int | getViewsCount () |
| QVector< SUIT_ViewWindow * > | getViews () const |
| QString | getTitle () const |
| virtual void | setTitle (const QString &) |
| QPixmap | getIcon () const |
| virtual void | setIcon (const QPixmap &) |
| SUIT_ViewWindow * | createViewWindow () |
| bool | isVisible () const |
| virtual void | setShown (const bool) |
| virtual void | setDestructiveClose (const bool) |
| int | getId () const |
| int | getGlobalId () const |
| void | setDetached (bool detached) |
| bool | getDetached () const |
Public Member Functions inherited from SUIT_PopupClient | |
| SUIT_PopupClient () | |
| virtual | ~SUIT_PopupClient () |
| bool | connectPopupRequest (QObject *reciever, const char *slot) |
| bool | disconnectPopupRequest (QObject *reciever, const char *slot) |
Protected Slots | |
| void | onWindowActivated (SUIT_ViewWindow *) |
Protected Slots inherited from SUIT_ViewManager | |
| void | onWindowActivated (SUIT_ViewWindow *) |
| void | onClosingView (SUIT_ViewWindow *) |
| void | onMousePressed (SUIT_ViewWindow *, QMouseEvent *) |
| void | onDeleteStudy () |
Additional Inherited Members | |
Public Slots inherited from SUIT_ViewManager | |
| void | createView () |
| void | closeAllViews () |
Signals inherited from SUIT_ViewManager | |
| void | lastViewClosed (SUIT_ViewManager *) |
| void | tryCloseView (SUIT_ViewWindow *) |
| void | deleteView (SUIT_ViewWindow *) |
| void | viewCreated (SUIT_ViewWindow *) |
| void | mousePress (SUIT_ViewWindow *, QMouseEvent *) |
| void | mouseRelease (SUIT_ViewWindow *, QMouseEvent *) |
| void | mouseDoubleClick (SUIT_ViewWindow *, QMouseEvent *) |
| void | mouseMove (SUIT_ViewWindow *, QMouseEvent *) |
| void | wheel (SUIT_ViewWindow *, QWheelEvent *) |
| void | keyPress (SUIT_ViewWindow *, QKeyEvent *) |
| void | keyRelease (SUIT_ViewWindow *, QKeyEvent *) |
| void | activated (SUIT_ViewManager *) |
Protected Types inherited from SUIT_ViewManager | |
| typedef QPointer< SUIT_ViewWindow > | ViewWindow |
Protected Member Functions inherited from SUIT_ViewManager | |
| virtual bool | insertView (SUIT_ViewWindow *theView) |
| virtual void | removeView (SUIT_ViewWindow *theView) |
| virtual void | closeView (SUIT_ViewWindow *theView) |
| virtual void | setViewName (SUIT_ViewWindow *theView) |
| QString | prepareTitle (const QString &, const int, const int) |
Protected Member Functions inherited from SUIT_PopupClient | |
| void | contextMenuRequest (QContextMenuEvent *e) |
Static Protected Member Functions inherited from SUIT_ViewManager | |
| static int | useNewId (const QString &) |
Protected Attributes inherited from SUIT_ViewManager | |
| SUIT_Desktop * | myDesktop |
| SUIT_ViewModel * | myViewModel |
| QVector< ViewWindow > | myViews |
| SUIT_ViewWindow * | myActiveView |
| int | myId |
| QPixmap | myIcon |
| QString | myTitle |
| SUIT_Study * | myStudy |
| bool | myIsDetached |
Static Protected Attributes inherited from SUIT_ViewManager | |
| static QMap< QString, int > | _ViewMgrId |
Extend SUIT_ViewManager to deal with SPV3D_ViewModel.
| SPV3D_ViewManager::SPV3D_ViewManager | ( | SUIT_Study * | study, |
| SUIT_Desktop * | theDesktop | ||
| ) |
Construct the view manager.
Constructor
References SUIT_ViewManager::getViewModel(), SPV3D_ViewModel::initialize(), onWindowActivated(), and SUIT_ViewManager::setTitle().
|
virtual |
Destroy the view manager.
Destructor
| SUIT_Desktop * SPV3D_ViewManager::getDesktop | ( | ) |
References SUIT_ViewManager::myDesktop.
|
protectedslot |
Enable toolbars if view view is ParaView viewer and disable otherwise.
References PVViewer_GUIElements::GetInstance(), SUIT_ViewManager::myDesktop, and PVViewer_GUIElements::setToolBarEnabled().