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

#include <QxScene_ViewManager.h>

Inheritance diagram for QxScene_ViewManager:
Inheritance graph

Public Slots

void createView ()
 
- Public Slots inherited from SUIT_ViewManager
void createView ()
 
void closeAllViews ()
 

Public Member Functions

 QxScene_ViewManager (SUIT_Study *theStudy, SUIT_Desktop *theDesktop, SUIT_ViewModel *theViewModel=0)
 
 ~QxScene_ViewManager ()
 
- 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_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)
 

Protected Member Functions

bool insertView (SUIT_ViewWindow *theView)
 
virtual void closeView (SUIT_ViewWindow *theView)
 
- Protected Member Functions inherited from SUIT_ViewManager
virtual void removeView (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)
 

Additional Inherited Members

- 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 ()
 
- 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

QxScene_ViewManager::QxScene_ViewManager ( SUIT_Study theStudy,
SUIT_Desktop theDesktop,
SUIT_ViewModel theViewModel = 0 
)

Constructor

References DEBTRACE, and SUIT_ViewManager::setTitle().

QxScene_ViewManager::~QxScene_ViewManager ( )

Destructor

References DEBTRACE.

Member Function Documentation

void QxScene_ViewManager::closeView ( SUIT_ViewWindow theView)
protectedvirtual

Method redefined here to allow some housekeeping before closing the view (delete a loded schema and everything related). If this is not possible, the view is not closed

Reimplemented from SUIT_ViewManager.

References QxScene_ViewWindow::closeRequested(), SUIT_ViewManager::closeView(), and DEBTRACE.

void QxScene_ViewManager::createView ( )
slot

Creates new view

References SUIT_ViewManager::createViewWindow(), and DEBTRACE.

bool QxScene_ViewManager::insertView ( SUIT_ViewWindow theView)
protectedvirtual

Adds new view

Parameters
theView- view to be added

Reimplemented from SUIT_ViewManager.

References DEBTRACE, and SUIT_ViewManager::insertView().


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