69687e9a26e7bd3d6661d44cb1cd25d329f927dc
[apps/thermostat-demo.git] / qkeyboardlineedit.h
1 #ifndef QKEYBOARDLINEEDIT_H
2 #define QKEYBOARDLINEEDIT_H
4 #include <QLineEdit>
6 class Keyboard;
8 class QKeyboardLineEdit : public QLineEdit
9 {
10     Q_OBJECT
11 public:
12     explicit QKeyboardLineEdit(QWidget *parent = 0);
13     virtual ~QKeyboardLineEdit();
14     
15 signals:
16     
17 public slots:
18     void mousePressEvent(QMouseEvent *);
19     void keyboardClosed();
22 private:
23     Keyboard* m_keyboardWidget;
24     bool m_isBeingEdited;
26     
27 };
29 #endif // QKEYBOARDLINEEDIT_H