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

To define minimal interface for SVTK_ViewWindow initialization.

#include <SVTK_ViewModelBase.h>

Inheritance diagram for SVTK_ViewModelBase:
Inheritance graph

Public Slots

void onSelectionChanged ()
 To invoke Qt selectionChanged signal. More...
 

Signals

void selectionChanged ()
 To declare signal on selection changed. More...
 

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
 
- Public Member Functions inherited from SUIT_ViewModel
 SUIT_ViewModel ()
 
virtual ~SUIT_ViewModel ()
 
virtual SUIT_ViewWindowcreateView (SUIT_Desktop *theDesktop)
 
virtual void setViewManager (SUIT_ViewManager *theViewManager)
 
SUIT_ViewManagergetViewManager () const
 
virtual QString getType () const
 
virtual void contextMenuPopup (QMenu *)
 
- 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)
 
- Static Public Attributes inherited from SUIT_ViewModel
static InteractionStyle2StatesMap myStateMap
 
static InteractionStyle2ButtonsMap myButtonMap
 
- Protected Attributes inherited from SUIT_ViewModel
SUIT_ViewManagermyViewManager
 

Member Function Documentation

void SVTK_ViewModelBase::onSelectionChanged ( )
inlineslot
void SVTK_ViewModelBase::selectionChanged ( )
signal

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