92fef6124
고영탁
환경 설정 - 설정 UI 완료
|
1
2
3
4
5
6
|
#ifndef KEYBOARDWIDGET_H
#define KEYBOARDWIDGET_H
#include <QWidget>
#include <QSignalMapper>
#include <QChar>
|
be7d2a625
고영탁
엔코더 기능 구현
|
7
8
|
#include <QVector>
#include <QPushButton>
|
92fef6124
고영탁
환경 설정 - 설정 UI 완료
|
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
|
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:
|
be7d2a625
고영탁
엔코더 기능 구현
|
39
40
41
42
43
44
45
|
void onKeyboardClicked(int in);
void focusInKeyboard();
void focusOutKeyboard();
protected:
void keyPressEvent(QKeyEvent* event);
void keyReleaseEvent(QKeyEvent* event);
|
92fef6124
고영탁
환경 설정 - 설정 UI 완료
|
46
47
48
49
50
|
private:
Ui::KeyboardWidget *ui;
QSignalMapper *m_pSignalMapper;
|
be7d2a625
고영탁
엔코더 기능 구현
|
51
52
53
54
|
QVector<QPushButton*> m_vectorTabOrder;
QPushButton* m_pCurCheckedBtn;
int m_nCurTabPos;
|
92fef6124
고영탁
환경 설정 - 설정 UI 완료
|
55
56
57
|
};
#endif // KEYBOARDWIDGET_H
|