Commit 22f83e90f6ded256b43ef80c22d89b3ed06ea1ff
1 parent
14b44676e4
Exists in
master
and in
2 other branches
모델 설정 UI 추가
Showing
13 changed files
with
1766 additions
and
4 deletions
Show diff stats
app/gui/oven_control/electricmodelsettingwindow.cpp
| ... | ... | @@ -0,0 +1,42 @@ |
| 1 | +#include "electricmodelsettingwindow.h" | |
| 2 | +#include "ui_electricmodelsettingwindow.h" | |
| 3 | + | |
| 4 | +ElectricModelSettingWindow::ElectricModelSettingWindow(QWidget *parent) : | |
| 5 | + QMainWindow(parent), | |
| 6 | + ui(new Ui::ElectricModelSettingWindow) | |
| 7 | +{ | |
| 8 | + ui->setupUi(this); | |
| 9 | + | |
| 10 | + ui->clockContainer->setParent(ui->upperStack); | |
| 11 | + setAttribute(Qt::WA_DeleteOnClose); | |
| 12 | +} | |
| 13 | + | |
| 14 | +ElectricModelSettingWindow::~ElectricModelSettingWindow() | |
| 15 | +{ | |
| 16 | + delete ui; | |
| 17 | +} | |
| 18 | + | |
| 19 | +void ElectricModelSettingWindow::on_e10Button_clicked() | |
| 20 | +{ | |
| 21 | + | |
| 22 | +} | |
| 23 | + | |
| 24 | +void ElectricModelSettingWindow::on_e20Button_clicked() | |
| 25 | +{ | |
| 26 | + | |
| 27 | +} | |
| 28 | + | |
| 29 | +void ElectricModelSettingWindow::on_e24Button_clicked() | |
| 30 | +{ | |
| 31 | + | |
| 32 | +} | |
| 33 | + | |
| 34 | +void ElectricModelSettingWindow::on_e40Button_clicked() | |
| 35 | +{ | |
| 36 | + | |
| 37 | +} | |
| 38 | + | |
| 39 | +void ElectricModelSettingWindow::on_backButton_clicked() | |
| 40 | +{ | |
| 41 | + close(); | |
| 42 | +} | ... | ... |
app/gui/oven_control/electricmodelsettingwindow.h
| ... | ... | @@ -0,0 +1,33 @@ |
| 1 | +#ifndef ELECTRICMODELSETTINGWINDOW_H | |
| 2 | +#define ELECTRICMODELSETTINGWINDOW_H | |
| 3 | + | |
| 4 | +#include <QMainWindow> | |
| 5 | + | |
| 6 | +namespace Ui { | |
| 7 | +class ElectricModelSettingWindow; | |
| 8 | +} | |
| 9 | + | |
| 10 | +class ElectricModelSettingWindow : public QMainWindow | |
| 11 | +{ | |
| 12 | + Q_OBJECT | |
| 13 | + | |
| 14 | +public: | |
| 15 | + explicit ElectricModelSettingWindow(QWidget *parent = 0); | |
| 16 | + ~ElectricModelSettingWindow(); | |
| 17 | + | |
| 18 | +private slots: | |
| 19 | + void on_e10Button_clicked(); | |
| 20 | + | |
| 21 | + void on_e20Button_clicked(); | |
| 22 | + | |
| 23 | + void on_e24Button_clicked(); | |
| 24 | + | |
| 25 | + void on_e40Button_clicked(); | |
| 26 | + | |
| 27 | + void on_backButton_clicked(); | |
| 28 | + | |
| 29 | +private: | |
| 30 | + Ui::ElectricModelSettingWindow *ui; | |
| 31 | +}; | |
| 32 | + | |
| 33 | +#endif // ELECTRICMODELSETTINGWINDOW_H | ... | ... |
app/gui/oven_control/electricmodelsettingwindow.ui
| ... | ... | @@ -0,0 +1,469 @@ |
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | +<ui version="4.0"> | |
| 3 | + <class>ElectricModelSettingWindow</class> | |
| 4 | + <widget class="QMainWindow" name="ElectricModelSettingWindow"> | |
| 5 | + <property name="geometry"> | |
| 6 | + <rect> | |
| 7 | + <x>0</x> | |
| 8 | + <y>0</y> | |
| 9 | + <width>900</width> | |
| 10 | + <height>1600</height> | |
| 11 | + </rect> | |
| 12 | + </property> | |
| 13 | + <property name="windowTitle"> | |
| 14 | + <string>MainWindow</string> | |
| 15 | + </property> | |
| 16 | + <property name="styleSheet"> | |
| 17 | + <string notr="true">#centralwidget { background-image: url(:/images/background/config_service.png); } | |
| 18 | +#bottomBar { background-image: url(:/images/bottom_bar/background.png); }</string> | |
| 19 | + </property> | |
| 20 | + <widget class="QWidget" name="centralwidget"> | |
| 21 | + <widget class="QPushButton" name="e24Button"> | |
| 22 | + <property name="geometry"> | |
| 23 | + <rect> | |
| 24 | + <x>127</x> | |
| 25 | + <y>804</y> | |
| 26 | + <width>379</width> | |
| 27 | + <height>70</height> | |
| 28 | + </rect> | |
| 29 | + </property> | |
| 30 | + <property name="sizePolicy"> | |
| 31 | + <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> | |
| 32 | + <horstretch>0</horstretch> | |
| 33 | + <verstretch>0</verstretch> | |
| 34 | + </sizepolicy> | |
| 35 | + </property> | |
| 36 | + <property name="font"> | |
| 37 | + <font> | |
| 38 | + <family>NanumGothic</family> | |
| 39 | + <pointsize>10</pointsize> | |
| 40 | + <weight>75</weight> | |
| 41 | + <bold>true</bold> | |
| 42 | + </font> | |
| 43 | + </property> | |
| 44 | + <property name="styleSheet"> | |
| 45 | + <string notr="true">QPushButton { border-image: url(:/images/button/379.png); } | |
| 46 | +QPushButton:pressed { border-image: url(:/images/button/379_ov.png); }</string> | |
| 47 | + </property> | |
| 48 | + <property name="text"> | |
| 49 | + <string>24단</string> | |
| 50 | + </property> | |
| 51 | + </widget> | |
| 52 | + <widget class="QWidget" name="widget" native="true"> | |
| 53 | + <property name="geometry"> | |
| 54 | + <rect> | |
| 55 | + <x>39</x> | |
| 56 | + <y>525</y> | |
| 57 | + <width>821</width> | |
| 58 | + <height>65</height> | |
| 59 | + </rect> | |
| 60 | + </property> | |
| 61 | + <property name="styleSheet"> | |
| 62 | + <string notr="true">background-image: url(:/images/config/pannel.png);</string> | |
| 63 | + </property> | |
| 64 | + </widget> | |
| 65 | + <widget class="Line" name="line_2"> | |
| 66 | + <property name="geometry"> | |
| 67 | + <rect> | |
| 68 | + <x>100</x> | |
| 69 | + <y>580</y> | |
| 70 | + <width>1</width> | |
| 71 | + <height>354</height> | |
| 72 | + </rect> | |
| 73 | + </property> | |
| 74 | + <property name="orientation"> | |
| 75 | + <enum>Qt::Vertical</enum> | |
| 76 | + </property> | |
| 77 | + </widget> | |
| 78 | + <widget class="Line" name="line_5"> | |
| 79 | + <property name="geometry"> | |
| 80 | + <rect> | |
| 81 | + <x>100</x> | |
| 82 | + <y>933</y> | |
| 83 | + <width>30</width> | |
| 84 | + <height>1</height> | |
| 85 | + </rect> | |
| 86 | + </property> | |
| 87 | + <property name="orientation"> | |
| 88 | + <enum>Qt::Horizontal</enum> | |
| 89 | + </property> | |
| 90 | + </widget> | |
| 91 | + <widget class="QLabel" name="label_16"> | |
| 92 | + <property name="geometry"> | |
| 93 | + <rect> | |
| 94 | + <x>80</x> | |
| 95 | + <y>525</y> | |
| 96 | + <width>500</width> | |
| 97 | + <height>65</height> | |
| 98 | + </rect> | |
| 99 | + </property> | |
| 100 | + <property name="palette"> | |
| 101 | + <palette> | |
| 102 | + <active> | |
| 103 | + <colorrole role="WindowText"> | |
| 104 | + <brush brushstyle="SolidPattern"> | |
| 105 | + <color alpha="255"> | |
| 106 | + <red>255</red> | |
| 107 | + <green>255</green> | |
| 108 | + <blue>255</blue> | |
| 109 | + </color> | |
| 110 | + </brush> | |
| 111 | + </colorrole> | |
| 112 | + </active> | |
| 113 | + <inactive> | |
| 114 | + <colorrole role="WindowText"> | |
| 115 | + <brush brushstyle="SolidPattern"> | |
| 116 | + <color alpha="255"> | |
| 117 | + <red>255</red> | |
| 118 | + <green>255</green> | |
| 119 | + <blue>255</blue> | |
| 120 | + </color> | |
| 121 | + </brush> | |
| 122 | + </colorrole> | |
| 123 | + </inactive> | |
| 124 | + <disabled> | |
| 125 | + <colorrole role="WindowText"> | |
| 126 | + <brush brushstyle="SolidPattern"> | |
| 127 | + <color alpha="255"> | |
| 128 | + <red>123</red> | |
| 129 | + <green>123</green> | |
| 130 | + <blue>123</blue> | |
| 131 | + </color> | |
| 132 | + </brush> | |
| 133 | + </colorrole> | |
| 134 | + </disabled> | |
| 135 | + </palette> | |
| 136 | + </property> | |
| 137 | + <property name="font"> | |
| 138 | + <font> | |
| 139 | + <family>Malgun Gothic</family> | |
| 140 | + <pointsize>11</pointsize> | |
| 141 | + <weight>50</weight> | |
| 142 | + <bold>false</bold> | |
| 143 | + </font> | |
| 144 | + </property> | |
| 145 | + <property name="text"> | |
| 146 | + <string>제품모델설정</string> | |
| 147 | + </property> | |
| 148 | + </widget> | |
| 149 | + <widget class="QPushButton" name="e40Button"> | |
| 150 | + <property name="geometry"> | |
| 151 | + <rect> | |
| 152 | + <x>127</x> | |
| 153 | + <y>898</y> | |
| 154 | + <width>379</width> | |
| 155 | + <height>70</height> | |
| 156 | + </rect> | |
| 157 | + </property> | |
| 158 | + <property name="sizePolicy"> | |
| 159 | + <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> | |
| 160 | + <horstretch>0</horstretch> | |
| 161 | + <verstretch>0</verstretch> | |
| 162 | + </sizepolicy> | |
| 163 | + </property> | |
| 164 | + <property name="font"> | |
| 165 | + <font> | |
| 166 | + <family>NanumGothic</family> | |
| 167 | + <pointsize>10</pointsize> | |
| 168 | + <weight>75</weight> | |
| 169 | + <bold>true</bold> | |
| 170 | + </font> | |
| 171 | + </property> | |
| 172 | + <property name="styleSheet"> | |
| 173 | + <string notr="true">QPushButton { border-image: url(:/images/button/379.png); } | |
| 174 | +QPushButton:pressed { border-image: url(:/images/button/379_ov.png); }</string> | |
| 175 | + </property> | |
| 176 | + <property name="text"> | |
| 177 | + <string>40단</string> | |
| 178 | + </property> | |
| 179 | + </widget> | |
| 180 | + <widget class="QLabel" name="label_15"> | |
| 181 | + <property name="geometry"> | |
| 182 | + <rect> | |
| 183 | + <x>55</x> | |
| 184 | + <y>426</y> | |
| 185 | + <width>845</width> | |
| 186 | + <height>84</height> | |
| 187 | + </rect> | |
| 188 | + </property> | |
| 189 | + <property name="palette"> | |
| 190 | + <palette> | |
| 191 | + <active> | |
| 192 | + <colorrole role="WindowText"> | |
| 193 | + <brush brushstyle="SolidPattern"> | |
| 194 | + <color alpha="255"> | |
| 195 | + <red>255</red> | |
| 196 | + <green>255</green> | |
| 197 | + <blue>255</blue> | |
| 198 | + </color> | |
| 199 | + </brush> | |
| 200 | + </colorrole> | |
| 201 | + </active> | |
| 202 | + <inactive> | |
| 203 | + <colorrole role="WindowText"> | |
| 204 | + <brush brushstyle="SolidPattern"> | |
| 205 | + <color alpha="255"> | |
| 206 | + <red>255</red> | |
| 207 | + <green>255</green> | |
| 208 | + <blue>255</blue> | |
| 209 | + </color> | |
| 210 | + </brush> | |
| 211 | + </colorrole> | |
| 212 | + </inactive> | |
| 213 | + <disabled> | |
| 214 | + <colorrole role="WindowText"> | |
| 215 | + <brush brushstyle="SolidPattern"> | |
| 216 | + <color alpha="255"> | |
| 217 | + <red>123</red> | |
| 218 | + <green>123</green> | |
| 219 | + <blue>123</blue> | |
| 220 | + </color> | |
| 221 | + </brush> | |
| 222 | + </colorrole> | |
| 223 | + </disabled> | |
| 224 | + </palette> | |
| 225 | + </property> | |
| 226 | + <property name="font"> | |
| 227 | + <font> | |
| 228 | + <family>Malgun Gothic</family> | |
| 229 | + <pointsize>11</pointsize> | |
| 230 | + </font> | |
| 231 | + </property> | |
| 232 | + <property name="text"> | |
| 233 | + <string>서비스단계(엔지니어모드) > 제품모델설정</string> | |
| 234 | + </property> | |
| 235 | + </widget> | |
| 236 | + <widget class="Line" name="line"> | |
| 237 | + <property name="geometry"> | |
| 238 | + <rect> | |
| 239 | + <x>100</x> | |
| 240 | + <y>651</y> | |
| 241 | + <width>30</width> | |
| 242 | + <height>1</height> | |
| 243 | + </rect> | |
| 244 | + </property> | |
| 245 | + <property name="orientation"> | |
| 246 | + <enum>Qt::Horizontal</enum> | |
| 247 | + </property> | |
| 248 | + </widget> | |
| 249 | + <widget class="Line" name="line_4"> | |
| 250 | + <property name="geometry"> | |
| 251 | + <rect> | |
| 252 | + <x>100</x> | |
| 253 | + <y>839</y> | |
| 254 | + <width>30</width> | |
| 255 | + <height>1</height> | |
| 256 | + </rect> | |
| 257 | + </property> | |
| 258 | + <property name="orientation"> | |
| 259 | + <enum>Qt::Horizontal</enum> | |
| 260 | + </property> | |
| 261 | + </widget> | |
| 262 | + <widget class="QLabel" name="label_17"> | |
| 263 | + <property name="geometry"> | |
| 264 | + <rect> | |
| 265 | + <x>600</x> | |
| 266 | + <y>525</y> | |
| 267 | + <width>251</width> | |
| 268 | + <height>65</height> | |
| 269 | + </rect> | |
| 270 | + </property> | |
| 271 | + <property name="palette"> | |
| 272 | + <palette> | |
| 273 | + <active> | |
| 274 | + <colorrole role="WindowText"> | |
| 275 | + <brush brushstyle="SolidPattern"> | |
| 276 | + <color alpha="255"> | |
| 277 | + <red>255</red> | |
| 278 | + <green>255</green> | |
| 279 | + <blue>255</blue> | |
| 280 | + </color> | |
| 281 | + </brush> | |
| 282 | + </colorrole> | |
| 283 | + </active> | |
| 284 | + <inactive> | |
| 285 | + <colorrole role="WindowText"> | |
| 286 | + <brush brushstyle="SolidPattern"> | |
| 287 | + <color alpha="255"> | |
| 288 | + <red>255</red> | |
| 289 | + <green>255</green> | |
| 290 | + <blue>255</blue> | |
| 291 | + </color> | |
| 292 | + </brush> | |
| 293 | + </colorrole> | |
| 294 | + </inactive> | |
| 295 | + <disabled> | |
| 296 | + <colorrole role="WindowText"> | |
| 297 | + <brush brushstyle="SolidPattern"> | |
| 298 | + <color alpha="255"> | |
| 299 | + <red>123</red> | |
| 300 | + <green>123</green> | |
| 301 | + <blue>123</blue> | |
| 302 | + </color> | |
| 303 | + </brush> | |
| 304 | + </colorrole> | |
| 305 | + </disabled> | |
| 306 | + </palette> | |
| 307 | + </property> | |
| 308 | + <property name="font"> | |
| 309 | + <font> | |
| 310 | + <family>Roboto</family> | |
| 311 | + <pointsize>11</pointsize> | |
| 312 | + <weight>75</weight> | |
| 313 | + <bold>true</bold> | |
| 314 | + </font> | |
| 315 | + </property> | |
| 316 | + <property name="text"> | |
| 317 | + <string>EM-7</string> | |
| 318 | + </property> | |
| 319 | + <property name="alignment"> | |
| 320 | + <set>Qt::AlignCenter</set> | |
| 321 | + </property> | |
| 322 | + </widget> | |
| 323 | + <widget class="QWidget" name="bottomBar" native="true"> | |
| 324 | + <property name="geometry"> | |
| 325 | + <rect> | |
| 326 | + <x>0</x> | |
| 327 | + <y>1450</y> | |
| 328 | + <width>900</width> | |
| 329 | + <height>150</height> | |
| 330 | + </rect> | |
| 331 | + </property> | |
| 332 | + <widget class="QPushButton" name="backButton"> | |
| 333 | + <property name="geometry"> | |
| 334 | + <rect> | |
| 335 | + <x>401</x> | |
| 336 | + <y>26</y> | |
| 337 | + <width>97</width> | |
| 338 | + <height>97</height> | |
| 339 | + </rect> | |
| 340 | + </property> | |
| 341 | + <property name="sizePolicy"> | |
| 342 | + <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> | |
| 343 | + <horstretch>0</horstretch> | |
| 344 | + <verstretch>0</verstretch> | |
| 345 | + </sizepolicy> | |
| 346 | + </property> | |
| 347 | + <property name="styleSheet"> | |
| 348 | + <string notr="true">QPushButton { border-image: url(:/images/bottom_bar/back.png); } | |
| 349 | +QPushButton:pressed { border-image: url(:/images/bottom_bar/back_ov.png); }</string> | |
| 350 | + </property> | |
| 351 | + <property name="text"> | |
| 352 | + <string/> | |
| 353 | + </property> | |
| 354 | + </widget> | |
| 355 | + </widget> | |
| 356 | + <widget class="QPushButton" name="e10Button"> | |
| 357 | + <property name="geometry"> | |
| 358 | + <rect> | |
| 359 | + <x>127</x> | |
| 360 | + <y>616</y> | |
| 361 | + <width>379</width> | |
| 362 | + <height>70</height> | |
| 363 | + </rect> | |
| 364 | + </property> | |
| 365 | + <property name="sizePolicy"> | |
| 366 | + <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> | |
| 367 | + <horstretch>0</horstretch> | |
| 368 | + <verstretch>0</verstretch> | |
| 369 | + </sizepolicy> | |
| 370 | + </property> | |
| 371 | + <property name="font"> | |
| 372 | + <font> | |
| 373 | + <family>NanumGothic</family> | |
| 374 | + <pointsize>10</pointsize> | |
| 375 | + <weight>75</weight> | |
| 376 | + <bold>true</bold> | |
| 377 | + </font> | |
| 378 | + </property> | |
| 379 | + <property name="styleSheet"> | |
| 380 | + <string notr="true">QPushButton { border-image: url(:/images/button/379.png); } | |
| 381 | +QPushButton:pressed { border-image: url(:/images/button/379_ov.png); }</string> | |
| 382 | + </property> | |
| 383 | + <property name="text"> | |
| 384 | + <string>10단</string> | |
| 385 | + </property> | |
| 386 | + </widget> | |
| 387 | + <widget class="QPushButton" name="e20Button"> | |
| 388 | + <property name="geometry"> | |
| 389 | + <rect> | |
| 390 | + <x>127</x> | |
| 391 | + <y>710</y> | |
| 392 | + <width>379</width> | |
| 393 | + <height>70</height> | |
| 394 | + </rect> | |
| 395 | + </property> | |
| 396 | + <property name="sizePolicy"> | |
| 397 | + <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> | |
| 398 | + <horstretch>0</horstretch> | |
| 399 | + <verstretch>0</verstretch> | |
| 400 | + </sizepolicy> | |
| 401 | + </property> | |
| 402 | + <property name="font"> | |
| 403 | + <font> | |
| 404 | + <family>NanumGothic</family> | |
| 405 | + <pointsize>10</pointsize> | |
| 406 | + <weight>75</weight> | |
| 407 | + <bold>true</bold> | |
| 408 | + </font> | |
| 409 | + </property> | |
| 410 | + <property name="styleSheet"> | |
| 411 | + <string notr="true">QPushButton { border-image: url(:/images/button/379.png); } | |
| 412 | +QPushButton:pressed { border-image: url(:/images/button/379_ov.png); }</string> | |
| 413 | + </property> | |
| 414 | + <property name="text"> | |
| 415 | + <string>20단</string> | |
| 416 | + </property> | |
| 417 | + </widget> | |
| 418 | + <widget class="Line" name="line_3"> | |
| 419 | + <property name="geometry"> | |
| 420 | + <rect> | |
| 421 | + <x>100</x> | |
| 422 | + <y>745</y> | |
| 423 | + <width>30</width> | |
| 424 | + <height>1</height> | |
| 425 | + </rect> | |
| 426 | + </property> | |
| 427 | + <property name="orientation"> | |
| 428 | + <enum>Qt::Horizontal</enum> | |
| 429 | + </property> | |
| 430 | + </widget> | |
| 431 | + <widget class="QStackedWidget" name="upperStack"> | |
| 432 | + <property name="geometry"> | |
| 433 | + <rect> | |
| 434 | + <x>0</x> | |
| 435 | + <y>0</y> | |
| 436 | + <width>900</width> | |
| 437 | + <height>426</height> | |
| 438 | + </rect> | |
| 439 | + </property> | |
| 440 | + <widget class="QWidget" name="clockContainer"> | |
| 441 | + <property name="styleSheet"> | |
| 442 | + <string notr="true">#clockContainer { background-image: url(:/images/clock/background.png); }</string> | |
| 443 | + </property> | |
| 444 | + <widget class="Clock" name="clock" native="true"> | |
| 445 | + <property name="geometry"> | |
| 446 | + <rect> | |
| 447 | + <x>272</x> | |
| 448 | + <y>36</y> | |
| 449 | + <width>356</width> | |
| 450 | + <height>355</height> | |
| 451 | + </rect> | |
| 452 | + </property> | |
| 453 | + </widget> | |
| 454 | + </widget> | |
| 455 | + <widget class="QWidget" name="page_2"/> | |
| 456 | + </widget> | |
| 457 | + </widget> | |
| 458 | + </widget> | |
| 459 | + <customwidgets> | |
| 460 | + <customwidget> | |
| 461 | + <class>Clock</class> | |
| 462 | + <extends>QWidget</extends> | |
| 463 | + <header>clock.h</header> | |
| 464 | + <container>1</container> | |
| 465 | + </customwidget> | |
| 466 | + </customwidgets> | |
| 467 | + <resources/> | |
| 468 | + <connections/> | |
| 469 | +</ui> | ... | ... |
app/gui/oven_control/engineermenuwindow.cpp
| ... | ... | @@ -6,6 +6,7 @@ |
| 6 | 6 | #include "functiontestwindow.h" |
| 7 | 7 | #include "ovenstatics.h" |
| 8 | 8 | #include "adjustmentwindow.h" |
| 9 | +#include "modelsettingwindow.h" | |
| 9 | 10 | |
| 10 | 11 | EngineerMenuWindow::EngineerMenuWindow(QWidget *parent) : |
| 11 | 12 | QMainWindow(parent), |
| ... | ... | @@ -67,3 +68,11 @@ void EngineerMenuWindow::on_stdConfigButton_clicked() |
| 67 | 68 | { |
| 68 | 69 | |
| 69 | 70 | } |
| 71 | + | |
| 72 | +void EngineerMenuWindow::on_modelTypeConfigButton_clicked() | |
| 73 | +{ | |
| 74 | + ModelSettingWindow *w = new ModelSettingWindow(this); | |
| 75 | + w->setWindowModality(Qt::WindowModal); | |
| 76 | + w->showFullScreen(); | |
| 77 | + w->raise(); | |
| 78 | +} | ... | ... |
app/gui/oven_control/engineermenuwindow.h
app/gui/oven_control/functiontestwindow.cpp
| ... | ... | @@ -17,7 +17,7 @@ FunctionTestWindow::FunctionTestWindow(QWidget *parent) : |
| 17 | 17 | ui->clockContainer->setParent(ui->upperStack); |
| 18 | 18 | setAttribute(Qt::WA_DeleteOnClose); |
| 19 | 19 | |
| 20 | - connect(ui->backButton, SIGNAL(clicked(bool)), this, SLOT(deleteLater())); | |
| 20 | + connect(ui->backButton, SIGNAL(clicked(bool)), SLOT(close())); | |
| 21 | 21 | } |
| 22 | 22 | |
| 23 | 23 | FunctionTestWindow::~FunctionTestWindow() | ... | ... |
app/gui/oven_control/gasmodelsettingwindow.cpp
| ... | ... | @@ -0,0 +1,62 @@ |
| 1 | +#include "gasmodelsettingwindow.h" | |
| 2 | +#include "ui_gasmodelsettingwindow.h" | |
| 3 | + | |
| 4 | +GasModelSettingWindow::GasModelSettingWindow(QWidget *parent) : | |
| 5 | + QMainWindow(parent), | |
| 6 | + ui(new Ui::GasModelSettingWindow) | |
| 7 | +{ | |
| 8 | + ui->setupUi(this); | |
| 9 | + | |
| 10 | + ui->clockContainer->setParent(ui->upperStack); | |
| 11 | + setAttribute(Qt::WA_DeleteOnClose); | |
| 12 | +} | |
| 13 | + | |
| 14 | +GasModelSettingWindow::~GasModelSettingWindow() | |
| 15 | +{ | |
| 16 | + delete ui; | |
| 17 | +} | |
| 18 | + | |
| 19 | +void GasModelSettingWindow::on_lpg10Button_clicked() | |
| 20 | +{ | |
| 21 | + | |
| 22 | +} | |
| 23 | + | |
| 24 | +void GasModelSettingWindow::on_lng10Button_clicked() | |
| 25 | +{ | |
| 26 | + | |
| 27 | +} | |
| 28 | + | |
| 29 | +void GasModelSettingWindow::on_lpg20Button_clicked() | |
| 30 | +{ | |
| 31 | + | |
| 32 | +} | |
| 33 | + | |
| 34 | +void GasModelSettingWindow::on_lng20Button_clicked() | |
| 35 | +{ | |
| 36 | + | |
| 37 | +} | |
| 38 | + | |
| 39 | +void GasModelSettingWindow::on_lpg24Button_clicked() | |
| 40 | +{ | |
| 41 | + | |
| 42 | +} | |
| 43 | + | |
| 44 | +void GasModelSettingWindow::on_lng24Button_clicked() | |
| 45 | +{ | |
| 46 | + | |
| 47 | +} | |
| 48 | + | |
| 49 | +void GasModelSettingWindow::on_lpg40Button_clicked() | |
| 50 | +{ | |
| 51 | + | |
| 52 | +} | |
| 53 | + | |
| 54 | +void GasModelSettingWindow::on_lng40Button_clicked() | |
| 55 | +{ | |
| 56 | + | |
| 57 | +} | |
| 58 | + | |
| 59 | +void GasModelSettingWindow::on_backButton_clicked() | |
| 60 | +{ | |
| 61 | + close(); | |
| 62 | +} | ... | ... |
app/gui/oven_control/gasmodelsettingwindow.h
| ... | ... | @@ -0,0 +1,41 @@ |
| 1 | +#ifndef GASMODELSETTINGWINDOW_H | |
| 2 | +#define GASMODELSETTINGWINDOW_H | |
| 3 | + | |
| 4 | +#include <QMainWindow> | |
| 5 | + | |
| 6 | +namespace Ui { | |
| 7 | +class GasModelSettingWindow; | |
| 8 | +} | |
| 9 | + | |
| 10 | +class GasModelSettingWindow : public QMainWindow | |
| 11 | +{ | |
| 12 | + Q_OBJECT | |
| 13 | + | |
| 14 | +public: | |
| 15 | + explicit GasModelSettingWindow(QWidget *parent = 0); | |
| 16 | + ~GasModelSettingWindow(); | |
| 17 | + | |
| 18 | +private slots: | |
| 19 | + void on_lpg10Button_clicked(); | |
| 20 | + | |
| 21 | + void on_lng10Button_clicked(); | |
| 22 | + | |
| 23 | + void on_lpg20Button_clicked(); | |
| 24 | + | |
| 25 | + void on_lng20Button_clicked(); | |
| 26 | + | |
| 27 | + void on_lpg24Button_clicked(); | |
| 28 | + | |
| 29 | + void on_lng24Button_clicked(); | |
| 30 | + | |
| 31 | + void on_lpg40Button_clicked(); | |
| 32 | + | |
| 33 | + void on_lng40Button_clicked(); | |
| 34 | + | |
| 35 | + void on_backButton_clicked(); | |
| 36 | + | |
| 37 | +private: | |
| 38 | + Ui::GasModelSettingWindow *ui; | |
| 39 | +}; | |
| 40 | + | |
| 41 | +#endif // GASMODELSETTINGWINDOW_H | ... | ... |
app/gui/oven_control/gasmodelsettingwindow.ui
| ... | ... | @@ -0,0 +1,645 @@ |
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | +<ui version="4.0"> | |
| 3 | + <class>GasModelSettingWindow</class> | |
| 4 | + <widget class="QMainWindow" name="GasModelSettingWindow"> | |
| 5 | + <property name="geometry"> | |
| 6 | + <rect> | |
| 7 | + <x>0</x> | |
| 8 | + <y>0</y> | |
| 9 | + <width>900</width> | |
| 10 | + <height>1600</height> | |
| 11 | + </rect> | |
| 12 | + </property> | |
| 13 | + <property name="windowTitle"> | |
| 14 | + <string>MainWindow</string> | |
| 15 | + </property> | |
| 16 | + <property name="styleSheet"> | |
| 17 | + <string notr="true">#centralwidget { background-image: url(:/images/background/config_service.png); } | |
| 18 | +#bottomBar { background-image: url(:/images/bottom_bar/background.png); }</string> | |
| 19 | + </property> | |
| 20 | + <widget class="QWidget" name="centralwidget"> | |
| 21 | + <widget class="QPushButton" name="lpg20Button"> | |
| 22 | + <property name="geometry"> | |
| 23 | + <rect> | |
| 24 | + <x>127</x> | |
| 25 | + <y>804</y> | |
| 26 | + <width>379</width> | |
| 27 | + <height>70</height> | |
| 28 | + </rect> | |
| 29 | + </property> | |
| 30 | + <property name="sizePolicy"> | |
| 31 | + <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> | |
| 32 | + <horstretch>0</horstretch> | |
| 33 | + <verstretch>0</verstretch> | |
| 34 | + </sizepolicy> | |
| 35 | + </property> | |
| 36 | + <property name="font"> | |
| 37 | + <font> | |
| 38 | + <family>NanumGothic</family> | |
| 39 | + <pointsize>10</pointsize> | |
| 40 | + <weight>75</weight> | |
| 41 | + <bold>true</bold> | |
| 42 | + </font> | |
| 43 | + </property> | |
| 44 | + <property name="styleSheet"> | |
| 45 | + <string notr="true">QPushButton { border-image: url(:/images/button/379.png); } | |
| 46 | +QPushButton:pressed { border-image: url(:/images/button/379_ov.png); }</string> | |
| 47 | + </property> | |
| 48 | + <property name="text"> | |
| 49 | + <string>20단 LPG</string> | |
| 50 | + </property> | |
| 51 | + </widget> | |
| 52 | + <widget class="QWidget" name="widget" native="true"> | |
| 53 | + <property name="geometry"> | |
| 54 | + <rect> | |
| 55 | + <x>39</x> | |
| 56 | + <y>525</y> | |
| 57 | + <width>821</width> | |
| 58 | + <height>65</height> | |
| 59 | + </rect> | |
| 60 | + </property> | |
| 61 | + <property name="styleSheet"> | |
| 62 | + <string notr="true">background-image: url(:/images/config/pannel.png);</string> | |
| 63 | + </property> | |
| 64 | + </widget> | |
| 65 | + <widget class="Line" name="line_2"> | |
| 66 | + <property name="geometry"> | |
| 67 | + <rect> | |
| 68 | + <x>100</x> | |
| 69 | + <y>580</y> | |
| 70 | + <width>1</width> | |
| 71 | + <height>731</height> | |
| 72 | + </rect> | |
| 73 | + </property> | |
| 74 | + <property name="orientation"> | |
| 75 | + <enum>Qt::Vertical</enum> | |
| 76 | + </property> | |
| 77 | + </widget> | |
| 78 | + <widget class="Line" name="line_5"> | |
| 79 | + <property name="geometry"> | |
| 80 | + <rect> | |
| 81 | + <x>100</x> | |
| 82 | + <y>933</y> | |
| 83 | + <width>30</width> | |
| 84 | + <height>1</height> | |
| 85 | + </rect> | |
| 86 | + </property> | |
| 87 | + <property name="orientation"> | |
| 88 | + <enum>Qt::Horizontal</enum> | |
| 89 | + </property> | |
| 90 | + </widget> | |
| 91 | + <widget class="Line" name="line_6"> | |
| 92 | + <property name="geometry"> | |
| 93 | + <rect> | |
| 94 | + <x>100</x> | |
| 95 | + <y>1027</y> | |
| 96 | + <width>30</width> | |
| 97 | + <height>1</height> | |
| 98 | + </rect> | |
| 99 | + </property> | |
| 100 | + <property name="orientation"> | |
| 101 | + <enum>Qt::Horizontal</enum> | |
| 102 | + </property> | |
| 103 | + </widget> | |
| 104 | + <widget class="QLabel" name="label_16"> | |
| 105 | + <property name="geometry"> | |
| 106 | + <rect> | |
| 107 | + <x>80</x> | |
| 108 | + <y>525</y> | |
| 109 | + <width>500</width> | |
| 110 | + <height>65</height> | |
| 111 | + </rect> | |
| 112 | + </property> | |
| 113 | + <property name="palette"> | |
| 114 | + <palette> | |
| 115 | + <active> | |
| 116 | + <colorrole role="WindowText"> | |
| 117 | + <brush brushstyle="SolidPattern"> | |
| 118 | + <color alpha="255"> | |
| 119 | + <red>255</red> | |
| 120 | + <green>255</green> | |
| 121 | + <blue>255</blue> | |
| 122 | + </color> | |
| 123 | + </brush> | |
| 124 | + </colorrole> | |
| 125 | + </active> | |
| 126 | + <inactive> | |
| 127 | + <colorrole role="WindowText"> | |
| 128 | + <brush brushstyle="SolidPattern"> | |
| 129 | + <color alpha="255"> | |
| 130 | + <red>255</red> | |
| 131 | + <green>255</green> | |
| 132 | + <blue>255</blue> | |
| 133 | + </color> | |
| 134 | + </brush> | |
| 135 | + </colorrole> | |
| 136 | + </inactive> | |
| 137 | + <disabled> | |
| 138 | + <colorrole role="WindowText"> | |
| 139 | + <brush brushstyle="SolidPattern"> | |
| 140 | + <color alpha="255"> | |
| 141 | + <red>123</red> | |
| 142 | + <green>123</green> | |
| 143 | + <blue>123</blue> | |
| 144 | + </color> | |
| 145 | + </brush> | |
| 146 | + </colorrole> | |
| 147 | + </disabled> | |
| 148 | + </palette> | |
| 149 | + </property> | |
| 150 | + <property name="font"> | |
| 151 | + <font> | |
| 152 | + <family>Malgun Gothic</family> | |
| 153 | + <pointsize>11</pointsize> | |
| 154 | + <weight>50</weight> | |
| 155 | + <bold>false</bold> | |
| 156 | + </font> | |
| 157 | + </property> | |
| 158 | + <property name="text"> | |
| 159 | + <string>제품모델설정</string> | |
| 160 | + </property> | |
| 161 | + </widget> | |
| 162 | + <widget class="QPushButton" name="lng24Button"> | |
| 163 | + <property name="geometry"> | |
| 164 | + <rect> | |
| 165 | + <x>127</x> | |
| 166 | + <y>1086</y> | |
| 167 | + <width>379</width> | |
| 168 | + <height>70</height> | |
| 169 | + </rect> | |
| 170 | + </property> | |
| 171 | + <property name="sizePolicy"> | |
| 172 | + <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> | |
| 173 | + <horstretch>0</horstretch> | |
| 174 | + <verstretch>0</verstretch> | |
| 175 | + </sizepolicy> | |
| 176 | + </property> | |
| 177 | + <property name="font"> | |
| 178 | + <font> | |
| 179 | + <family>NanumGothic</family> | |
| 180 | + <pointsize>10</pointsize> | |
| 181 | + <weight>75</weight> | |
| 182 | + <bold>true</bold> | |
| 183 | + </font> | |
| 184 | + </property> | |
| 185 | + <property name="styleSheet"> | |
| 186 | + <string notr="true">QPushButton { border-image: url(:/images/button/379.png); } | |
| 187 | +QPushButton:pressed { border-image: url(:/images/button/379_ov.png); }</string> | |
| 188 | + </property> | |
| 189 | + <property name="text"> | |
| 190 | + <string>24단 LNG</string> | |
| 191 | + </property> | |
| 192 | + </widget> | |
| 193 | + <widget class="QPushButton" name="lng20Button"> | |
| 194 | + <property name="geometry"> | |
| 195 | + <rect> | |
| 196 | + <x>127</x> | |
| 197 | + <y>898</y> | |
| 198 | + <width>379</width> | |
| 199 | + <height>70</height> | |
| 200 | + </rect> | |
| 201 | + </property> | |
| 202 | + <property name="sizePolicy"> | |
| 203 | + <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> | |
| 204 | + <horstretch>0</horstretch> | |
| 205 | + <verstretch>0</verstretch> | |
| 206 | + </sizepolicy> | |
| 207 | + </property> | |
| 208 | + <property name="font"> | |
| 209 | + <font> | |
| 210 | + <family>NanumGothic</family> | |
| 211 | + <pointsize>10</pointsize> | |
| 212 | + <weight>75</weight> | |
| 213 | + <bold>true</bold> | |
| 214 | + </font> | |
| 215 | + </property> | |
| 216 | + <property name="styleSheet"> | |
| 217 | + <string notr="true">QPushButton { border-image: url(:/images/button/379.png); } | |
| 218 | +QPushButton:pressed { border-image: url(:/images/button/379_ov.png); }</string> | |
| 219 | + </property> | |
| 220 | + <property name="text"> | |
| 221 | + <string>20단 LNG</string> | |
| 222 | + </property> | |
| 223 | + </widget> | |
| 224 | + <widget class="QPushButton" name="lpg24Button"> | |
| 225 | + <property name="geometry"> | |
| 226 | + <rect> | |
| 227 | + <x>127</x> | |
| 228 | + <y>992</y> | |
| 229 | + <width>379</width> | |
| 230 | + <height>70</height> | |
| 231 | + </rect> | |
| 232 | + </property> | |
| 233 | + <property name="sizePolicy"> | |
| 234 | + <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> | |
| 235 | + <horstretch>0</horstretch> | |
| 236 | + <verstretch>0</verstretch> | |
| 237 | + </sizepolicy> | |
| 238 | + </property> | |
| 239 | + <property name="font"> | |
| 240 | + <font> | |
| 241 | + <family>NanumGothic</family> | |
| 242 | + <pointsize>10</pointsize> | |
| 243 | + <weight>75</weight> | |
| 244 | + <bold>true</bold> | |
| 245 | + </font> | |
| 246 | + </property> | |
| 247 | + <property name="styleSheet"> | |
| 248 | + <string notr="true">QPushButton { border-image: url(:/images/button/379.png); } | |
| 249 | +QPushButton:pressed { border-image: url(:/images/button/379_ov.png); }</string> | |
| 250 | + </property> | |
| 251 | + <property name="text"> | |
| 252 | + <string>24단 LPG</string> | |
| 253 | + </property> | |
| 254 | + </widget> | |
| 255 | + <widget class="QLabel" name="label_15"> | |
| 256 | + <property name="geometry"> | |
| 257 | + <rect> | |
| 258 | + <x>55</x> | |
| 259 | + <y>426</y> | |
| 260 | + <width>845</width> | |
| 261 | + <height>84</height> | |
| 262 | + </rect> | |
| 263 | + </property> | |
| 264 | + <property name="palette"> | |
| 265 | + <palette> | |
| 266 | + <active> | |
| 267 | + <colorrole role="WindowText"> | |
| 268 | + <brush brushstyle="SolidPattern"> | |
| 269 | + <color alpha="255"> | |
| 270 | + <red>255</red> | |
| 271 | + <green>255</green> | |
| 272 | + <blue>255</blue> | |
| 273 | + </color> | |
| 274 | + </brush> | |
| 275 | + </colorrole> | |
| 276 | + </active> | |
| 277 | + <inactive> | |
| 278 | + <colorrole role="WindowText"> | |
| 279 | + <brush brushstyle="SolidPattern"> | |
| 280 | + <color alpha="255"> | |
| 281 | + <red>255</red> | |
| 282 | + <green>255</green> | |
| 283 | + <blue>255</blue> | |
| 284 | + </color> | |
| 285 | + </brush> | |
| 286 | + </colorrole> | |
| 287 | + </inactive> | |
| 288 | + <disabled> | |
| 289 | + <colorrole role="WindowText"> | |
| 290 | + <brush brushstyle="SolidPattern"> | |
| 291 | + <color alpha="255"> | |
| 292 | + <red>123</red> | |
| 293 | + <green>123</green> | |
| 294 | + <blue>123</blue> | |
| 295 | + </color> | |
| 296 | + </brush> | |
| 297 | + </colorrole> | |
| 298 | + </disabled> | |
| 299 | + </palette> | |
| 300 | + </property> | |
| 301 | + <property name="font"> | |
| 302 | + <font> | |
| 303 | + <family>Malgun Gothic</family> | |
| 304 | + <pointsize>11</pointsize> | |
| 305 | + </font> | |
| 306 | + </property> | |
| 307 | + <property name="text"> | |
| 308 | + <string>서비스단계(엔지니어모드) > 제품모델설정</string> | |
| 309 | + </property> | |
| 310 | + </widget> | |
| 311 | + <widget class="Line" name="line"> | |
| 312 | + <property name="geometry"> | |
| 313 | + <rect> | |
| 314 | + <x>100</x> | |
| 315 | + <y>651</y> | |
| 316 | + <width>30</width> | |
| 317 | + <height>1</height> | |
| 318 | + </rect> | |
| 319 | + </property> | |
| 320 | + <property name="orientation"> | |
| 321 | + <enum>Qt::Horizontal</enum> | |
| 322 | + </property> | |
| 323 | + </widget> | |
| 324 | + <widget class="Line" name="line_7"> | |
| 325 | + <property name="geometry"> | |
| 326 | + <rect> | |
| 327 | + <x>100</x> | |
| 328 | + <y>1121</y> | |
| 329 | + <width>30</width> | |
| 330 | + <height>1</height> | |
| 331 | + </rect> | |
| 332 | + </property> | |
| 333 | + <property name="orientation"> | |
| 334 | + <enum>Qt::Horizontal</enum> | |
| 335 | + </property> | |
| 336 | + </widget> | |
| 337 | + <widget class="Line" name="line_4"> | |
| 338 | + <property name="geometry"> | |
| 339 | + <rect> | |
| 340 | + <x>100</x> | |
| 341 | + <y>839</y> | |
| 342 | + <width>30</width> | |
| 343 | + <height>1</height> | |
| 344 | + </rect> | |
| 345 | + </property> | |
| 346 | + <property name="orientation"> | |
| 347 | + <enum>Qt::Horizontal</enum> | |
| 348 | + </property> | |
| 349 | + </widget> | |
| 350 | + <widget class="QLabel" name="label_17"> | |
| 351 | + <property name="geometry"> | |
| 352 | + <rect> | |
| 353 | + <x>600</x> | |
| 354 | + <y>525</y> | |
| 355 | + <width>251</width> | |
| 356 | + <height>65</height> | |
| 357 | + </rect> | |
| 358 | + </property> | |
| 359 | + <property name="palette"> | |
| 360 | + <palette> | |
| 361 | + <active> | |
| 362 | + <colorrole role="WindowText"> | |
| 363 | + <brush brushstyle="SolidPattern"> | |
| 364 | + <color alpha="255"> | |
| 365 | + <red>255</red> | |
| 366 | + <green>255</green> | |
| 367 | + <blue>255</blue> | |
| 368 | + </color> | |
| 369 | + </brush> | |
| 370 | + </colorrole> | |
| 371 | + </active> | |
| 372 | + <inactive> | |
| 373 | + <colorrole role="WindowText"> | |
| 374 | + <brush brushstyle="SolidPattern"> | |
| 375 | + <color alpha="255"> | |
| 376 | + <red>255</red> | |
| 377 | + <green>255</green> | |
| 378 | + <blue>255</blue> | |
| 379 | + </color> | |
| 380 | + </brush> | |
| 381 | + </colorrole> | |
| 382 | + </inactive> | |
| 383 | + <disabled> | |
| 384 | + <colorrole role="WindowText"> | |
| 385 | + <brush brushstyle="SolidPattern"> | |
| 386 | + <color alpha="255"> | |
| 387 | + <red>123</red> | |
| 388 | + <green>123</green> | |
| 389 | + <blue>123</blue> | |
| 390 | + </color> | |
| 391 | + </brush> | |
| 392 | + </colorrole> | |
| 393 | + </disabled> | |
| 394 | + </palette> | |
| 395 | + </property> | |
| 396 | + <property name="font"> | |
| 397 | + <font> | |
| 398 | + <family>Roboto</family> | |
| 399 | + <pointsize>11</pointsize> | |
| 400 | + <weight>75</weight> | |
| 401 | + <bold>true</bold> | |
| 402 | + </font> | |
| 403 | + </property> | |
| 404 | + <property name="text"> | |
| 405 | + <string>EM-7</string> | |
| 406 | + </property> | |
| 407 | + <property name="alignment"> | |
| 408 | + <set>Qt::AlignCenter</set> | |
| 409 | + </property> | |
| 410 | + </widget> | |
| 411 | + <widget class="QWidget" name="bottomBar" native="true"> | |
| 412 | + <property name="geometry"> | |
| 413 | + <rect> | |
| 414 | + <x>0</x> | |
| 415 | + <y>1450</y> | |
| 416 | + <width>900</width> | |
| 417 | + <height>150</height> | |
| 418 | + </rect> | |
| 419 | + </property> | |
| 420 | + <widget class="QPushButton" name="backButton"> | |
| 421 | + <property name="geometry"> | |
| 422 | + <rect> | |
| 423 | + <x>401</x> | |
| 424 | + <y>26</y> | |
| 425 | + <width>97</width> | |
| 426 | + <height>97</height> | |
| 427 | + </rect> | |
| 428 | + </property> | |
| 429 | + <property name="sizePolicy"> | |
| 430 | + <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> | |
| 431 | + <horstretch>0</horstretch> | |
| 432 | + <verstretch>0</verstretch> | |
| 433 | + </sizepolicy> | |
| 434 | + </property> | |
| 435 | + <property name="styleSheet"> | |
| 436 | + <string notr="true">QPushButton { border-image: url(:/images/bottom_bar/back.png); } | |
| 437 | +QPushButton:pressed { border-image: url(:/images/bottom_bar/back_ov.png); }</string> | |
| 438 | + </property> | |
| 439 | + <property name="text"> | |
| 440 | + <string/> | |
| 441 | + </property> | |
| 442 | + </widget> | |
| 443 | + </widget> | |
| 444 | + <widget class="QPushButton" name="lpg10Button"> | |
| 445 | + <property name="geometry"> | |
| 446 | + <rect> | |
| 447 | + <x>127</x> | |
| 448 | + <y>616</y> | |
| 449 | + <width>379</width> | |
| 450 | + <height>70</height> | |
| 451 | + </rect> | |
| 452 | + </property> | |
| 453 | + <property name="sizePolicy"> | |
| 454 | + <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> | |
| 455 | + <horstretch>0</horstretch> | |
| 456 | + <verstretch>0</verstretch> | |
| 457 | + </sizepolicy> | |
| 458 | + </property> | |
| 459 | + <property name="font"> | |
| 460 | + <font> | |
| 461 | + <family>NanumGothic</family> | |
| 462 | + <pointsize>10</pointsize> | |
| 463 | + <weight>75</weight> | |
| 464 | + <bold>true</bold> | |
| 465 | + </font> | |
| 466 | + </property> | |
| 467 | + <property name="styleSheet"> | |
| 468 | + <string notr="true">QPushButton { border-image: url(:/images/button/379.png); } | |
| 469 | +QPushButton:pressed { border-image: url(:/images/button/379_ov.png); }</string> | |
| 470 | + </property> | |
| 471 | + <property name="text"> | |
| 472 | + <string>10단 LPG</string> | |
| 473 | + </property> | |
| 474 | + </widget> | |
| 475 | + <widget class="QPushButton" name="lng10Button"> | |
| 476 | + <property name="geometry"> | |
| 477 | + <rect> | |
| 478 | + <x>127</x> | |
| 479 | + <y>710</y> | |
| 480 | + <width>379</width> | |
| 481 | + <height>70</height> | |
| 482 | + </rect> | |
| 483 | + </property> | |
| 484 | + <property name="sizePolicy"> | |
| 485 | + <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> | |
| 486 | + <horstretch>0</horstretch> | |
| 487 | + <verstretch>0</verstretch> | |
| 488 | + </sizepolicy> | |
| 489 | + </property> | |
| 490 | + <property name="font"> | |
| 491 | + <font> | |
| 492 | + <family>NanumGothic</family> | |
| 493 | + <pointsize>10</pointsize> | |
| 494 | + <weight>75</weight> | |
| 495 | + <bold>true</bold> | |
| 496 | + </font> | |
| 497 | + </property> | |
| 498 | + <property name="styleSheet"> | |
| 499 | + <string notr="true">QPushButton { border-image: url(:/images/button/379.png); } | |
| 500 | +QPushButton:pressed { border-image: url(:/images/button/379_ov.png); }</string> | |
| 501 | + </property> | |
| 502 | + <property name="text"> | |
| 503 | + <string>10단 LNG</string> | |
| 504 | + </property> | |
| 505 | + </widget> | |
| 506 | + <widget class="Line" name="line_3"> | |
| 507 | + <property name="geometry"> | |
| 508 | + <rect> | |
| 509 | + <x>100</x> | |
| 510 | + <y>745</y> | |
| 511 | + <width>30</width> | |
| 512 | + <height>1</height> | |
| 513 | + </rect> | |
| 514 | + </property> | |
| 515 | + <property name="orientation"> | |
| 516 | + <enum>Qt::Horizontal</enum> | |
| 517 | + </property> | |
| 518 | + </widget> | |
| 519 | + <widget class="QStackedWidget" name="upperStack"> | |
| 520 | + <property name="geometry"> | |
| 521 | + <rect> | |
| 522 | + <x>0</x> | |
| 523 | + <y>0</y> | |
| 524 | + <width>900</width> | |
| 525 | + <height>426</height> | |
| 526 | + </rect> | |
| 527 | + </property> | |
| 528 | + <widget class="QWidget" name="clockContainer"> | |
| 529 | + <property name="styleSheet"> | |
| 530 | + <string notr="true">#clockContainer { background-image: url(:/images/clock/background.png); }</string> | |
| 531 | + </property> | |
| 532 | + <widget class="Clock" name="clock" native="true"> | |
| 533 | + <property name="geometry"> | |
| 534 | + <rect> | |
| 535 | + <x>272</x> | |
| 536 | + <y>36</y> | |
| 537 | + <width>356</width> | |
| 538 | + <height>355</height> | |
| 539 | + </rect> | |
| 540 | + </property> | |
| 541 | + </widget> | |
| 542 | + </widget> | |
| 543 | + <widget class="QWidget" name="page_2"/> | |
| 544 | + </widget> | |
| 545 | + <widget class="QPushButton" name="lpg40Button"> | |
| 546 | + <property name="geometry"> | |
| 547 | + <rect> | |
| 548 | + <x>127</x> | |
| 549 | + <y>1180</y> | |
| 550 | + <width>379</width> | |
| 551 | + <height>70</height> | |
| 552 | + </rect> | |
| 553 | + </property> | |
| 554 | + <property name="sizePolicy"> | |
| 555 | + <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> | |
| 556 | + <horstretch>0</horstretch> | |
| 557 | + <verstretch>0</verstretch> | |
| 558 | + </sizepolicy> | |
| 559 | + </property> | |
| 560 | + <property name="font"> | |
| 561 | + <font> | |
| 562 | + <family>NanumGothic</family> | |
| 563 | + <pointsize>10</pointsize> | |
| 564 | + <weight>75</weight> | |
| 565 | + <bold>true</bold> | |
| 566 | + </font> | |
| 567 | + </property> | |
| 568 | + <property name="styleSheet"> | |
| 569 | + <string notr="true">QPushButton { border-image: url(:/images/button/379.png); } | |
| 570 | +QPushButton:pressed { border-image: url(:/images/button/379_ov.png); }</string> | |
| 571 | + </property> | |
| 572 | + <property name="text"> | |
| 573 | + <string>40단 LPG</string> | |
| 574 | + </property> | |
| 575 | + </widget> | |
| 576 | + <widget class="Line" name="line_8"> | |
| 577 | + <property name="geometry"> | |
| 578 | + <rect> | |
| 579 | + <x>100</x> | |
| 580 | + <y>1215</y> | |
| 581 | + <width>30</width> | |
| 582 | + <height>1</height> | |
| 583 | + </rect> | |
| 584 | + </property> | |
| 585 | + <property name="orientation"> | |
| 586 | + <enum>Qt::Horizontal</enum> | |
| 587 | + </property> | |
| 588 | + </widget> | |
| 589 | + <widget class="Line" name="line_9"> | |
| 590 | + <property name="geometry"> | |
| 591 | + <rect> | |
| 592 | + <x>100</x> | |
| 593 | + <y>1309</y> | |
| 594 | + <width>30</width> | |
| 595 | + <height>1</height> | |
| 596 | + </rect> | |
| 597 | + </property> | |
| 598 | + <property name="orientation"> | |
| 599 | + <enum>Qt::Horizontal</enum> | |
| 600 | + </property> | |
| 601 | + </widget> | |
| 602 | + <widget class="QPushButton" name="lng40Button"> | |
| 603 | + <property name="geometry"> | |
| 604 | + <rect> | |
| 605 | + <x>127</x> | |
| 606 | + <y>1274</y> | |
| 607 | + <width>379</width> | |
| 608 | + <height>70</height> | |
| 609 | + </rect> | |
| 610 | + </property> | |
| 611 | + <property name="sizePolicy"> | |
| 612 | + <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> | |
| 613 | + <horstretch>0</horstretch> | |
| 614 | + <verstretch>0</verstretch> | |
| 615 | + </sizepolicy> | |
| 616 | + </property> | |
| 617 | + <property name="font"> | |
| 618 | + <font> | |
| 619 | + <family>NanumGothic</family> | |
| 620 | + <pointsize>10</pointsize> | |
| 621 | + <weight>75</weight> | |
| 622 | + <bold>true</bold> | |
| 623 | + </font> | |
| 624 | + </property> | |
| 625 | + <property name="styleSheet"> | |
| 626 | + <string notr="true">QPushButton { border-image: url(:/images/button/379.png); } | |
| 627 | +QPushButton:pressed { border-image: url(:/images/button/379_ov.png); }</string> | |
| 628 | + </property> | |
| 629 | + <property name="text"> | |
| 630 | + <string>40단 LNG</string> | |
| 631 | + </property> | |
| 632 | + </widget> | |
| 633 | + </widget> | |
| 634 | + </widget> | |
| 635 | + <customwidgets> | |
| 636 | + <customwidget> | |
| 637 | + <class>Clock</class> | |
| 638 | + <extends>QWidget</extends> | |
| 639 | + <header>clock.h</header> | |
| 640 | + <container>1</container> | |
| 641 | + </customwidget> | |
| 642 | + </customwidgets> | |
| 643 | + <resources/> | |
| 644 | + <connections/> | |
| 645 | +</ui> | ... | ... |
app/gui/oven_control/modelsettingwindow.cpp
| ... | ... | @@ -0,0 +1,37 @@ |
| 1 | +#include "modelsettingwindow.h" | |
| 2 | +#include "ui_modelsettingwindow.h" | |
| 3 | + | |
| 4 | +#include "electricmodelsettingwindow.h" | |
| 5 | +#include "gasmodelsettingwindow.h" | |
| 6 | + | |
| 7 | +ModelSettingWindow::ModelSettingWindow(QWidget *parent) : | |
| 8 | + QMainWindow(parent), | |
| 9 | + ui(new Ui::ModelSettingWindow) | |
| 10 | +{ | |
| 11 | + ui->setupUi(this); | |
| 12 | + | |
| 13 | + ui->clockContainer->setParent(ui->upperStack); | |
| 14 | + setAttribute(Qt::WA_DeleteOnClose); | |
| 15 | +} | |
| 16 | + | |
| 17 | +ModelSettingWindow::~ModelSettingWindow() | |
| 18 | +{ | |
| 19 | + delete ui; | |
| 20 | +} | |
| 21 | + | |
| 22 | +void ModelSettingWindow::on_electricButton_clicked() | |
| 23 | +{ | |
| 24 | + ElectricModelSettingWindow *w = new ElectricModelSettingWindow(this); | |
| 25 | + w->showFullScreen(); | |
| 26 | +} | |
| 27 | + | |
| 28 | +void ModelSettingWindow::on_gasButton_clicked() | |
| 29 | +{ | |
| 30 | + GasModelSettingWindow *w = new GasModelSettingWindow(this); | |
| 31 | + w->showFullScreen(); | |
| 32 | +} | |
| 33 | + | |
| 34 | +void ModelSettingWindow::on_backButton_clicked() | |
| 35 | +{ | |
| 36 | + close(); | |
| 37 | +} | ... | ... |
app/gui/oven_control/modelsettingwindow.h
| ... | ... | @@ -0,0 +1,30 @@ |
| 1 | +#ifndef MODELSETTINGWINDOW_H | |
| 2 | +#define MODELSETTINGWINDOW_H | |
| 3 | + | |
| 4 | +#include <QMainWindow> | |
| 5 | + | |
| 6 | +namespace Ui { | |
| 7 | +class ModelSettingWindow; | |
| 8 | +} | |
| 9 | + | |
| 10 | +class ModelSettingWindow : public QMainWindow | |
| 11 | +{ | |
| 12 | + Q_OBJECT | |
| 13 | + | |
| 14 | +public: | |
| 15 | + explicit ModelSettingWindow(QWidget *parent = 0); | |
| 16 | + ~ModelSettingWindow(); | |
| 17 | + | |
| 18 | +private slots: | |
| 19 | + | |
| 20 | + void on_electricButton_clicked(); | |
| 21 | + | |
| 22 | + void on_gasButton_clicked(); | |
| 23 | + | |
| 24 | + void on_backButton_clicked(); | |
| 25 | + | |
| 26 | +private: | |
| 27 | + Ui::ModelSettingWindow *ui; | |
| 28 | +}; | |
| 29 | + | |
| 30 | +#endif // MODELSETTINGWINDOW_H | ... | ... |
app/gui/oven_control/modelsettingwindow.ui
| ... | ... | @@ -0,0 +1,381 @@ |
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | +<ui version="4.0"> | |
| 3 | + <class>ModelSettingWindow</class> | |
| 4 | + <widget class="QMainWindow" name="ModelSettingWindow"> | |
| 5 | + <property name="geometry"> | |
| 6 | + <rect> | |
| 7 | + <x>0</x> | |
| 8 | + <y>0</y> | |
| 9 | + <width>900</width> | |
| 10 | + <height>1600</height> | |
| 11 | + </rect> | |
| 12 | + </property> | |
| 13 | + <property name="windowTitle"> | |
| 14 | + <string>MainWindow</string> | |
| 15 | + </property> | |
| 16 | + <property name="styleSheet"> | |
| 17 | + <string notr="true">#centralwidget { background-image: url(:/images/background/config_service.png); } | |
| 18 | +#bottomBar { background-image: url(:/images/bottom_bar/background.png); }</string> | |
| 19 | + </property> | |
| 20 | + <widget class="QWidget" name="centralwidget"> | |
| 21 | + <widget class="QWidget" name="widget" native="true"> | |
| 22 | + <property name="geometry"> | |
| 23 | + <rect> | |
| 24 | + <x>39</x> | |
| 25 | + <y>525</y> | |
| 26 | + <width>821</width> | |
| 27 | + <height>65</height> | |
| 28 | + </rect> | |
| 29 | + </property> | |
| 30 | + <property name="styleSheet"> | |
| 31 | + <string notr="true">background-image: url(:/images/config/pannel.png);</string> | |
| 32 | + </property> | |
| 33 | + </widget> | |
| 34 | + <widget class="Line" name="line_2"> | |
| 35 | + <property name="geometry"> | |
| 36 | + <rect> | |
| 37 | + <x>100</x> | |
| 38 | + <y>580</y> | |
| 39 | + <width>1</width> | |
| 40 | + <height>166</height> | |
| 41 | + </rect> | |
| 42 | + </property> | |
| 43 | + <property name="orientation"> | |
| 44 | + <enum>Qt::Vertical</enum> | |
| 45 | + </property> | |
| 46 | + </widget> | |
| 47 | + <widget class="QLabel" name="label_16"> | |
| 48 | + <property name="geometry"> | |
| 49 | + <rect> | |
| 50 | + <x>80</x> | |
| 51 | + <y>525</y> | |
| 52 | + <width>500</width> | |
| 53 | + <height>65</height> | |
| 54 | + </rect> | |
| 55 | + </property> | |
| 56 | + <property name="palette"> | |
| 57 | + <palette> | |
| 58 | + <active> | |
| 59 | + <colorrole role="WindowText"> | |
| 60 | + <brush brushstyle="SolidPattern"> | |
| 61 | + <color alpha="255"> | |
| 62 | + <red>255</red> | |
| 63 | + <green>255</green> | |
| 64 | + <blue>255</blue> | |
| 65 | + </color> | |
| 66 | + </brush> | |
| 67 | + </colorrole> | |
| 68 | + </active> | |
| 69 | + <inactive> | |
| 70 | + <colorrole role="WindowText"> | |
| 71 | + <brush brushstyle="SolidPattern"> | |
| 72 | + <color alpha="255"> | |
| 73 | + <red>255</red> | |
| 74 | + <green>255</green> | |
| 75 | + <blue>255</blue> | |
| 76 | + </color> | |
| 77 | + </brush> | |
| 78 | + </colorrole> | |
| 79 | + </inactive> | |
| 80 | + <disabled> | |
| 81 | + <colorrole role="WindowText"> | |
| 82 | + <brush brushstyle="SolidPattern"> | |
| 83 | + <color alpha="255"> | |
| 84 | + <red>123</red> | |
| 85 | + <green>123</green> | |
| 86 | + <blue>123</blue> | |
| 87 | + </color> | |
| 88 | + </brush> | |
| 89 | + </colorrole> | |
| 90 | + </disabled> | |
| 91 | + </palette> | |
| 92 | + </property> | |
| 93 | + <property name="font"> | |
| 94 | + <font> | |
| 95 | + <family>Malgun Gothic</family> | |
| 96 | + <pointsize>11</pointsize> | |
| 97 | + <weight>50</weight> | |
| 98 | + <bold>false</bold> | |
| 99 | + </font> | |
| 100 | + </property> | |
| 101 | + <property name="text"> | |
| 102 | + <string>제품모델설정</string> | |
| 103 | + </property> | |
| 104 | + </widget> | |
| 105 | + <widget class="QLabel" name="label_15"> | |
| 106 | + <property name="geometry"> | |
| 107 | + <rect> | |
| 108 | + <x>55</x> | |
| 109 | + <y>426</y> | |
| 110 | + <width>845</width> | |
| 111 | + <height>84</height> | |
| 112 | + </rect> | |
| 113 | + </property> | |
| 114 | + <property name="palette"> | |
| 115 | + <palette> | |
| 116 | + <active> | |
| 117 | + <colorrole role="WindowText"> | |
| 118 | + <brush brushstyle="SolidPattern"> | |
| 119 | + <color alpha="255"> | |
| 120 | + <red>255</red> | |
| 121 | + <green>255</green> | |
| 122 | + <blue>255</blue> | |
| 123 | + </color> | |
| 124 | + </brush> | |
| 125 | + </colorrole> | |
| 126 | + </active> | |
| 127 | + <inactive> | |
| 128 | + <colorrole role="WindowText"> | |
| 129 | + <brush brushstyle="SolidPattern"> | |
| 130 | + <color alpha="255"> | |
| 131 | + <red>255</red> | |
| 132 | + <green>255</green> | |
| 133 | + <blue>255</blue> | |
| 134 | + </color> | |
| 135 | + </brush> | |
| 136 | + </colorrole> | |
| 137 | + </inactive> | |
| 138 | + <disabled> | |
| 139 | + <colorrole role="WindowText"> | |
| 140 | + <brush brushstyle="SolidPattern"> | |
| 141 | + <color alpha="255"> | |
| 142 | + <red>123</red> | |
| 143 | + <green>123</green> | |
| 144 | + <blue>123</blue> | |
| 145 | + </color> | |
| 146 | + </brush> | |
| 147 | + </colorrole> | |
| 148 | + </disabled> | |
| 149 | + </palette> | |
| 150 | + </property> | |
| 151 | + <property name="font"> | |
| 152 | + <font> | |
| 153 | + <family>Malgun Gothic</family> | |
| 154 | + <pointsize>11</pointsize> | |
| 155 | + </font> | |
| 156 | + </property> | |
| 157 | + <property name="text"> | |
| 158 | + <string>서비스단계(엔지니어모드) > 제품모델설정</string> | |
| 159 | + </property> | |
| 160 | + </widget> | |
| 161 | + <widget class="Line" name="line"> | |
| 162 | + <property name="geometry"> | |
| 163 | + <rect> | |
| 164 | + <x>100</x> | |
| 165 | + <y>651</y> | |
| 166 | + <width>30</width> | |
| 167 | + <height>1</height> | |
| 168 | + </rect> | |
| 169 | + </property> | |
| 170 | + <property name="orientation"> | |
| 171 | + <enum>Qt::Horizontal</enum> | |
| 172 | + </property> | |
| 173 | + </widget> | |
| 174 | + <widget class="QLabel" name="label_17"> | |
| 175 | + <property name="geometry"> | |
| 176 | + <rect> | |
| 177 | + <x>600</x> | |
| 178 | + <y>525</y> | |
| 179 | + <width>251</width> | |
| 180 | + <height>65</height> | |
| 181 | + </rect> | |
| 182 | + </property> | |
| 183 | + <property name="palette"> | |
| 184 | + <palette> | |
| 185 | + <active> | |
| 186 | + <colorrole role="WindowText"> | |
| 187 | + <brush brushstyle="SolidPattern"> | |
| 188 | + <color alpha="255"> | |
| 189 | + <red>255</red> | |
| 190 | + <green>255</green> | |
| 191 | + <blue>255</blue> | |
| 192 | + </color> | |
| 193 | + </brush> | |
| 194 | + </colorrole> | |
| 195 | + </active> | |
| 196 | + <inactive> | |
| 197 | + <colorrole role="WindowText"> | |
| 198 | + <brush brushstyle="SolidPattern"> | |
| 199 | + <color alpha="255"> | |
| 200 | + <red>255</red> | |
| 201 | + <green>255</green> | |
| 202 | + <blue>255</blue> | |
| 203 | + </color> | |
| 204 | + </brush> | |
| 205 | + </colorrole> | |
| 206 | + </inactive> | |
| 207 | + <disabled> | |
| 208 | + <colorrole role="WindowText"> | |
| 209 | + <brush brushstyle="SolidPattern"> | |
| 210 | + <color alpha="255"> | |
| 211 | + <red>123</red> | |
| 212 | + <green>123</green> | |
| 213 | + <blue>123</blue> | |
| 214 | + </color> | |
| 215 | + </brush> | |
| 216 | + </colorrole> | |
| 217 | + </disabled> | |
| 218 | + </palette> | |
| 219 | + </property> | |
| 220 | + <property name="font"> | |
| 221 | + <font> | |
| 222 | + <family>Roboto</family> | |
| 223 | + <pointsize>11</pointsize> | |
| 224 | + <weight>75</weight> | |
| 225 | + <bold>true</bold> | |
| 226 | + </font> | |
| 227 | + </property> | |
| 228 | + <property name="text"> | |
| 229 | + <string>EM-7</string> | |
| 230 | + </property> | |
| 231 | + <property name="alignment"> | |
| 232 | + <set>Qt::AlignCenter</set> | |
| 233 | + </property> | |
| 234 | + </widget> | |
| 235 | + <widget class="QWidget" name="bottomBar" native="true"> | |
| 236 | + <property name="geometry"> | |
| 237 | + <rect> | |
| 238 | + <x>0</x> | |
| 239 | + <y>1450</y> | |
| 240 | + <width>900</width> | |
| 241 | + <height>150</height> | |
| 242 | + </rect> | |
| 243 | + </property> | |
| 244 | + <widget class="QPushButton" name="backButton"> | |
| 245 | + <property name="geometry"> | |
| 246 | + <rect> | |
| 247 | + <x>401</x> | |
| 248 | + <y>26</y> | |
| 249 | + <width>97</width> | |
| 250 | + <height>97</height> | |
| 251 | + </rect> | |
| 252 | + </property> | |
| 253 | + <property name="sizePolicy"> | |
| 254 | + <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> | |
| 255 | + <horstretch>0</horstretch> | |
| 256 | + <verstretch>0</verstretch> | |
| 257 | + </sizepolicy> | |
| 258 | + </property> | |
| 259 | + <property name="styleSheet"> | |
| 260 | + <string notr="true">QPushButton { border-image: url(:/images/bottom_bar/back.png); } | |
| 261 | +QPushButton:pressed { border-image: url(:/images/bottom_bar/back_ov.png); }</string> | |
| 262 | + </property> | |
| 263 | + <property name="text"> | |
| 264 | + <string/> | |
| 265 | + </property> | |
| 266 | + </widget> | |
| 267 | + </widget> | |
| 268 | + <widget class="QPushButton" name="electricButton"> | |
| 269 | + <property name="geometry"> | |
| 270 | + <rect> | |
| 271 | + <x>127</x> | |
| 272 | + <y>616</y> | |
| 273 | + <width>379</width> | |
| 274 | + <height>70</height> | |
| 275 | + </rect> | |
| 276 | + </property> | |
| 277 | + <property name="sizePolicy"> | |
| 278 | + <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> | |
| 279 | + <horstretch>0</horstretch> | |
| 280 | + <verstretch>0</verstretch> | |
| 281 | + </sizepolicy> | |
| 282 | + </property> | |
| 283 | + <property name="font"> | |
| 284 | + <font> | |
| 285 | + <family>NanumGothic</family> | |
| 286 | + <pointsize>10</pointsize> | |
| 287 | + <weight>75</weight> | |
| 288 | + <bold>true</bold> | |
| 289 | + </font> | |
| 290 | + </property> | |
| 291 | + <property name="styleSheet"> | |
| 292 | + <string notr="true">QPushButton { border-image: url(:/images/button/379.png); } | |
| 293 | +QPushButton:pressed { border-image: url(:/images/button/379_ov.png); }</string> | |
| 294 | + </property> | |
| 295 | + <property name="text"> | |
| 296 | + <string>전기식</string> | |
| 297 | + </property> | |
| 298 | + </widget> | |
| 299 | + <widget class="QPushButton" name="gasButton"> | |
| 300 | + <property name="geometry"> | |
| 301 | + <rect> | |
| 302 | + <x>127</x> | |
| 303 | + <y>710</y> | |
| 304 | + <width>379</width> | |
| 305 | + <height>70</height> | |
| 306 | + </rect> | |
| 307 | + </property> | |
| 308 | + <property name="sizePolicy"> | |
| 309 | + <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> | |
| 310 | + <horstretch>0</horstretch> | |
| 311 | + <verstretch>0</verstretch> | |
| 312 | + </sizepolicy> | |
| 313 | + </property> | |
| 314 | + <property name="font"> | |
| 315 | + <font> | |
| 316 | + <family>NanumGothic</family> | |
| 317 | + <pointsize>10</pointsize> | |
| 318 | + <weight>75</weight> | |
| 319 | + <bold>true</bold> | |
| 320 | + </font> | |
| 321 | + </property> | |
| 322 | + <property name="styleSheet"> | |
| 323 | + <string notr="true">QPushButton { border-image: url(:/images/button/379.png); } | |
| 324 | +QPushButton:pressed { border-image: url(:/images/button/379_ov.png); }</string> | |
| 325 | + </property> | |
| 326 | + <property name="text"> | |
| 327 | + <string>가스식</string> | |
| 328 | + </property> | |
| 329 | + </widget> | |
| 330 | + <widget class="Line" name="line_3"> | |
| 331 | + <property name="geometry"> | |
| 332 | + <rect> | |
| 333 | + <x>100</x> | |
| 334 | + <y>745</y> | |
| 335 | + <width>30</width> | |
| 336 | + <height>1</height> | |
| 337 | + </rect> | |
| 338 | + </property> | |
| 339 | + <property name="orientation"> | |
| 340 | + <enum>Qt::Horizontal</enum> | |
| 341 | + </property> | |
| 342 | + </widget> | |
| 343 | + <widget class="QStackedWidget" name="upperStack"> | |
| 344 | + <property name="geometry"> | |
| 345 | + <rect> | |
| 346 | + <x>0</x> | |
| 347 | + <y>0</y> | |
| 348 | + <width>900</width> | |
| 349 | + <height>426</height> | |
| 350 | + </rect> | |
| 351 | + </property> | |
| 352 | + <widget class="QWidget" name="clockContainer"> | |
| 353 | + <property name="styleSheet"> | |
| 354 | + <string notr="true">#clockContainer { background-image: url(:/images/clock/background.png); }</string> | |
| 355 | + </property> | |
| 356 | + <widget class="Clock" name="clock" native="true"> | |
| 357 | + <property name="geometry"> | |
| 358 | + <rect> | |
| 359 | + <x>272</x> | |
| 360 | + <y>36</y> | |
| 361 | + <width>356</width> | |
| 362 | + <height>355</height> | |
| 363 | + </rect> | |
| 364 | + </property> | |
| 365 | + </widget> | |
| 366 | + </widget> | |
| 367 | + <widget class="QWidget" name="page_2"/> | |
| 368 | + </widget> | |
| 369 | + </widget> | |
| 370 | + </widget> | |
| 371 | + <customwidgets> | |
| 372 | + <customwidget> | |
| 373 | + <class>Clock</class> | |
| 374 | + <extends>QWidget</extends> | |
| 375 | + <header>clock.h</header> | |
| 376 | + <container>1</container> | |
| 377 | + </customwidget> | |
| 378 | + </customwidgets> | |
| 379 | + <resources/> | |
| 380 | + <connections/> | |
| 381 | +</ui> | ... | ... |
app/gui/oven_control/oven_control.pro
| ... | ... | @@ -93,7 +93,11 @@ SOURCES += main.cpp\ |
| 93 | 93 | confighalfenergydlg.cpp \ |
| 94 | 94 | configinfodlg.cpp \ |
| 95 | 95 | configipdlg.cpp \ |
| 96 | - configfavoritebutton.cpp | |
| 96 | + configfavoritebutton.cpp \ | |
| 97 | + inputoverwatcher.cpp \ | |
| 98 | + modelsettingwindow.cpp \ | |
| 99 | + gasmodelsettingwindow.cpp \ | |
| 100 | + electricmodelsettingwindow.cpp | |
| 97 | 101 | |
| 98 | 102 | HEADERS += mainwindow.h \ |
| 99 | 103 | cook.h \ |
| ... | ... | @@ -176,7 +180,11 @@ HEADERS += mainwindow.h \ |
| 176 | 180 | confighalfenergydlg.h \ |
| 177 | 181 | configinfodlg.h \ |
| 178 | 182 | configipdlg.h \ |
| 179 | - configfavoritebutton.h | |
| 183 | + configfavoritebutton.h \ | |
| 184 | + inputoverwatcher.h \ | |
| 185 | + modelsettingwindow.h \ | |
| 186 | + gasmodelsettingwindow.h \ | |
| 187 | + electricmodelsettingwindow.h | |
| 180 | 188 | |
| 181 | 189 | FORMS += mainwindow.ui \ |
| 182 | 190 | manualcookwindow.ui \ |
| ... | ... | @@ -234,7 +242,10 @@ FORMS += mainwindow.ui \ |
| 234 | 242 | confighalfenergydlg.ui \ |
| 235 | 243 | configinfodlg.ui \ |
| 236 | 244 | configipdlg.ui \ |
| 237 | - configfavoritebutton.ui | |
| 245 | + configfavoritebutton.ui \ | |
| 246 | + modelsettingwindow.ui \ | |
| 247 | + gasmodelsettingwindow.ui \ | |
| 248 | + electricmodelsettingwindow.ui | |
| 238 | 249 | |
| 239 | 250 | RESOURCES += \ |
| 240 | 251 | resources.qrc | ... | ... |