Commit 239d51c8b9c96dde3774c5913ac55b401bace417
1 parent
1528575538
Exists in
master
and in
2 other branches
의무 세척 기능 추가
Showing
35 changed files
with
515 additions
and
11 deletions
Show diff stats
app/gui/oven_control/adjustmentwindow.ui
@@ -44,6 +44,16 @@ | @@ -44,6 +44,16 @@ | ||
44 | </rect> | 44 | </rect> |
45 | </property> | 45 | </property> |
46 | </widget> | 46 | </widget> |
47 | + <widget class="WashWarnIcon" name="label_2"> | ||
48 | + <property name="geometry"> | ||
49 | + <rect> | ||
50 | + <x>800</x> | ||
51 | + <y>320</y> | ||
52 | + <width>80</width> | ||
53 | + <height>84</height> | ||
54 | + </rect> | ||
55 | + </property> | ||
56 | + </widget> | ||
47 | </widget> | 57 | </widget> |
48 | <widget class="QWidget" name="page_2"/> | 58 | <widget class="QWidget" name="page_2"/> |
49 | </widget> | 59 | </widget> |
@@ -248,6 +258,11 @@ QPushButton { | @@ -248,6 +258,11 @@ QPushButton { | ||
248 | <header>clock.h</header> | 258 | <header>clock.h</header> |
249 | <container>1</container> | 259 | <container>1</container> |
250 | </customwidget> | 260 | </customwidget> |
261 | + <customwidget> | ||
262 | + <class>WashWarnIcon</class> | ||
263 | + <extends>QLabel</extends> | ||
264 | + <header>washwarnicon.h</header> | ||
265 | + </customwidget> | ||
251 | </customwidgets> | 266 | </customwidgets> |
252 | <resources> | 267 | <resources> |
253 | <include location="resources.qrc"/> | 268 | <include location="resources.qrc"/> |
app/gui/oven_control/autocookconfigwindow.ui
@@ -88,6 +88,16 @@ border: none; | @@ -88,6 +88,16 @@ border: none; | ||
88 | </rect> | 88 | </rect> |
89 | </property> | 89 | </property> |
90 | </widget> | 90 | </widget> |
91 | + <widget class="WashWarnIcon" name="label"> | ||
92 | + <property name="geometry"> | ||
93 | + <rect> | ||
94 | + <x>800</x> | ||
95 | + <y>320</y> | ||
96 | + <width>80</width> | ||
97 | + <height>84</height> | ||
98 | + </rect> | ||
99 | + </property> | ||
100 | + </widget> | ||
91 | </widget> | 101 | </widget> |
92 | <widget class="QWidget" name="page_2"/> | 102 | <widget class="QWidget" name="page_2"/> |
93 | </widget> | 103 | </widget> |
@@ -1455,6 +1465,11 @@ border-image: url(:/images/button/152_ov.png); | @@ -1455,6 +1465,11 @@ border-image: url(:/images/button/152_ov.png); | ||
1455 | <header>clock.h</header> | 1465 | <header>clock.h</header> |
1456 | <container>1</container> | 1466 | <container>1</container> |
1457 | </customwidget> | 1467 | </customwidget> |
1468 | + <customwidget> | ||
1469 | + <class>WashWarnIcon</class> | ||
1470 | + <extends>QLabel</extends> | ||
1471 | + <header>washwarnicon.h</header> | ||
1472 | + </customwidget> | ||
1458 | </customwidgets> | 1473 | </customwidgets> |
1459 | <resources> | 1474 | <resources> |
1460 | <include location="resources.qrc"/> | 1475 | <include location="resources.qrc"/> |
app/gui/oven_control/autocookselectionwindow.ui
@@ -41,6 +41,16 @@ | @@ -41,6 +41,16 @@ | ||
41 | </rect> | 41 | </rect> |
42 | </property> | 42 | </property> |
43 | </widget> | 43 | </widget> |
44 | + <widget class="WashWarnIcon" name="label"> | ||
45 | + <property name="geometry"> | ||
46 | + <rect> | ||
47 | + <x>800</x> | ||
48 | + <y>320</y> | ||
49 | + <width>80</width> | ||
50 | + <height>84</height> | ||
51 | + </rect> | ||
52 | + </property> | ||
53 | + </widget> | ||
44 | </widget> | 54 | </widget> |
45 | <widget class="QWidget" name="page_2"/> | 55 | <widget class="QWidget" name="page_2"/> |
46 | </widget> | 56 | </widget> |
@@ -174,6 +184,11 @@ QPushButton:pressed { border-image: url(:/images/bottom_bar/help_ov.png); }</str | @@ -174,6 +184,11 @@ QPushButton:pressed { border-image: url(:/images/bottom_bar/help_ov.png); }</str | ||
174 | <header>clock.h</header> | 184 | <header>clock.h</header> |
175 | <container>1</container> | 185 | <container>1</container> |
176 | </customwidget> | 186 | </customwidget> |
187 | + <customwidget> | ||
188 | + <class>WashWarnIcon</class> | ||
189 | + <extends>QLabel</extends> | ||
190 | + <header>washwarnicon.h</header> | ||
191 | + </customwidget> | ||
177 | </customwidgets> | 192 | </customwidgets> |
178 | <resources/> | 193 | <resources/> |
179 | <connections/> | 194 | <connections/> |
app/gui/oven_control/autocookwindow.ui
@@ -47,6 +47,16 @@ border: none; | @@ -47,6 +47,16 @@ border: none; | ||
47 | </rect> | 47 | </rect> |
48 | </property> | 48 | </property> |
49 | </widget> | 49 | </widget> |
50 | + <widget class="WashWarnIcon" name="label"> | ||
51 | + <property name="geometry"> | ||
52 | + <rect> | ||
53 | + <x>800</x> | ||
54 | + <y>320</y> | ||
55 | + <width>80</width> | ||
56 | + <height>84</height> | ||
57 | + </rect> | ||
58 | + </property> | ||
59 | + </widget> | ||
50 | </widget> | 60 | </widget> |
51 | <widget class="QWidget" name="page_2"/> | 61 | <widget class="QWidget" name="page_2"/> |
52 | </widget> | 62 | </widget> |
@@ -1351,12 +1361,6 @@ QPushButton:pressed { border-image: url(:/images/button/152_ov.png); }</string> | @@ -1351,12 +1361,6 @@ QPushButton:pressed { border-image: url(:/images/button/152_ov.png); }</string> | ||
1351 | </widget> | 1361 | </widget> |
1352 | <customwidgets> | 1362 | <customwidgets> |
1353 | <customwidget> | 1363 | <customwidget> |
1354 | - <class>BulletIndicator</class> | ||
1355 | - <extends>QWidget</extends> | ||
1356 | - <header>bulletindicator.h</header> | ||
1357 | - <container>1</container> | ||
1358 | - </customwidget> | ||
1359 | - <customwidget> | ||
1360 | <class>Clock</class> | 1364 | <class>Clock</class> |
1361 | <extends>QWidget</extends> | 1365 | <extends>QWidget</extends> |
1362 | <header>clock.h</header> | 1366 | <header>clock.h</header> |
@@ -1368,6 +1372,17 @@ QPushButton:pressed { border-image: url(:/images/button/152_ov.png); }</string> | @@ -1368,6 +1372,17 @@ QPushButton:pressed { border-image: url(:/images/button/152_ov.png); }</string> | ||
1368 | <header>animatedimagebox.h</header> | 1372 | <header>animatedimagebox.h</header> |
1369 | </customwidget> | 1373 | </customwidget> |
1370 | <customwidget> | 1374 | <customwidget> |
1375 | + <class>WashWarnIcon</class> | ||
1376 | + <extends>QLabel</extends> | ||
1377 | + <header>washwarnicon.h</header> | ||
1378 | + </customwidget> | ||
1379 | + <customwidget> | ||
1380 | + <class>BulletIndicator</class> | ||
1381 | + <extends>QWidget</extends> | ||
1382 | + <header>bulletindicator.h</header> | ||
1383 | + <container>1</container> | ||
1384 | + </customwidget> | ||
1385 | + <customwidget> | ||
1371 | <class>HumidityCircularGauge</class> | 1386 | <class>HumidityCircularGauge</class> |
1372 | <extends>QWidget</extends> | 1387 | <extends>QWidget</extends> |
1373 | <header>humiditycirculargauge.h</header> | 1388 | <header>humiditycirculargauge.h</header> |
app/gui/oven_control/basicsettingwindow.ui
@@ -45,6 +45,16 @@ | @@ -45,6 +45,16 @@ | ||
45 | </rect> | 45 | </rect> |
46 | </property> | 46 | </property> |
47 | </widget> | 47 | </widget> |
48 | + <widget class="WashWarnIcon" name="label"> | ||
49 | + <property name="geometry"> | ||
50 | + <rect> | ||
51 | + <x>800</x> | ||
52 | + <y>320</y> | ||
53 | + <width>80</width> | ||
54 | + <height>84</height> | ||
55 | + </rect> | ||
56 | + </property> | ||
57 | + </widget> | ||
48 | </widget> | 58 | </widget> |
49 | <widget class="QWidget" name="page_2"/> | 59 | <widget class="QWidget" name="page_2"/> |
50 | </widget> | 60 | </widget> |
@@ -404,6 +414,11 @@ QPushButton { text-align: left;} | @@ -404,6 +414,11 @@ QPushButton { text-align: left;} | ||
404 | <header>clock.h</header> | 414 | <header>clock.h</header> |
405 | <container>1</container> | 415 | <container>1</container> |
406 | </customwidget> | 416 | </customwidget> |
417 | + <customwidget> | ||
418 | + <class>WashWarnIcon</class> | ||
419 | + <extends>QLabel</extends> | ||
420 | + <header>washwarnicon.h</header> | ||
421 | + </customwidget> | ||
407 | </customwidgets> | 422 | </customwidgets> |
408 | <resources/> | 423 | <resources/> |
409 | <connections/> | 424 | <connections/> |
app/gui/oven_control/burnertestwindow.ui
@@ -41,6 +41,16 @@ | @@ -41,6 +41,16 @@ | ||
41 | </rect> | 41 | </rect> |
42 | </property> | 42 | </property> |
43 | </widget> | 43 | </widget> |
44 | + <widget class="WashWarnIcon" name="label_7"> | ||
45 | + <property name="geometry"> | ||
46 | + <rect> | ||
47 | + <x>800</x> | ||
48 | + <y>320</y> | ||
49 | + <width>80</width> | ||
50 | + <height>84</height> | ||
51 | + </rect> | ||
52 | + </property> | ||
53 | + </widget> | ||
44 | </widget> | 54 | </widget> |
45 | <widget class="QWidget" name="page_2"/> | 55 | <widget class="QWidget" name="page_2"/> |
46 | </widget> | 56 | </widget> |
@@ -2092,6 +2102,11 @@ QPushButton:pressed { border-image: url(:/images/button/184_ov.png); }</string> | @@ -2092,6 +2102,11 @@ QPushButton:pressed { border-image: url(:/images/button/184_ov.png); }</string> | ||
2092 | <header>clock.h</header> | 2102 | <header>clock.h</header> |
2093 | <container>1</container> | 2103 | <container>1</container> |
2094 | </customwidget> | 2104 | </customwidget> |
2105 | + <customwidget> | ||
2106 | + <class>WashWarnIcon</class> | ||
2107 | + <extends>QLabel</extends> | ||
2108 | + <header>washwarnicon.h</header> | ||
2109 | + </customwidget> | ||
2095 | </customwidgets> | 2110 | </customwidgets> |
2096 | <resources> | 2111 | <resources> |
2097 | <include location="resources.qrc"/> | 2112 | <include location="resources.qrc"/> |
app/gui/oven_control/componenttestwindow.ui
@@ -41,6 +41,16 @@ | @@ -41,6 +41,16 @@ | ||
41 | </rect> | 41 | </rect> |
42 | </property> | 42 | </property> |
43 | </widget> | 43 | </widget> |
44 | + <widget class="WashWarnIcon" name="label_4"> | ||
45 | + <property name="geometry"> | ||
46 | + <rect> | ||
47 | + <x>800</x> | ||
48 | + <y>320</y> | ||
49 | + <width>80</width> | ||
50 | + <height>84</height> | ||
51 | + </rect> | ||
52 | + </property> | ||
53 | + </widget> | ||
44 | </widget> | 54 | </widget> |
45 | <widget class="QWidget" name="page_2"/> | 55 | <widget class="QWidget" name="page_2"/> |
46 | </widget> | 56 | </widget> |
@@ -499,6 +509,11 @@ QPushButton:pressed { border-image: url(:/images/button/184_ov.png); }</string> | @@ -499,6 +509,11 @@ QPushButton:pressed { border-image: url(:/images/button/184_ov.png); }</string> | ||
499 | <header>clock.h</header> | 509 | <header>clock.h</header> |
500 | <container>1</container> | 510 | <container>1</container> |
501 | </customwidget> | 511 | </customwidget> |
512 | + <customwidget> | ||
513 | + <class>WashWarnIcon</class> | ||
514 | + <extends>QLabel</extends> | ||
515 | + <header>washwarnicon.h</header> | ||
516 | + </customwidget> | ||
502 | </customwidgets> | 517 | </customwidgets> |
503 | <resources> | 518 | <resources> |
504 | <include location="resources.qrc"/> | 519 | <include location="resources.qrc"/> |
app/gui/oven_control/configwindow.ui
@@ -80,6 +80,16 @@ background: none; | @@ -80,6 +80,16 @@ background: none; | ||
80 | </rect> | 80 | </rect> |
81 | </property> | 81 | </property> |
82 | </widget> | 82 | </widget> |
83 | + <widget class="WashWarnIcon" name="label"> | ||
84 | + <property name="geometry"> | ||
85 | + <rect> | ||
86 | + <x>800</x> | ||
87 | + <y>320</y> | ||
88 | + <width>80</width> | ||
89 | + <height>84</height> | ||
90 | + </rect> | ||
91 | + </property> | ||
92 | + </widget> | ||
83 | </widget> | 93 | </widget> |
84 | <widget class="QWidget" name="page_2"/> | 94 | <widget class="QWidget" name="page_2"/> |
85 | </widget> | 95 | </widget> |
@@ -545,6 +555,11 @@ QPushButton:pressed { border-image: url(:/images/bottom_bar/help_ov.png); }</str | @@ -545,6 +555,11 @@ QPushButton:pressed { border-image: url(:/images/bottom_bar/help_ov.png); }</str | ||
545 | <header>clock.h</header> | 555 | <header>clock.h</header> |
546 | <container>1</container> | 556 | <container>1</container> |
547 | </customwidget> | 557 | </customwidget> |
558 | + <customwidget> | ||
559 | + <class>WashWarnIcon</class> | ||
560 | + <extends>QLabel</extends> | ||
561 | + <header>washwarnicon.h</header> | ||
562 | + </customwidget> | ||
548 | </customwidgets> | 563 | </customwidgets> |
549 | <resources/> | 564 | <resources/> |
550 | <connections/> | 565 | <connections/> |
app/gui/oven_control/electricmodelsettingwindow.ui
@@ -451,6 +451,16 @@ QPushButton:pressed { border-image: url(:/images/button/379_ov.png); }</string> | @@ -451,6 +451,16 @@ QPushButton:pressed { border-image: url(:/images/button/379_ov.png); }</string> | ||
451 | </rect> | 451 | </rect> |
452 | </property> | 452 | </property> |
453 | </widget> | 453 | </widget> |
454 | + <widget class="WashWarnIcon" name="label"> | ||
455 | + <property name="geometry"> | ||
456 | + <rect> | ||
457 | + <x>800</x> | ||
458 | + <y>320</y> | ||
459 | + <width>80</width> | ||
460 | + <height>84</height> | ||
461 | + </rect> | ||
462 | + </property> | ||
463 | + </widget> | ||
454 | </widget> | 464 | </widget> |
455 | <widget class="QWidget" name="page_2"/> | 465 | <widget class="QWidget" name="page_2"/> |
456 | </widget> | 466 | </widget> |
@@ -463,6 +473,11 @@ QPushButton:pressed { border-image: url(:/images/button/379_ov.png); }</string> | @@ -463,6 +473,11 @@ QPushButton:pressed { border-image: url(:/images/button/379_ov.png); }</string> | ||
463 | <header>clock.h</header> | 473 | <header>clock.h</header> |
464 | <container>1</container> | 474 | <container>1</container> |
465 | </customwidget> | 475 | </customwidget> |
476 | + <customwidget> | ||
477 | + <class>WashWarnIcon</class> | ||
478 | + <extends>QLabel</extends> | ||
479 | + <header>washwarnicon.h</header> | ||
480 | + </customwidget> | ||
466 | </customwidgets> | 481 | </customwidgets> |
467 | <resources/> | 482 | <resources/> |
468 | <connections/> | 483 | <connections/> |
app/gui/oven_control/engineermenuwindow.ui
@@ -44,6 +44,16 @@ | @@ -44,6 +44,16 @@ | ||
44 | </rect> | 44 | </rect> |
45 | </property> | 45 | </property> |
46 | </widget> | 46 | </widget> |
47 | + <widget class="WashWarnIcon" name="label"> | ||
48 | + <property name="geometry"> | ||
49 | + <rect> | ||
50 | + <x>800</x> | ||
51 | + <y>320</y> | ||
52 | + <width>80</width> | ||
53 | + <height>84</height> | ||
54 | + </rect> | ||
55 | + </property> | ||
56 | + </widget> | ||
47 | </widget> | 57 | </widget> |
48 | <widget class="QWidget" name="page_2"/> | 58 | <widget class="QWidget" name="page_2"/> |
49 | </widget> | 59 | </widget> |
@@ -600,6 +610,11 @@ QPushButton { color: rgb(255, 255, 255);text-align: left;padding-left:30px;}</st | @@ -600,6 +610,11 @@ QPushButton { color: rgb(255, 255, 255);text-align: left;padding-left:30px;}</st | ||
600 | <header>clock.h</header> | 610 | <header>clock.h</header> |
601 | <container>1</container> | 611 | <container>1</container> |
602 | </customwidget> | 612 | </customwidget> |
613 | + <customwidget> | ||
614 | + <class>WashWarnIcon</class> | ||
615 | + <extends>QLabel</extends> | ||
616 | + <header>washwarnicon.h</header> | ||
617 | + </customwidget> | ||
603 | </customwidgets> | 618 | </customwidgets> |
604 | <resources/> | 619 | <resources/> |
605 | <connections/> | 620 | <connections/> |
app/gui/oven_control/fantestwindow.ui
@@ -41,6 +41,16 @@ | @@ -41,6 +41,16 @@ | ||
41 | </rect> | 41 | </rect> |
42 | </property> | 42 | </property> |
43 | </widget> | 43 | </widget> |
44 | + <widget class="WashWarnIcon" name="label"> | ||
45 | + <property name="geometry"> | ||
46 | + <rect> | ||
47 | + <x>800</x> | ||
48 | + <y>320</y> | ||
49 | + <width>80</width> | ||
50 | + <height>84</height> | ||
51 | + </rect> | ||
52 | + </property> | ||
53 | + </widget> | ||
44 | </widget> | 54 | </widget> |
45 | <widget class="QWidget" name="page_2"/> | 55 | <widget class="QWidget" name="page_2"/> |
46 | </widget> | 56 | </widget> |
@@ -738,6 +748,11 @@ QPushButton:pressed { border-image: url(:/images/button/184_ov.png); }</string> | @@ -738,6 +748,11 @@ QPushButton:pressed { border-image: url(:/images/button/184_ov.png); }</string> | ||
738 | <header>clock.h</header> | 748 | <header>clock.h</header> |
739 | <container>1</container> | 749 | <container>1</container> |
740 | </customwidget> | 750 | </customwidget> |
751 | + <customwidget> | ||
752 | + <class>WashWarnIcon</class> | ||
753 | + <extends>QLabel</extends> | ||
754 | + <header>washwarnicon.h</header> | ||
755 | + </customwidget> | ||
741 | </customwidgets> | 756 | </customwidgets> |
742 | <resources> | 757 | <resources> |
743 | <include location="resources.qrc"/> | 758 | <include location="resources.qrc"/> |
app/gui/oven_control/functiontestwindow.ui
@@ -47,6 +47,16 @@ | @@ -47,6 +47,16 @@ | ||
47 | </rect> | 47 | </rect> |
48 | </property> | 48 | </property> |
49 | </widget> | 49 | </widget> |
50 | + <widget class="WashWarnIcon" name="label"> | ||
51 | + <property name="geometry"> | ||
52 | + <rect> | ||
53 | + <x>800</x> | ||
54 | + <y>320</y> | ||
55 | + <width>80</width> | ||
56 | + <height>84</height> | ||
57 | + </rect> | ||
58 | + </property> | ||
59 | + </widget> | ||
50 | </widget> | 60 | </widget> |
51 | <widget class="QWidget" name="page_2"/> | 61 | <widget class="QWidget" name="page_2"/> |
52 | </widget> | 62 | </widget> |
@@ -576,6 +586,11 @@ QPushButton:pressed { border-image: url(:/images/bottom_bar/back_ov.png); }</str | @@ -576,6 +586,11 @@ QPushButton:pressed { border-image: url(:/images/bottom_bar/back_ov.png); }</str | ||
576 | <header>clock.h</header> | 586 | <header>clock.h</header> |
577 | <container>1</container> | 587 | <container>1</container> |
578 | </customwidget> | 588 | </customwidget> |
589 | + <customwidget> | ||
590 | + <class>WashWarnIcon</class> | ||
591 | + <extends>QLabel</extends> | ||
592 | + <header>washwarnicon.h</header> | ||
593 | + </customwidget> | ||
579 | </customwidgets> | 594 | </customwidgets> |
580 | <resources/> | 595 | <resources/> |
581 | <connections/> | 596 | <connections/> |
app/gui/oven_control/gasmodelsettingwindow.ui
@@ -539,6 +539,16 @@ QPushButton:pressed { border-image: url(:/images/button/379_ov.png); }</string> | @@ -539,6 +539,16 @@ QPushButton:pressed { border-image: url(:/images/button/379_ov.png); }</string> | ||
539 | </rect> | 539 | </rect> |
540 | </property> | 540 | </property> |
541 | </widget> | 541 | </widget> |
542 | + <widget class="WashWarnIcon" name="label"> | ||
543 | + <property name="geometry"> | ||
544 | + <rect> | ||
545 | + <x>800</x> | ||
546 | + <y>320</y> | ||
547 | + <width>80</width> | ||
548 | + <height>84</height> | ||
549 | + </rect> | ||
550 | + </property> | ||
551 | + </widget> | ||
542 | </widget> | 552 | </widget> |
543 | <widget class="QWidget" name="page_2"/> | 553 | <widget class="QWidget" name="page_2"/> |
544 | </widget> | 554 | </widget> |
@@ -639,6 +649,11 @@ QPushButton:pressed { border-image: url(:/images/button/379_ov.png); }</string> | @@ -639,6 +649,11 @@ QPushButton:pressed { border-image: url(:/images/button/379_ov.png); }</string> | ||
639 | <header>clock.h</header> | 649 | <header>clock.h</header> |
640 | <container>1</container> | 650 | <container>1</container> |
641 | </customwidget> | 651 | </customwidget> |
652 | + <customwidget> | ||
653 | + <class>WashWarnIcon</class> | ||
654 | + <extends>QLabel</extends> | ||
655 | + <header>washwarnicon.h</header> | ||
656 | + </customwidget> | ||
642 | </customwidgets> | 657 | </customwidgets> |
643 | <resources/> | 658 | <resources/> |
644 | <connections/> | 659 | <connections/> |
app/gui/oven_control/gastestwindow.ui
@@ -41,6 +41,16 @@ | @@ -41,6 +41,16 @@ | ||
41 | </rect> | 41 | </rect> |
42 | </property> | 42 | </property> |
43 | </widget> | 43 | </widget> |
44 | + <widget class="WashWarnIcon" name="label"> | ||
45 | + <property name="geometry"> | ||
46 | + <rect> | ||
47 | + <x>800</x> | ||
48 | + <y>320</y> | ||
49 | + <width>80</width> | ||
50 | + <height>84</height> | ||
51 | + </rect> | ||
52 | + </property> | ||
53 | + </widget> | ||
44 | </widget> | 54 | </widget> |
45 | <widget class="QWidget" name="page_2"/> | 55 | <widget class="QWidget" name="page_2"/> |
46 | </widget> | 56 | </widget> |
@@ -120,6 +130,11 @@ QPushButton:pressed { | @@ -120,6 +130,11 @@ QPushButton:pressed { | ||
120 | <header>clock.h</header> | 130 | <header>clock.h</header> |
121 | <container>1</container> | 131 | <container>1</container> |
122 | </customwidget> | 132 | </customwidget> |
133 | + <customwidget> | ||
134 | + <class>WashWarnIcon</class> | ||
135 | + <extends>QLabel</extends> | ||
136 | + <header>washwarnicon.h</header> | ||
137 | + </customwidget> | ||
123 | </customwidgets> | 138 | </customwidgets> |
124 | <resources/> | 139 | <resources/> |
125 | <connections/> | 140 | <connections/> |
app/gui/oven_control/historylistwindow.ui
@@ -199,6 +199,16 @@ QPushButton:pressed { border-image: url(:/images/bottom_bar/006_sys_icon_14_ov.p | @@ -199,6 +199,16 @@ QPushButton:pressed { border-image: url(:/images/bottom_bar/006_sys_icon_14_ov.p | ||
199 | </rect> | 199 | </rect> |
200 | </property> | 200 | </property> |
201 | </widget> | 201 | </widget> |
202 | + <widget class="WashWarnIcon" name="label_5"> | ||
203 | + <property name="geometry"> | ||
204 | + <rect> | ||
205 | + <x>800</x> | ||
206 | + <y>320</y> | ||
207 | + <width>80</width> | ||
208 | + <height>84</height> | ||
209 | + </rect> | ||
210 | + </property> | ||
211 | + </widget> | ||
202 | </widget> | 212 | </widget> |
203 | <widget class="QWidget" name="page_2"/> | 213 | <widget class="QWidget" name="page_2"/> |
204 | </widget> | 214 | </widget> |
@@ -1394,6 +1404,11 @@ QPushButton { text-align:center;}</string> | @@ -1394,6 +1404,11 @@ QPushButton { text-align:center;}</string> | ||
1394 | <header>clock.h</header> | 1404 | <header>clock.h</header> |
1395 | <container>1</container> | 1405 | <container>1</container> |
1396 | </customwidget> | 1406 | </customwidget> |
1407 | + <customwidget> | ||
1408 | + <class>WashWarnIcon</class> | ||
1409 | + <extends>QLabel</extends> | ||
1410 | + <header>washwarnicon.h</header> | ||
1411 | + </customwidget> | ||
1397 | </customwidgets> | 1412 | </customwidgets> |
1398 | <resources/> | 1413 | <resources/> |
1399 | <connections/> | 1414 | <connections/> |
app/gui/oven_control/mainwindow.ui
@@ -599,6 +599,16 @@ QPushButton:pressed, QPushButton:focus { background-image: url(:/images/cook_typ | @@ -599,6 +599,16 @@ QPushButton:pressed, QPushButton:focus { background-image: url(:/images/cook_typ | ||
599 | </rect> | 599 | </rect> |
600 | </property> | 600 | </property> |
601 | </widget> | 601 | </widget> |
602 | + <widget class="WashWarnIcon" name="label"> | ||
603 | + <property name="geometry"> | ||
604 | + <rect> | ||
605 | + <x>800</x> | ||
606 | + <y>320</y> | ||
607 | + <width>80</width> | ||
608 | + <height>84</height> | ||
609 | + </rect> | ||
610 | + </property> | ||
611 | + </widget> | ||
602 | </widget> | 612 | </widget> |
603 | <widget class="QLabel" name="steamLabel_13"> | 613 | <widget class="QLabel" name="steamLabel_13"> |
604 | <property name="enabled"> | 614 | <property name="enabled"> |
@@ -688,6 +698,11 @@ QPushButton:pressed, QPushButton:focus { background-image: url(:/images/cook_typ | @@ -688,6 +698,11 @@ QPushButton:pressed, QPushButton:focus { background-image: url(:/images/cook_typ | ||
688 | <header>clock.h</header> | 698 | <header>clock.h</header> |
689 | <container>1</container> | 699 | <container>1</container> |
690 | </customwidget> | 700 | </customwidget> |
701 | + <customwidget> | ||
702 | + <class>WashWarnIcon</class> | ||
703 | + <extends>QLabel</extends> | ||
704 | + <header>washwarnicon.h</header> | ||
705 | + </customwidget> | ||
691 | </customwidgets> | 706 | </customwidgets> |
692 | <tabstops> | 707 | <tabstops> |
693 | <tabstop>steamButton</tabstop> | 708 | <tabstop>steamButton</tabstop> |
app/gui/oven_control/manualcookwindow.ui
@@ -99,6 +99,16 @@ height: 33px; | @@ -99,6 +99,16 @@ height: 33px; | ||
99 | </rect> | 99 | </rect> |
100 | </property> | 100 | </property> |
101 | </widget> | 101 | </widget> |
102 | + <widget class="WashWarnIcon" name="label_6"> | ||
103 | + <property name="geometry"> | ||
104 | + <rect> | ||
105 | + <x>800</x> | ||
106 | + <y>320</y> | ||
107 | + <width>80</width> | ||
108 | + <height>84</height> | ||
109 | + </rect> | ||
110 | + </property> | ||
111 | + </widget> | ||
102 | </widget> | 112 | </widget> |
103 | <widget class="QWidget" name="closeDoorWidget"> | 113 | <widget class="QWidget" name="closeDoorWidget"> |
104 | <property name="styleSheet"> | 114 | <property name="styleSheet"> |
@@ -2337,6 +2347,11 @@ QPushButton:pressed { background-image: url(:/images/manual_button/ok_ov.png); } | @@ -2337,6 +2347,11 @@ QPushButton:pressed { background-image: url(:/images/manual_button/ok_ov.png); } | ||
2337 | <extends>QLabel</extends> | 2347 | <extends>QLabel</extends> |
2338 | <header>animatedimagebox.h</header> | 2348 | <header>animatedimagebox.h</header> |
2339 | </customwidget> | 2349 | </customwidget> |
2350 | + <customwidget> | ||
2351 | + <class>WashWarnIcon</class> | ||
2352 | + <extends>QLabel</extends> | ||
2353 | + <header>washwarnicon.h</header> | ||
2354 | + </customwidget> | ||
2340 | </customwidgets> | 2355 | </customwidgets> |
2341 | <resources> | 2356 | <resources> |
2342 | <include location="resources.qrc"/> | 2357 | <include location="resources.qrc"/> |
app/gui/oven_control/modelsettingwindow.ui
@@ -363,6 +363,16 @@ QPushButton:pressed { border-image: url(:/images/button/379_ov.png); }</string> | @@ -363,6 +363,16 @@ QPushButton:pressed { border-image: url(:/images/button/379_ov.png); }</string> | ||
363 | </rect> | 363 | </rect> |
364 | </property> | 364 | </property> |
365 | </widget> | 365 | </widget> |
366 | + <widget class="WashWarnIcon" name="label"> | ||
367 | + <property name="geometry"> | ||
368 | + <rect> | ||
369 | + <x>800</x> | ||
370 | + <y>320</y> | ||
371 | + <width>80</width> | ||
372 | + <height>84</height> | ||
373 | + </rect> | ||
374 | + </property> | ||
375 | + </widget> | ||
366 | </widget> | 376 | </widget> |
367 | <widget class="QWidget" name="page_2"/> | 377 | <widget class="QWidget" name="page_2"/> |
368 | </widget> | 378 | </widget> |
@@ -375,6 +385,11 @@ QPushButton:pressed { border-image: url(:/images/button/379_ov.png); }</string> | @@ -375,6 +385,11 @@ QPushButton:pressed { border-image: url(:/images/button/379_ov.png); }</string> | ||
375 | <header>clock.h</header> | 385 | <header>clock.h</header> |
376 | <container>1</container> | 386 | <container>1</container> |
377 | </customwidget> | 387 | </customwidget> |
388 | + <customwidget> | ||
389 | + <class>WashWarnIcon</class> | ||
390 | + <extends>QLabel</extends> | ||
391 | + <header>washwarnicon.h</header> | ||
392 | + </customwidget> | ||
378 | </customwidgets> | 393 | </customwidgets> |
379 | <resources/> | 394 | <resources/> |
380 | <connections/> | 395 | <connections/> |
app/gui/oven_control/operationtimeheat.ui
@@ -45,6 +45,16 @@ | @@ -45,6 +45,16 @@ | ||
45 | </rect> | 45 | </rect> |
46 | </property> | 46 | </property> |
47 | </widget> | 47 | </widget> |
48 | + <widget class="WashWarnIcon" name="label"> | ||
49 | + <property name="geometry"> | ||
50 | + <rect> | ||
51 | + <x>800</x> | ||
52 | + <y>320</y> | ||
53 | + <width>80</width> | ||
54 | + <height>84</height> | ||
55 | + </rect> | ||
56 | + </property> | ||
57 | + </widget> | ||
48 | </widget> | 58 | </widget> |
49 | <widget class="QWidget" name="page_2"/> | 59 | <widget class="QWidget" name="page_2"/> |
50 | </widget> | 60 | </widget> |
@@ -352,6 +362,11 @@ QPushButton { text-align: center;} | @@ -352,6 +362,11 @@ QPushButton { text-align: center;} | ||
352 | <header>clock.h</header> | 362 | <header>clock.h</header> |
353 | <container>1</container> | 363 | <container>1</container> |
354 | </customwidget> | 364 | </customwidget> |
365 | + <customwidget> | ||
366 | + <class>WashWarnIcon</class> | ||
367 | + <extends>QLabel</extends> | ||
368 | + <header>washwarnicon.h</header> | ||
369 | + </customwidget> | ||
355 | </customwidgets> | 370 | </customwidgets> |
356 | <resources/> | 371 | <resources/> |
357 | <connections/> | 372 | <connections/> |
app/gui/oven_control/operationtimemain.ui
@@ -44,6 +44,16 @@ | @@ -44,6 +44,16 @@ | ||
44 | </rect> | 44 | </rect> |
45 | </property> | 45 | </property> |
46 | </widget> | 46 | </widget> |
47 | + <widget class="WashWarnIcon" name="label_2"> | ||
48 | + <property name="geometry"> | ||
49 | + <rect> | ||
50 | + <x>800</x> | ||
51 | + <y>320</y> | ||
52 | + <width>80</width> | ||
53 | + <height>84</height> | ||
54 | + </rect> | ||
55 | + </property> | ||
56 | + </widget> | ||
47 | </widget> | 57 | </widget> |
48 | <widget class="QWidget" name="page_2"/> | 58 | <widget class="QWidget" name="page_2"/> |
49 | </widget> | 59 | </widget> |
@@ -313,6 +323,11 @@ QPushButton { text-align: center;} | @@ -313,6 +323,11 @@ QPushButton { text-align: center;} | ||
313 | <header>clock.h</header> | 323 | <header>clock.h</header> |
314 | <container>1</container> | 324 | <container>1</container> |
315 | </customwidget> | 325 | </customwidget> |
326 | + <customwidget> | ||
327 | + <class>WashWarnIcon</class> | ||
328 | + <extends>QLabel</extends> | ||
329 | + <header>washwarnicon.h</header> | ||
330 | + </customwidget> | ||
316 | </customwidgets> | 331 | </customwidgets> |
317 | <resources> | 332 | <resources> |
318 | <include location="resources.qrc"/> | 333 | <include location="resources.qrc"/> |
app/gui/oven_control/operationtimemode.ui
@@ -45,6 +45,16 @@ | @@ -45,6 +45,16 @@ | ||
45 | </rect> | 45 | </rect> |
46 | </property> | 46 | </property> |
47 | </widget> | 47 | </widget> |
48 | + <widget class="WashWarnIcon" name="label"> | ||
49 | + <property name="geometry"> | ||
50 | + <rect> | ||
51 | + <x>800</x> | ||
52 | + <y>320</y> | ||
53 | + <width>80</width> | ||
54 | + <height>84</height> | ||
55 | + </rect> | ||
56 | + </property> | ||
57 | + </widget> | ||
48 | </widget> | 58 | </widget> |
49 | <widget class="QWidget" name="page_2"/> | 59 | <widget class="QWidget" name="page_2"/> |
50 | </widget> | 60 | </widget> |
@@ -742,6 +752,11 @@ QPushButton { text-align: center;} | @@ -742,6 +752,11 @@ QPushButton { text-align: center;} | ||
742 | <header>clock.h</header> | 752 | <header>clock.h</header> |
743 | <container>1</container> | 753 | <container>1</container> |
744 | </customwidget> | 754 | </customwidget> |
755 | + <customwidget> | ||
756 | + <class>WashWarnIcon</class> | ||
757 | + <extends>QLabel</extends> | ||
758 | + <header>washwarnicon.h</header> | ||
759 | + </customwidget> | ||
745 | </customwidgets> | 760 | </customwidgets> |
746 | <resources/> | 761 | <resources/> |
747 | <connections/> | 762 | <connections/> |
app/gui/oven_control/operationtimeparts.ui
@@ -45,6 +45,16 @@ | @@ -45,6 +45,16 @@ | ||
45 | </rect> | 45 | </rect> |
46 | </property> | 46 | </property> |
47 | </widget> | 47 | </widget> |
48 | + <widget class="WashWarnIcon" name="label"> | ||
49 | + <property name="geometry"> | ||
50 | + <rect> | ||
51 | + <x>800</x> | ||
52 | + <y>320</y> | ||
53 | + <width>80</width> | ||
54 | + <height>84</height> | ||
55 | + </rect> | ||
56 | + </property> | ||
57 | + </widget> | ||
48 | </widget> | 58 | </widget> |
49 | <widget class="QWidget" name="page_2"/> | 59 | <widget class="QWidget" name="page_2"/> |
50 | </widget> | 60 | </widget> |
@@ -1045,6 +1055,11 @@ QPushButton { text-align: center;} | @@ -1045,6 +1055,11 @@ QPushButton { text-align: center;} | ||
1045 | <header>clock.h</header> | 1055 | <header>clock.h</header> |
1046 | <container>1</container> | 1056 | <container>1</container> |
1047 | </customwidget> | 1057 | </customwidget> |
1058 | + <customwidget> | ||
1059 | + <class>WashWarnIcon</class> | ||
1060 | + <extends>QLabel</extends> | ||
1061 | + <header>washwarnicon.h</header> | ||
1062 | + </customwidget> | ||
1048 | </customwidgets> | 1063 | </customwidgets> |
1049 | <resources/> | 1064 | <resources/> |
1050 | <connections/> | 1065 | <connections/> |
app/gui/oven_control/oven_control.pro
@@ -101,7 +101,8 @@ SOURCES += main.cpp\ | @@ -101,7 +101,8 @@ SOURCES += main.cpp\ | ||
101 | system.cpp \ | 101 | system.cpp \ |
102 | servicepassinputdlg.cpp \ | 102 | servicepassinputdlg.cpp \ |
103 | backlight.cpp \ | 103 | backlight.cpp \ |
104 | - dirtylevel.cpp | 104 | + dirtylevel.cpp \ |
105 | + washwarnicon.cpp | ||
105 | 106 | ||
106 | HEADERS += mainwindow.h \ | 107 | HEADERS += mainwindow.h \ |
107 | cook.h \ | 108 | cook.h \ |
@@ -192,7 +193,8 @@ HEADERS += mainwindow.h \ | @@ -192,7 +193,8 @@ HEADERS += mainwindow.h \ | ||
192 | system.h \ | 193 | system.h \ |
193 | servicepassinputdlg.h \ | 194 | servicepassinputdlg.h \ |
194 | backlight.h \ | 195 | backlight.h \ |
195 | - dirtylevel.h | 196 | + dirtylevel.h \ |
197 | + washwarnicon.h | ||
196 | 198 | ||
197 | FORMS += mainwindow.ui \ | 199 | FORMS += mainwindow.ui \ |
198 | manualcookwindow.ui \ | 200 | manualcookwindow.ui \ |
app/gui/oven_control/primewindow.ui
@@ -262,6 +262,16 @@ QPushButton:pressed { border-image: url(:/images/bottom_bar/config_ov.png); }</s | @@ -262,6 +262,16 @@ QPushButton:pressed { border-image: url(:/images/bottom_bar/config_ov.png); }</s | ||
262 | </rect> | 262 | </rect> |
263 | </property> | 263 | </property> |
264 | </widget> | 264 | </widget> |
265 | + <widget class="WashWarnIcon" name="label"> | ||
266 | + <property name="geometry"> | ||
267 | + <rect> | ||
268 | + <x>800</x> | ||
269 | + <y>320</y> | ||
270 | + <width>80</width> | ||
271 | + <height>84</height> | ||
272 | + </rect> | ||
273 | + </property> | ||
274 | + </widget> | ||
265 | </widget> | 275 | </widget> |
266 | <widget class="QWidget" name="page_2"/> | 276 | <widget class="QWidget" name="page_2"/> |
267 | </widget> | 277 | </widget> |
@@ -311,6 +321,11 @@ QPushButton:pressed { border-image: url(:/images/bottom_bar/config_ov.png); }</s | @@ -311,6 +321,11 @@ QPushButton:pressed { border-image: url(:/images/bottom_bar/config_ov.png); }</s | ||
311 | <header>clock.h</header> | 321 | <header>clock.h</header> |
312 | <container>1</container> | 322 | <container>1</container> |
313 | </customwidget> | 323 | </customwidget> |
324 | + <customwidget> | ||
325 | + <class>WashWarnIcon</class> | ||
326 | + <extends>QLabel</extends> | ||
327 | + <header>washwarnicon.h</header> | ||
328 | + </customwidget> | ||
314 | </customwidgets> | 329 | </customwidgets> |
315 | <resources/> | 330 | <resources/> |
316 | <connections/> | 331 | <connections/> |
app/gui/oven_control/programmingwindow.ui
@@ -61,6 +61,16 @@ image-position: bottom; | @@ -61,6 +61,16 @@ image-position: bottom; | ||
61 | </rect> | 61 | </rect> |
62 | </property> | 62 | </property> |
63 | </widget> | 63 | </widget> |
64 | + <widget class="WashWarnIcon" name="label"> | ||
65 | + <property name="geometry"> | ||
66 | + <rect> | ||
67 | + <x>800</x> | ||
68 | + <y>320</y> | ||
69 | + <width>80</width> | ||
70 | + <height>84</height> | ||
71 | + </rect> | ||
72 | + </property> | ||
73 | + </widget> | ||
64 | </widget> | 74 | </widget> |
65 | <widget class="QWidget" name="page_2"/> | 75 | <widget class="QWidget" name="page_2"/> |
66 | </widget> | 76 | </widget> |
@@ -198,6 +208,11 @@ QPushButton:pressed { background-image: url(:/images/etc/main_btn_02_ov.png); }< | @@ -198,6 +208,11 @@ QPushButton:pressed { background-image: url(:/images/etc/main_btn_02_ov.png); }< | ||
198 | <header>clock.h</header> | 208 | <header>clock.h</header> |
199 | <container>1</container> | 209 | <container>1</container> |
200 | </customwidget> | 210 | </customwidget> |
211 | + <customwidget> | ||
212 | + <class>WashWarnIcon</class> | ||
213 | + <extends>QLabel</extends> | ||
214 | + <header>washwarnicon.h</header> | ||
215 | + </customwidget> | ||
201 | </customwidgets> | 216 | </customwidgets> |
202 | <resources/> | 217 | <resources/> |
203 | <connections/> | 218 | <connections/> |
app/gui/oven_control/realtimemain.ui
@@ -44,6 +44,16 @@ | @@ -44,6 +44,16 @@ | ||
44 | </rect> | 44 | </rect> |
45 | </property> | 45 | </property> |
46 | </widget> | 46 | </widget> |
47 | + <widget class="WashWarnIcon" name="label_2"> | ||
48 | + <property name="geometry"> | ||
49 | + <rect> | ||
50 | + <x>800</x> | ||
51 | + <y>320</y> | ||
52 | + <width>80</width> | ||
53 | + <height>84</height> | ||
54 | + </rect> | ||
55 | + </property> | ||
56 | + </widget> | ||
47 | </widget> | 57 | </widget> |
48 | <widget class="QWidget" name="page_2"/> | 58 | <widget class="QWidget" name="page_2"/> |
49 | </widget> | 59 | </widget> |
@@ -277,6 +287,11 @@ QPushButton { text-align: center;} | @@ -277,6 +287,11 @@ QPushButton { text-align: center;} | ||
277 | <header>clock.h</header> | 287 | <header>clock.h</header> |
278 | <container>1</container> | 288 | <container>1</container> |
279 | </customwidget> | 289 | </customwidget> |
290 | + <customwidget> | ||
291 | + <class>WashWarnIcon</class> | ||
292 | + <extends>QLabel</extends> | ||
293 | + <header>washwarnicon.h</header> | ||
294 | + </customwidget> | ||
280 | </customwidgets> | 295 | </customwidgets> |
281 | <resources> | 296 | <resources> |
282 | <include location="resources.qrc"/> | 297 | <include location="resources.qrc"/> |
app/gui/oven_control/realtimepartswindow.ui
@@ -45,6 +45,16 @@ | @@ -45,6 +45,16 @@ | ||
45 | </rect> | 45 | </rect> |
46 | </property> | 46 | </property> |
47 | </widget> | 47 | </widget> |
48 | + <widget class="WashWarnIcon" name="label"> | ||
49 | + <property name="geometry"> | ||
50 | + <rect> | ||
51 | + <x>800</x> | ||
52 | + <y>320</y> | ||
53 | + <width>80</width> | ||
54 | + <height>84</height> | ||
55 | + </rect> | ||
56 | + </property> | ||
57 | + </widget> | ||
48 | </widget> | 58 | </widget> |
49 | <widget class="QWidget" name="page_2"/> | 59 | <widget class="QWidget" name="page_2"/> |
50 | </widget> | 60 | </widget> |
@@ -998,6 +1008,11 @@ QPushButton { text-align: center;} | @@ -998,6 +1008,11 @@ QPushButton { text-align: center;} | ||
998 | <header>clock.h</header> | 1008 | <header>clock.h</header> |
999 | <container>1</container> | 1009 | <container>1</container> |
1000 | </customwidget> | 1010 | </customwidget> |
1011 | + <customwidget> | ||
1012 | + <class>WashWarnIcon</class> | ||
1013 | + <extends>QLabel</extends> | ||
1014 | + <header>washwarnicon.h</header> | ||
1015 | + </customwidget> | ||
1001 | </customwidgets> | 1016 | </customwidgets> |
1002 | <resources/> | 1017 | <resources/> |
1003 | <connections/> | 1018 | <connections/> |
app/gui/oven_control/realtimesensorwindow.ui
@@ -45,6 +45,16 @@ | @@ -45,6 +45,16 @@ | ||
45 | </rect> | 45 | </rect> |
46 | </property> | 46 | </property> |
47 | </widget> | 47 | </widget> |
48 | + <widget class="WashWarnIcon" name="label"> | ||
49 | + <property name="geometry"> | ||
50 | + <rect> | ||
51 | + <x>800</x> | ||
52 | + <y>320</y> | ||
53 | + <width>80</width> | ||
54 | + <height>84</height> | ||
55 | + </rect> | ||
56 | + </property> | ||
57 | + </widget> | ||
48 | </widget> | 58 | </widget> |
49 | <widget class="QWidget" name="page_2"/> | 59 | <widget class="QWidget" name="page_2"/> |
50 | </widget> | 60 | </widget> |
@@ -1332,6 +1342,11 @@ QPushButton { text-align: center;} | @@ -1332,6 +1342,11 @@ QPushButton { text-align: center;} | ||
1332 | <header>clock.h</header> | 1342 | <header>clock.h</header> |
1333 | <container>1</container> | 1343 | <container>1</container> |
1334 | </customwidget> | 1344 | </customwidget> |
1345 | + <customwidget> | ||
1346 | + <class>WashWarnIcon</class> | ||
1347 | + <extends>QLabel</extends> | ||
1348 | + <header>washwarnicon.h</header> | ||
1349 | + </customwidget> | ||
1335 | </customwidgets> | 1350 | </customwidgets> |
1336 | <resources/> | 1351 | <resources/> |
1337 | <connections/> | 1352 | <connections/> |
app/gui/oven_control/resources.qrc
@@ -545,5 +545,6 @@ | @@ -545,5 +545,6 @@ | ||
545 | <file>images/config/105_icon_download_ov.png</file> | 545 | <file>images/config/105_icon_download_ov.png</file> |
546 | <file>images/config/105_icon_download.png</file> | 546 | <file>images/config/105_icon_download.png</file> |
547 | <file>images/config/111_icon_upload.png</file> | 547 | <file>images/config/111_icon_upload.png</file> |
548 | + <file>images/symbol/wash.png</file> | ||
548 | </qresource> | 549 | </qresource> |
549 | </RCC> | 550 | </RCC> |
app/gui/oven_control/servicehistorymain.ui
@@ -44,6 +44,16 @@ | @@ -44,6 +44,16 @@ | ||
44 | </rect> | 44 | </rect> |
45 | </property> | 45 | </property> |
46 | </widget> | 46 | </widget> |
47 | + <widget class="WashWarnIcon" name="label_2"> | ||
48 | + <property name="geometry"> | ||
49 | + <rect> | ||
50 | + <x>800</x> | ||
51 | + <y>320</y> | ||
52 | + <width>80</width> | ||
53 | + <height>84</height> | ||
54 | + </rect> | ||
55 | + </property> | ||
56 | + </widget> | ||
47 | </widget> | 57 | </widget> |
48 | <widget class="QWidget" name="page_2"/> | 58 | <widget class="QWidget" name="page_2"/> |
49 | </widget> | 59 | </widget> |
@@ -349,6 +359,11 @@ QPushButton { text-align: center;} | @@ -349,6 +359,11 @@ QPushButton { text-align: center;} | ||
349 | <header>clock.h</header> | 359 | <header>clock.h</header> |
350 | <container>1</container> | 360 | <container>1</container> |
351 | </customwidget> | 361 | </customwidget> |
362 | + <customwidget> | ||
363 | + <class>WashWarnIcon</class> | ||
364 | + <extends>QLabel</extends> | ||
365 | + <header>washwarnicon.h</header> | ||
366 | + </customwidget> | ||
352 | </customwidgets> | 367 | </customwidgets> |
353 | <resources> | 368 | <resources> |
354 | <include location="resources.qrc"/> | 369 | <include location="resources.qrc"/> |
app/gui/oven_control/valvetestwindow.ui
@@ -41,6 +41,16 @@ | @@ -41,6 +41,16 @@ | ||
41 | </rect> | 41 | </rect> |
42 | </property> | 42 | </property> |
43 | </widget> | 43 | </widget> |
44 | + <widget class="WashWarnIcon" name="label_16"> | ||
45 | + <property name="geometry"> | ||
46 | + <rect> | ||
47 | + <x>800</x> | ||
48 | + <y>320</y> | ||
49 | + <width>80</width> | ||
50 | + <height>84</height> | ||
51 | + </rect> | ||
52 | + </property> | ||
53 | + </widget> | ||
44 | </widget> | 54 | </widget> |
45 | <widget class="QWidget" name="page_2"/> | 55 | <widget class="QWidget" name="page_2"/> |
46 | </widget> | 56 | </widget> |
@@ -1163,6 +1173,11 @@ QPushButton:pressed { border-image: url(:/images/button/184_ov.png); }</string> | @@ -1163,6 +1173,11 @@ QPushButton:pressed { border-image: url(:/images/button/184_ov.png); }</string> | ||
1163 | <header>clock.h</header> | 1173 | <header>clock.h</header> |
1164 | <container>1</container> | 1174 | <container>1</container> |
1165 | </customwidget> | 1175 | </customwidget> |
1176 | + <customwidget> | ||
1177 | + <class>WashWarnIcon</class> | ||
1178 | + <extends>QLabel</extends> | ||
1179 | + <header>washwarnicon.h</header> | ||
1180 | + </customwidget> | ||
1166 | </customwidgets> | 1181 | </customwidgets> |
1167 | <resources> | 1182 | <resources> |
1168 | <include location="resources.qrc"/> | 1183 | <include location="resources.qrc"/> |
app/gui/oven_control/washtestwindow.ui
@@ -41,6 +41,16 @@ | @@ -41,6 +41,16 @@ | ||
41 | </rect> | 41 | </rect> |
42 | </property> | 42 | </property> |
43 | </widget> | 43 | </widget> |
44 | + <widget class="WashWarnIcon" name="label_14"> | ||
45 | + <property name="geometry"> | ||
46 | + <rect> | ||
47 | + <x>800</x> | ||
48 | + <y>320</y> | ||
49 | + <width>80</width> | ||
50 | + <height>84</height> | ||
51 | + </rect> | ||
52 | + </property> | ||
53 | + </widget> | ||
44 | </widget> | 54 | </widget> |
45 | <widget class="QWidget" name="page_2"/> | 55 | <widget class="QWidget" name="page_2"/> |
46 | </widget> | 56 | </widget> |
@@ -649,6 +659,11 @@ QPushButton:pressed { border-image: url(:/images/button/184_ov.png); }</string> | @@ -649,6 +659,11 @@ QPushButton:pressed { border-image: url(:/images/button/184_ov.png); }</string> | ||
649 | <header>clock.h</header> | 659 | <header>clock.h</header> |
650 | <container>1</container> | 660 | <container>1</container> |
651 | </customwidget> | 661 | </customwidget> |
662 | + <customwidget> | ||
663 | + <class>WashWarnIcon</class> | ||
664 | + <extends>QLabel</extends> | ||
665 | + <header>washwarnicon.h</header> | ||
666 | + </customwidget> | ||
652 | </customwidgets> | 667 | </customwidgets> |
653 | <resources> | 668 | <resources> |
654 | <include location="resources.qrc"/> | 669 | <include location="resources.qrc"/> |
app/gui/oven_control/washwarnicon.cpp
1 | #include "washwarnicon.h" | 1 | #include "washwarnicon.h" |
2 | 2 | ||
3 | -WashWarnIcon::WashWarnIcon() | 3 | +#include "config.h" |
4 | +#include "dirtylevel.h" | ||
5 | + | ||
6 | +QPixmap *WashWarnIcon::icon = NULL; | ||
7 | + | ||
8 | +WashWarnIcon::WashWarnIcon(QWidget *parent) : QLabel(parent) | ||
4 | { | 9 | { |
10 | + if (icon == NULL) | ||
11 | + icon = new QPixmap(":/images/symbol/wash.png"); | ||
12 | + | ||
13 | + connect(&timer, SIGNAL(timeout()), SLOT(check())); | ||
14 | + timer.start(1000); | ||
15 | + | ||
16 | + setPixmap(*icon); | ||
5 | 17 | ||
18 | + check(); | ||
6 | } | 19 | } |
20 | + | ||
21 | +void WashWarnIcon::check() | ||
22 | +{ | ||
23 | + Define::config_item item = Config::getInstance()->getConfigValue(Define::config_duty_wash); | ||
24 | + if (item.d32 == 0) | ||
25 | + hide(); | ||
26 | + else if (DirtyLevel::dirty() > 0 || DirtyLevel::state() > 0) | ||
27 | + show(); | ||
28 | + else | ||
29 | + hide(); | ||
30 | +} | ||
31 | + |
app/gui/oven_control/washwarnicon.h
@@ -2,10 +2,21 @@ | @@ -2,10 +2,21 @@ | ||
2 | #define WASHWARNICON_H | 2 | #define WASHWARNICON_H |
3 | 3 | ||
4 | 4 | ||
5 | +#include <QLabel> | ||
6 | +#include <QTimer> | ||
7 | + | ||
5 | class WashWarnIcon : public QLabel | 8 | class WashWarnIcon : public QLabel |
6 | { | 9 | { |
10 | + Q_OBJECT | ||
11 | + | ||
12 | + static QPixmap *icon; | ||
13 | + QTimer timer; | ||
14 | + | ||
7 | public: | 15 | public: |
8 | - WashWarnIcon(); | 16 | + explicit WashWarnIcon(QWidget *parent = 0); |
17 | + | ||
18 | +private slots: | ||
19 | + void check(); | ||
9 | }; | 20 | }; |
10 | 21 | ||
11 | -#endif // WASHWARNICON_H | ||
12 | \ No newline at end of file | 22 | \ No newline at end of file |
23 | +#endif // WASHWARNICON_H |
app/gui/oven_control/washwindow.ui
@@ -84,6 +84,16 @@ border: none; | @@ -84,6 +84,16 @@ border: none; | ||
84 | </rect> | 84 | </rect> |
85 | </property> | 85 | </property> |
86 | </widget> | 86 | </widget> |
87 | + <widget class="WashWarnIcon" name="label_2"> | ||
88 | + <property name="geometry"> | ||
89 | + <rect> | ||
90 | + <x>800</x> | ||
91 | + <y>320</y> | ||
92 | + <width>80</width> | ||
93 | + <height>84</height> | ||
94 | + </rect> | ||
95 | + </property> | ||
96 | + </widget> | ||
87 | </widget> | 97 | </widget> |
88 | <widget class="QWidget" name="progressContainer"> | 98 | <widget class="QWidget" name="progressContainer"> |
89 | <property name="styleSheet"> | 99 | <property name="styleSheet"> |
@@ -1167,6 +1177,11 @@ QPushButton:pressed { image: url(:/images/slider_icon/clean_ov.png); }</string> | @@ -1167,6 +1177,11 @@ QPushButton:pressed { image: url(:/images/slider_icon/clean_ov.png); }</string> | ||
1167 | <header>washstepgauge.h</header> | 1177 | <header>washstepgauge.h</header> |
1168 | <container>1</container> | 1178 | <container>1</container> |
1169 | </customwidget> | 1179 | </customwidget> |
1180 | + <customwidget> | ||
1181 | + <class>WashWarnIcon</class> | ||
1182 | + <extends>QLabel</extends> | ||
1183 | + <header>washwarnicon.h</header> | ||
1184 | + </customwidget> | ||
1170 | </customwidgets> | 1185 | </customwidgets> |
1171 | <resources> | 1186 | <resources> |
1172 | <include location="resources.qrc"/> | 1187 | <include location="resources.qrc"/> |