Commit 9a521fdbff3fb880b8d0d9903fdcb2da9e9dd169

Authored by 고영탁
1 parent ce39b99ffc
Exists in master and in 2 other branches fhd, fhd-demo

풀버그 수정

app/gui/oven_control/engineermenuwindow.h
@@ -35,10 +35,6 @@ private slots: @@ -35,10 +35,6 @@ private slots:
35 35
36 void on_modelTypeConfigButton_clicked(); 36 void on_modelTypeConfigButton_clicked();
37 37
38 -protected:  
39 - void keyReleaseEvent(QKeyEvent* event);  
40 - void keyPressEvent(QKeyEvent* event);  
41 -  
42 private: 38 private:
43 Ui::EngineerMenuWindow *ui; 39 Ui::EngineerMenuWindow *ui;
44 40
app/gui/oven_control/functiontestwindow.cpp
@@ -118,35 +118,3 @@ void FunctionTestWindow::onEncoderClicked(QWidget *clicked) @@ -118,35 +118,3 @@ void FunctionTestWindow::onEncoderClicked(QWidget *clicked)
118 if (b) 118 if (b)
119 b->click(); 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
@@ -33,10 +33,6 @@ private slots: @@ -33,10 +33,6 @@ private slots:
33 33
34 void on_gasTestButton_clicked(); 34 void on_gasTestButton_clicked();
35 35
36 -protected:  
37 - void keyReleaseEvent(QKeyEvent* event);  
38 - void keyPressEvent(QKeyEvent* event);  
39 -  
40 private: 36 private:
41 Ui::FunctionTestWindow *ui; 37 Ui::FunctionTestWindow *ui;
42 38