Commit 9a521fdbff3fb880b8d0d9903fdcb2da9e9dd169
1 parent
ce39b99ffc
Exists in
master
and in
2 other branches
풀버그 수정
Showing
3 changed files
with
0 additions
and
40 deletions
Show diff stats
app/gui/oven_control/engineermenuwindow.h
app/gui/oven_control/functiontestwindow.cpp
... | ... | @@ -118,35 +118,3 @@ void FunctionTestWindow::onEncoderClicked(QWidget *clicked) |
118 | 118 | if (b) |
119 | 119 | b->click(); |
120 | 120 | } |
121 | - | |
122 | -void FunctionTestWindow::keyPressEvent(QKeyEvent *event){ | |
123 | - switch (event->key()) | |
124 | - { | |
125 | - case 0x01000030: // Turn left | |
126 | - focusPreviousChild(); | |
127 | - break; | |
128 | - case 0x01000032: // Turn right | |
129 | - focusNextChild(); | |
130 | - break; | |
131 | - } | |
132 | -} | |
133 | - | |
134 | -void FunctionTestWindow::keyReleaseEvent(QKeyEvent *event){ | |
135 | - switch (event->key()) | |
136 | - { | |
137 | - case 0x01000030: // Turn left | |
138 | - focusPreviousChild(); | |
139 | - break; | |
140 | - case 0x01000031: // Push | |
141 | - { | |
142 | - QPushButton *btn = qobject_cast<QPushButton*>(focusWidget()); | |
143 | - if(btn != NULL){ | |
144 | - btn->click(); | |
145 | - } | |
146 | - break; | |
147 | - } | |
148 | - case 0x01000032: // Turn right | |
149 | - focusNextChild(); | |
150 | - break; | |
151 | - } | |
152 | -} | ... | ... |
app/gui/oven_control/functiontestwindow.h