Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SUIT_Accel.cxx File Reference
#include "SUIT_Accel.h"
#include "SUIT_ViewWindow.h"
#include "SUIT_ViewManager.h"
#include "SUIT_ViewModel.h"
#include <QCoreApplication>
#include <QEvent>
#include <QKeyEvent>

Functions

SUIT_ViewWindowgetParentViewWindow (const QObject *obj)
 
int getKey (QKeyEvent *keyEvent)
 

Function Documentation

int getKey ( QKeyEvent *  keyEvent)

getKey() : returns integer key code (with modifiers) made of key pressed 'inside' given event

SUIT_ViewWindow* getParentViewWindow ( const QObject obj)

getParentViewWindow() : returns given object or any of its parents-grandparents-.. if it is a SUIT_ViewWindow

References obj.