Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
OCCViewer_ViewManager Class Reference

#include <OCCViewer_ViewManager.h>

Inheritance diagram for OCCViewer_ViewManager:
Inheritance graph

Public Member Functions

 OCCViewer_ViewManager (SUIT_Study *study, SUIT_Desktop *theDesktop, bool DisplayTrihedron=true)
 
 ~OCCViewer_ViewManager ()
 
OCCViewer_ViewergetOCCViewer ()
 
virtual void contextMenuPopup (QMenu *)
 
- Public Member Functions inherited from SUIT_ViewManager
 SUIT_ViewManager (SUIT_Study *, SUIT_Desktop *, SUIT_ViewModel *=0)
 
virtual ~SUIT_ViewManager ()
 
virtual QString popupClientType () const
 
void setViewModel (SUIT_ViewModel *theViewModel)
 
SUIT_ViewModelgetViewModel ()
 
SUIT_Studystudy () const
 
QString getType () const
 
SUIT_ViewWindowgetActiveView ()
 
int getViewsCount ()
 
QVector< SUIT_ViewWindow * > getViews () const
 
QString getTitle () const
 
virtual void setTitle (const QString &)
 
QPixmap getIcon () const
 
virtual void setIcon (const QPixmap &)
 
SUIT_ViewWindowcreateViewWindow ()
 
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)
 

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_ViewWindowViewWindow
 
- Protected Slots inherited from SUIT_ViewManager
void onWindowActivated (SUIT_ViewWindow *)
 
void onClosingView (SUIT_ViewWindow *)
 
void onMousePressed (SUIT_ViewWindow *, QMouseEvent *)
 
void onDeleteStudy ()
 
- 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)
 
- Static Protected Member Functions inherited from SUIT_ViewManager
static int useNewId (const QString &)
 
- Protected Attributes inherited from SUIT_ViewManager
SUIT_DesktopmyDesktop
 
SUIT_ViewModelmyViewModel
 
QVector< ViewWindowmyViews
 
SUIT_ViewWindowmyActiveView
 
int myId
 
QPixmap myIcon
 
QString myTitle
 
SUIT_StudymyStudy
 
bool myIsDetached
 
- Static Protected Attributes inherited from SUIT_ViewManager
static QMap< QString, int > _ViewMgrId
 

Constructor & Destructor Documentation

OCCViewer_ViewManager::OCCViewer_ViewManager ( SUIT_Study study,
SUIT_Desktop theDesktop,
bool  DisplayTrihedron = true 
)

Constructor

References SUIT_ViewManager::setTitle().

OCCViewer_ViewManager::~OCCViewer_ViewManager ( )

Destructor

Member Function Documentation

void OCCViewer_ViewManager::contextMenuPopup ( QMenu popup)
virtual

Fills popup menu with custom actions

Parameters
popup- popup menu to be filled with

Reimplemented from SUIT_ViewManager.

References SUIT_ViewManager::contextMenuPopup().

OCCViewer_Viewer* OCCViewer_ViewManager::getOCCViewer ( )
inline

The documentation for this class was generated from the following files: