add a label to the UI
[multypo.git] / qt / multypo.h
1 #ifndef MULTIKBD_H
2 #define MULTIKBD_H
3
4 #include <QWidget>
5
6 class QLabel;
7
8 class MultypoWindow : public QWidget
9 {
10         Q_OBJECT
11         
12 public:
13         explicit MultypoWindow(QWidget *parent = 0);
14         ~MultypoWindow();
15
16         bool handleX11Event(XEvent *event);
17
18 protected:
19         virtual void showEvent (QShowEvent *);
20
21 private:
22         void handleKeyPress(int device, QString string);
23
24 private:
25         bool xiInited;
26         int xiOpcode;
27         QLabel *mainLabel;
28 };
29
30 #endif // MULTIKBD_H