blob: cdf761f61613863dfd5999a0fa878054f2ba3ef6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#ifndef KEYBINDINGS_H
#define KEYBINDINGS_H
#include <QApplication>
#include <QKeyEvent>
#include <QMouseEvent>
#include <QPainter>
#include <QPoint>
#include <qwidget.h>
#include <qstring.h>
#include "qtgraphics.h"
int mapKeyCode(QKeyEvent *key);
int getUnicode(QKeyEvent *key);
int getKeyModifiers(Qt::KeyboardModifiers state);
int getAEKeyModifiers(Qt::KeyboardModifiers state);
int getMouseModifiers(QMouseEvent *event);
int getReleaseModifiers(QMouseEvent *e);
#endif
|