be7d2a625
고영탁
엔코더 기능 구현
|
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
46
|
static const QString m_mapKeyboard[] = {
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9",
"0",
"Q",
"W",
"E",
"R",
"T",
"Y",
"U",
"I",
"O",
"P",
"A",
"S",
"D",
"F",
"G",
"H",
"J",
"K",
"L",
"Z",
"X",
"C",
"V",
"B",
"N",
"M",
"-",
",",
" "
};
|
be7d2a625
고영탁
엔코더 기능 구현
|
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
|
m_pSignalMapper->setMapping(ui->pushButton_1, 0);
m_pSignalMapper->setMapping(ui->pushButton_2, 1);
m_pSignalMapper->setMapping(ui->pushButton_3, 2);
m_pSignalMapper->setMapping(ui->pushButton_4, 3);
m_pSignalMapper->setMapping(ui->pushButton_5, 4);
m_pSignalMapper->setMapping(ui->pushButton_6, 5);
m_pSignalMapper->setMapping(ui->pushButton_7, 6);
m_pSignalMapper->setMapping(ui->pushButton_8, 7);
m_pSignalMapper->setMapping(ui->pushButton_9, 8);
m_pSignalMapper->setMapping(ui->pushButton_10, 9);
m_pSignalMapper->setMapping(ui->pushButton_11, 10);
m_pSignalMapper->setMapping(ui->pushButton_12, 11);
m_pSignalMapper->setMapping(ui->pushButton_13, 12);
m_pSignalMapper->setMapping(ui->pushButton_14, 13);
m_pSignalMapper->setMapping(ui->pushButton_15, 14);
m_pSignalMapper->setMapping(ui->pushButton_16, 15);
m_pSignalMapper->setMapping(ui->pushButton_17, 16);
m_pSignalMapper->setMapping(ui->pushButton_18, 17);
m_pSignalMapper->setMapping(ui->pushButton_19, 18);
m_pSignalMapper->setMapping(ui->pushButton_20, 19);
m_pSignalMapper->setMapping(ui->pushButton_21, 20);
m_pSignalMapper->setMapping(ui->pushButton_22, 21);
m_pSignalMapper->setMapping(ui->pushButton_23, 22);
m_pSignalMapper->setMapping(ui->pushButton_24, 23);
m_pSignalMapper->setMapping(ui->pushButton_25, 24);
m_pSignalMapper->setMapping(ui->pushButton_26, 25);
m_pSignalMapper->setMapping(ui->pushButton_27, 26);
m_pSignalMapper->setMapping(ui->pushButton_28, 27);
m_pSignalMapper->setMapping(ui->pushButton_29, 28);
m_pSignalMapper->setMapping(ui->pushButton_30, 29);
m_pSignalMapper->setMapping(ui->pushButton_31, 30);
m_pSignalMapper->setMapping(ui->pushButton_32, 31);
m_pSignalMapper->setMapping(ui->pushButton_33, 32);
m_pSignalMapper->setMapping(ui->pushButton_34, 33);
m_pSignalMapper->setMapping(ui->pushButton_35, 34);
m_pSignalMapper->setMapping(ui->pushButton_36, 35);
m_pSignalMapper->setMapping(ui->pushButton_37, 36);
m_pSignalMapper->setMapping(ui->pushButton_38, 37);
m_pSignalMapper->setMapping(ui->pushButton_40, 38);
|
92fef6124
고영탁
환경 설정 - 설정 UI 완료
|
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
|
connect(ui->pushButton_1,SIGNAL(clicked(bool)),m_pSignalMapper,SLOT(map()));
connect(ui->pushButton_2,SIGNAL(clicked(bool)),m_pSignalMapper,SLOT(map()));
connect(ui->pushButton_3,SIGNAL(clicked(bool)),m_pSignalMapper,SLOT(map()));
connect(ui->pushButton_4,SIGNAL(clicked(bool)),m_pSignalMapper,SLOT(map()));
connect(ui->pushButton_5,SIGNAL(clicked(bool)),m_pSignalMapper,SLOT(map()));
connect(ui->pushButton_6,SIGNAL(clicked(bool)),m_pSignalMapper,SLOT(map()));
connect(ui->pushButton_7,SIGNAL(clicked(bool)),m_pSignalMapper,SLOT(map()));
connect(ui->pushButton_8,SIGNAL(clicked(bool)),m_pSignalMapper,SLOT(map()));
connect(ui->pushButton_9,SIGNAL(clicked(bool)),m_pSignalMapper,SLOT(map()));
connect(ui->pushButton_10,SIGNAL(clicked(bool)),m_pSignalMapper,SLOT(map()));
connect(ui->pushButton_11,SIGNAL(clicked(bool)),m_pSignalMapper,SLOT(map()));
connect(ui->pushButton_12,SIGNAL(clicked(bool)),m_pSignalMapper,SLOT(map()));
connect(ui->pushButton_13,SIGNAL(clicked(bool)),m_pSignalMapper,SLOT(map()));
connect(ui->pushButton_14,SIGNAL(clicked(bool)),m_pSignalMapper,SLOT(map()));
connect(ui->pushButton_15,SIGNAL(clicked(bool)),m_pSignalMapper,SLOT(map()));
connect(ui->pushButton_16,SIGNAL(clicked(bool)),m_pSignalMapper,SLOT(map()));
connect(ui->pushButton_17,SIGNAL(clicked(bool)),m_pSignalMapper,SLOT(map()));
connect(ui->pushButton_18,SIGNAL(clicked(bool)),m_pSignalMapper,SLOT(map()));
connect(ui->pushButton_19,SIGNAL(clicked(bool)),m_pSignalMapper,SLOT(map()));
connect(ui->pushButton_20,SIGNAL(clicked(bool)),m_pSignalMapper,SLOT(map()));
connect(ui->pushButton_21,SIGNAL(clicked(bool)),m_pSignalMapper,SLOT(map()));
connect(ui->pushButton_22,SIGNAL(clicked(bool)),m_pSignalMapper,SLOT(map()));
connect(ui->pushButton_23,SIGNAL(clicked(bool)),m_pSignalMapper,SLOT(map()));
connect(ui->pushButton_24,SIGNAL(clicked(bool)),m_pSignalMapper,SLOT(map()));
connect(ui->pushButton_25,SIGNAL(clicked(bool)),m_pSignalMapper,SLOT(map()));
connect(ui->pushButton_26,SIGNAL(clicked(bool)),m_pSignalMapper,SLOT(map()));
connect(ui->pushButton_27,SIGNAL(clicked(bool)),m_pSignalMapper,SLOT(map()));
connect(ui->pushButton_28,SIGNAL(clicked(bool)),m_pSignalMapper,SLOT(map()));
connect(ui->pushButton_29,SIGNAL(clicked(bool)),m_pSignalMapper,SLOT(map()));
connect(ui->pushButton_30,SIGNAL(clicked(bool)),m_pSignalMapper,SLOT(map()));
connect(ui->pushButton_31,SIGNAL(clicked(bool)),m_pSignalMapper,SLOT(map()));
connect(ui->pushButton_32,SIGNAL(clicked(bool)),m_pSignalMapper,SLOT(map()));
connect(ui->pushButton_33,SIGNAL(clicked(bool)),m_pSignalMapper,SLOT(map()));
connect(ui->pushButton_34,SIGNAL(clicked(bool)),m_pSignalMapper,SLOT(map()));
connect(ui->pushButton_35,SIGNAL(clicked(bool)),m_pSignalMapper,SLOT(map()));
connect(ui->pushButton_36,SIGNAL(clicked(bool)),m_pSignalMapper,SLOT(map()));
connect(ui->pushButton_37,SIGNAL(clicked(bool)),m_pSignalMapper,SLOT(map()));
connect(ui->pushButton_38,SIGNAL(clicked(bool)),m_pSignalMapper,SLOT(map()));
|