#include <QxScene_ViewModel.h>
Public Member Functions | |
QxScene_Viewer () | |
virtual | ~QxScene_Viewer () |
virtual void | setViewManager (SUIT_ViewManager *) |
virtual SUIT_ViewWindow * | createView (SUIT_Desktop *theDesktop) |
virtual QString | getType () const |
virtual void | contextMenuPopup (QMenu *) |
Public Member Functions inherited from SUIT_ViewModel | |
SUIT_ViewModel () | |
virtual | ~SUIT_ViewModel () |
SUIT_ViewManager * | getViewManager () const |
Static Public Member Functions | |
static QString | Type () |
Static Public Member Functions inherited from SUIT_ViewModel | |
static void | setHotButton (InteractionStyle theInteractionStyle, HotOperation theOper, Qt::KeyboardModifiers theState, Qt::MouseButtons theButton) |
static void | getHotButton (InteractionStyle theInteractionStyle, HotOperation theOper, Qt::KeyboardModifiers &theState, Qt::MouseButtons &theButton) |
Protected Slots | |
void | onShowToolbar () |
void | onChangeBgColor () |
Protected Member Functions | |
void | initView (QxScene_ViewWindow *view) |
Additional Inherited Members | |
Public Types inherited from SUIT_ViewModel | |
enum | HotOperation { PAN, ZOOM, ROTATE, FIT_AREA } |
enum | InteractionStyle { STANDARD, KEY_FREE } |
typedef QMap< HotOperation, Qt::KeyboardModifiers > | StatesMap |
typedef QMap< HotOperation, Qt::MouseButtons > | ButtonsMap |
typedef QMap< InteractionStyle, StatesMap > | InteractionStyle2StatesMap |
typedef QMap< InteractionStyle, ButtonsMap > | InteractionStyle2ButtonsMap |
Static Public Attributes inherited from SUIT_ViewModel | |
static InteractionStyle2StatesMap | myStateMap |
static InteractionStyle2ButtonsMap | myButtonMap |
Protected Attributes inherited from SUIT_ViewModel | |
SUIT_ViewManager * | myViewManager |
QxScene_Viewer::QxScene_Viewer | ( | ) |
Constructor
References DEBTRACE.
|
virtual |
Destructor
References DEBTRACE.
|
virtual |
|
virtual |
Creates new view window
theDesktop | - main window of application |
Reimplemented from SUIT_ViewModel.
References DEBTRACE, and initView().
|
inlinevirtual |
Reimplemented from SUIT_ViewModel.
|
protected |
Start initialization of view window
view | - view window to be initialized |
References DEBTRACE, and QxScene_ViewWindow::initLayout().
|
protectedslot |
SLOT: called if background color is to be changed changed, passes new color to current canvas view
References QxScene_ViewWindow::backgroundColor(), SUIT_ViewManager::getActiveView(), SUIT_ViewModel::myViewManager, and QxScene_ViewWindow::setBackgroundColor().
|
protectedslot |
SLOT: called when popup item "Show toolbar" is activated, shows toolbar of active view window
References SUIT_ViewManager::getActiveView(), QxScene_ViewWindow::getToolBar(), and SUIT_ViewModel::myViewManager.
|
virtual |
Set view manager.
theViewManager | view manager |
Reimplemented from SUIT_ViewModel.
References DEBTRACE, and SUIT_ViewModel::setViewManager().
|
inlinestatic |