23 #ifndef SUIT_VIEWMODEL_H
24 #define SUIT_VIEWMODEL_H
38 #pragma warning( disable:4251 )
53 typedef QMap<HotOperation, Qt::KeyboardModifiers>
StatesMap;
67 virtual QString
getType()
const {
return "SUIT_ViewModel"; }
71 static void setHotButton( InteractionStyle theInteractionStyle, HotOperation theOper,
72 Qt::KeyboardModifiers theState, Qt::MouseButtons theButton );
73 static void getHotButton( InteractionStyle theInteractionStyle, HotOperation theOper,
74 Qt::KeyboardModifiers& theState, Qt::MouseButtons& theButton );
85 #pragma warning( default:4251 )
93 #define VIEWMODEL_CREATE_NAME "createViewModel"