keybindings.h 476 B

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