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

#include <LightApp_WgViewModel.h>

Inheritance diagram for LightApp_WgViewModel:
Inheritance graph

Public Member Functions

 LightApp_WgViewModel (const QString &type, QWidget *w)
 
virtual ~LightApp_WgViewModel ()
 
virtual SUIT_ViewWindowcreateView (SUIT_Desktop *d)
 
virtual QString getType () const
 
- Public Member Functions inherited from SUIT_ViewModel
 SUIT_ViewModel ()
 
virtual ~SUIT_ViewModel ()
 
virtual void setViewManager (SUIT_ViewManager *theViewManager)
 
SUIT_ViewManagergetViewManager () const
 
virtual void contextMenuPopup (QMenu *)
 

Private Attributes

QString myType
 
QWidgetmyWidget
 
bool myCreated
 

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

Constructor & Destructor Documentation

LightApp_WgViewModel::LightApp_WgViewModel ( const QString &  type,
QWidget w 
)
LightApp_WgViewModel::~LightApp_WgViewModel ( )
virtual

Member Function Documentation

SUIT_ViewWindow * LightApp_WgViewModel::createView ( SUIT_Desktop theDesktop)
virtual

Create new instance of view window on desktop theDesktop.

Return values
SUIT_ViewWindow*- created view window pointer.

Reimplemented from SUIT_ViewModel.

References myCreated, and myWidget.

QString LightApp_WgViewModel::getType ( ) const
virtual

Reimplemented from SUIT_ViewModel.

References myType.

Member Data Documentation

bool LightApp_WgViewModel::myCreated
private
QString LightApp_WgViewModel::myType
private
QWidget* LightApp_WgViewModel::myWidget
private

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