Commit 6d1d3987fe0421b4bd31f3ab09e5da15097d6ae7
1 parent
c25b83f42d
Exists in
master
and in
2 other branches
GUI V1.0.9
- 테스트 윈도우 기능 추가 - 프로그램 업로드시 파일 목록 복사 실패시에도 디렉토리 복사하는 버그 수정 - service-web app 프로그램 업로드 목록에서 삭제 - haccp.cpp 버그 라인 삭제
Showing
6 changed files
with
61 additions
and
8 deletions
Show diff stats
app/gui/oven_control/adjustmentwindow.cpp
... | ... | @@ -4,6 +4,7 @@ |
4 | 4 | #include "yesnopopupdlg.h" |
5 | 5 | #include "soundplayer.h" |
6 | 6 | #include "notipopupdlg.h" |
7 | +#include "touchtestwindow.h" | |
7 | 8 | |
8 | 9 | AdjustmentWindow::AdjustmentWindow(QWidget *parent) : |
9 | 10 | QMainWindow(parent), |
... | ... | @@ -136,3 +137,11 @@ void AdjustmentWindow::keyReleaseEvent(QKeyEvent *event){ |
136 | 137 | break; |
137 | 138 | } |
138 | 139 | } |
140 | + | |
141 | +void AdjustmentWindow::on_btnAdjust_LCD_clicked() | |
142 | +{ | |
143 | + TouchTestWindow* wnd = new TouchTestWindow(this); | |
144 | + wnd->setWindowModality(Qt::WindowModal); | |
145 | + wnd->show(); | |
146 | + wnd->raise(); | |
147 | +} | ... | ... |
app/gui/oven_control/adjustmentwindow.h
app/gui/oven_control/adjustmentwindow.ui
... | ... | @@ -266,14 +266,56 @@ QPushButton { |
266 | 266 | <x>100</x> |
267 | 267 | <y>606</y> |
268 | 268 | <width>28</width> |
269 | - <height>61</height> | |
269 | + <height>151</height> | |
270 | 270 | </rect> |
271 | 271 | </property> |
272 | 272 | <property name="text"> |
273 | 273 | <string/> |
274 | 274 | </property> |
275 | 275 | <property name="pixmap"> |
276 | - <pixmap resource="resources.qrc">:/images/config/service/adjustment_line.png</pixmap> | |
276 | + <pixmap resource="resources.qrc">:/images/config/service/realtime_menu_line.png</pixmap> | |
277 | + </property> | |
278 | + </widget> | |
279 | + <widget class="QPushButton" name="btnAdjust_LCD"> | |
280 | + <property name="geometry"> | |
281 | + <rect> | |
282 | + <x>124</x> | |
283 | + <y>718</y> | |
284 | + <width>379</width> | |
285 | + <height>70</height> | |
286 | + </rect> | |
287 | + </property> | |
288 | + <property name="sizePolicy"> | |
289 | + <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> | |
290 | + <horstretch>0</horstretch> | |
291 | + <verstretch>0</verstretch> | |
292 | + </sizepolicy> | |
293 | + </property> | |
294 | + <property name="font"> | |
295 | + <font> | |
296 | + <family>Roboto</family> | |
297 | + <pointsize>10</pointsize> | |
298 | + <weight>75</weight> | |
299 | + <bold>true</bold> | |
300 | + <underline>false</underline> | |
301 | + </font> | |
302 | + </property> | |
303 | + <property name="styleSheet"> | |
304 | + <string notr="true">QPushButton { border-image: url(:/images/config/service/089_set_window_all.png); } | |
305 | +QPushButton:pressed, QPushButton:focus { border-image: url(:/images/config/service/089_set_window_all_ov.png); } | |
306 | +QPushButton { | |
307 | + text-align: right; | |
308 | + padding-right : 20px; | |
309 | +}</string> | |
310 | + </property> | |
311 | + <property name="text"> | |
312 | + <string notr="true">LCD</string> | |
313 | + </property> | |
314 | + <property name="iconSize"> | |
315 | + <size> | |
316 | + <width>32</width> | |
317 | + <height>32</height> | |
318 | + </size> | |
277 | 319 | </property> |
278 | 320 | </widget> |
279 | 321 | <zorder>label</zorder> |
... | ... | @@ -282,6 +324,7 @@ QPushButton { |
282 | 324 | <zorder>bottomBar</zorder> |
283 | 325 | <zorder>gridLayoutWidget</zorder> |
284 | 326 | <zorder>btnAdjust</zorder> |
327 | + <zorder>btnAdjust_LCD</zorder> | |
285 | 328 | </widget> |
286 | 329 | </widget> |
287 | 330 | <customwidgets> | ... | ... |
app/gui/oven_control/define.h
app/gui/oven_control/fileprocessdlg.cpp
... | ... | @@ -101,7 +101,7 @@ void ProgramCopyWorker::workerMain(){ |
101 | 101 | |
102 | 102 | qDebug() << "File List Copy Finished"; |
103 | 103 | |
104 | - if(QThread::currentThread()->isInterruptionRequested() == false || bRst == false){ | |
104 | + if(QThread::currentThread()->isInterruptionRequested() == false && bRst == true){ | |
105 | 105 | foreach(QString srcpath, m_arrSrcDirList){ |
106 | 106 | qDebug() << "src dir : " << srcpath; |
107 | 107 | |
... | ... | @@ -156,11 +156,11 @@ void ProgramCopyWorker::workerMain(){ |
156 | 156 | if(QThread::currentThread()->isInterruptionRequested() || bRst == false) break; |
157 | 157 | } |
158 | 158 | strdirlist.clear(); |
159 | - if(QThread::currentThread()->isInterruptionRequested()) break; | |
159 | + if(QThread::currentThread()->isInterruptionRequested() || bRst==false) break; | |
160 | 160 | } |
161 | 161 | } |
162 | 162 | qDebug() << "File Copy Complete! SRC File Size = " << nTotalFileSize << "DEST File Size = " << nCpyFileSize; |
163 | - | |
163 | + sync(); | |
164 | 164 | if(QThread::currentThread()->isInterruptionRequested() || bRst == false){ |
165 | 165 | foreach(QString strinfo, m_arrSrcFileList){ |
166 | 166 | QString filepath = strinfo.left(strinfo.indexOf(',',0)+1); |
... | ... | @@ -690,7 +690,7 @@ void FileProcessDlg::programUpload(){ |
690 | 690 | worker.addSrcFile(QString("%1/prime/superdaemon.ini,/prime").arg(strSrcPath)); |
691 | 691 | worker.addSrcFile(QString("%1/prime/app-prime-gui,/prime").arg(strSrcPath)); |
692 | 692 | worker.addSrcFile(QString("%1/prime/app-prime-modbus,/prime").arg(strSrcPath)); |
693 | - worker.addSrcFile(QString("%1/prime/service-web,/prime").arg(strSrcPath)); | |
693 | + //worker.addSrcFile(QString("%1/prime/service-web,/prime").arg(strSrcPath)); //Release 버전 삭제 | |
694 | 694 | worker.addSrcFile(QString("%1/prime/app-prime-gui.md5,/prime").arg(strSrcPath)); |
695 | 695 | worker.addSrcFile(QString("%1/prime/app-prime-modbus.md5,/prime").arg(strSrcPath)); |
696 | 696 | worker.addSrcFile(QString("%1/prime/superdaemon.ini.md5,/prime").arg(strSrcPath)); | ... | ... |