keyboardwidget.h
805 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#ifndef KEYBOARDWIDGET_H
#define KEYBOARDWIDGET_H
#include <QWidget>
#include <QSignalMapper>
#include <QChar>
namespace Ui {
class KeyboardWidget;
}
class KeyboardWidget : public QWidget
{
Q_OBJECT
public:
explicit KeyboardWidget(QWidget *parent = 0);
~KeyboardWidget();
private slots:
void on_pushButton_41_clicked();
void on_pushButton_42_clicked();
void on_pushButton_39_clicked();
void on_pushButton_40_clicked();
signals:
void onKeyboardClickSignal(const QString in);
void onBackspaceKeyClicked();
void onOkKeyClicked();
void onCancelKeyClicked();
void onSpaceKeyClicked();
public slots:
void onKeyboardClicked(const QString in);
private:
Ui::KeyboardWidget *ui;
QSignalMapper *m_pSignalMapper;
};
#endif // KEYBOARDWIDGET_H