projects
/
multypo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add per-device output label
[multypo.git]
/
qt
/
multypo.h
diff --git
a/qt/multypo.h
b/qt/multypo.h
index 400d4c995eb848d19bbfeebf13d75d4bbbad6481..49b70b1bdf7d079d5252c97c81743e8245809d92 100644
(file)
--- a/
qt/multypo.h
+++ b/
qt/multypo.h
@@
-2,6
+2,9
@@
#define MULTIKBD_H
#include <QWidget>
#define MULTIKBD_H
#include <QWidget>
+#include <QMap>
+
+class QLabel;
class MultypoWindow : public QWidget
{
class MultypoWindow : public QWidget
{
@@
-13,15
+16,15
@@
public:
bool handleX11Event(XEvent *event);
bool handleX11Event(XEvent *event);
-protected:
- virtual void showEvent (QShowEvent *);
-
private:
void handleKeyPress(int device, QString string);
private:
bool xiInited;
int xiOpcode;
private:
void handleKeyPress(int device, QString string);
private:
bool xiInited;
int xiOpcode;
+ QLabel *mainLabel;
+
+ QMap<int, QLabel*> players;
};
#endif // MULTIKBD_H
};
#endif // MULTIKBD_H