Commit 70266d5fc9c915397140de04fec52b47eb82f222
1 parent
7d02881729
Exists in
master
and in
2 other branches
보온 유지 팝업 디자인 변경
Showing
4 changed files
with
61 additions
and
97 deletions
Show diff stats
app/gui/oven_control/images/background/popup/668.png
5.92 KB
app/gui/oven_control/images/symbol/keep_warm.png
5.3 KB
app/gui/oven_control/keepwarmpopup.ui
| @@ -14,32 +14,25 @@ | @@ -14,32 +14,25 @@ | ||
| 14 | <string>Form</string> | 14 | <string>Form</string> |
| 15 | </property> | 15 | </property> |
| 16 | <property name="styleSheet"> | 16 | <property name="styleSheet"> |
| 17 | - <string notr="true">QPushButton { border: none; }</string> | 17 | + <string notr="true">#background { background-image: url(:/images/background/popup/668.png); } |
| 18 | +QPushButton { border: none; }</string> | ||
| 18 | </property> | 19 | </property> |
| 19 | <widget class="QWidget" name="background" native="true"> | 20 | <widget class="QWidget" name="background" native="true"> |
| 20 | <property name="geometry"> | 21 | <property name="geometry"> |
| 21 | <rect> | 22 | <rect> |
| 22 | - <x>21</x> | ||
| 23 | - <y>446</y> | ||
| 24 | - <width>858</width> | ||
| 25 | - <height>984</height> | 23 | + <x>0</x> |
| 24 | + <y>426</y> | ||
| 25 | + <width>900</width> | ||
| 26 | + <height>668</height> | ||
| 26 | </rect> | 27 | </rect> |
| 27 | </property> | 28 | </property> |
| 28 | - <property name="styleSheet"> | ||
| 29 | - <string notr="true">#background { | ||
| 30 | -background-image: url(:/images/background/original.png); | ||
| 31 | -margin: -446px -170px -21px -21px; | ||
| 32 | -padding: 446px 170px 21px 21px; | ||
| 33 | -image: url(:/images/background/popup/error.png); | ||
| 34 | -}</string> | ||
| 35 | - </property> | ||
| 36 | <widget class="QLabel" name="label"> | 29 | <widget class="QLabel" name="label"> |
| 37 | <property name="geometry"> | 30 | <property name="geometry"> |
| 38 | <rect> | 31 | <rect> |
| 39 | <x>0</x> | 32 | <x>0</x> |
| 40 | <y>0</y> | 33 | <y>0</y> |
| 41 | - <width>858</width> | ||
| 42 | - <height>227</height> | 34 | + <width>900</width> |
| 35 | + <height>100</height> | ||
| 43 | </rect> | 36 | </rect> |
| 44 | </property> | 37 | </property> |
| 45 | <property name="palette"> | 38 | <property name="palette"> |
| @@ -82,13 +75,13 @@ image: url(:/images/background/popup/error.png); | @@ -82,13 +75,13 @@ image: url(:/images/background/popup/error.png); | ||
| 82 | <property name="font"> | 75 | <property name="font"> |
| 83 | <font> | 76 | <font> |
| 84 | <family>NanumGothic</family> | 77 | <family>NanumGothic</family> |
| 85 | - <pointsize>18</pointsize> | 78 | + <pointsize>16</pointsize> |
| 86 | <weight>75</weight> | 79 | <weight>75</weight> |
| 87 | <bold>true</bold> | 80 | <bold>true</bold> |
| 88 | </font> | 81 | </font> |
| 89 | </property> | 82 | </property> |
| 90 | <property name="text"> | 83 | <property name="text"> |
| 91 | - <string>보온 유지</string> | 84 | + <string>보온 유지 모드</string> |
| 92 | </property> | 85 | </property> |
| 93 | <property name="alignment"> | 86 | <property name="alignment"> |
| 94 | <set>Qt::AlignCenter</set> | 87 | <set>Qt::AlignCenter</set> |
| @@ -98,9 +91,9 @@ image: url(:/images/background/popup/error.png); | @@ -98,9 +91,9 @@ image: url(:/images/background/popup/error.png); | ||
| 98 | <property name="geometry"> | 91 | <property name="geometry"> |
| 99 | <rect> | 92 | <rect> |
| 100 | <x>0</x> | 93 | <x>0</x> |
| 101 | - <y>227</y> | ||
| 102 | - <width>858</width> | ||
| 103 | - <height>252</height> | 94 | + <y>280</y> |
| 95 | + <width>900</width> | ||
| 96 | + <height>50</height> | ||
| 104 | </rect> | 97 | </rect> |
| 105 | </property> | 98 | </property> |
| 106 | <property name="palette"> | 99 | <property name="palette"> |
| @@ -143,13 +136,11 @@ image: url(:/images/background/popup/error.png); | @@ -143,13 +136,11 @@ image: url(:/images/background/popup/error.png); | ||
| 143 | <property name="font"> | 136 | <property name="font"> |
| 144 | <font> | 137 | <font> |
| 145 | <family>NanumGothic</family> | 138 | <family>NanumGothic</family> |
| 146 | - <pointsize>14</pointsize> | ||
| 147 | - <weight>75</weight> | ||
| 148 | - <bold>true</bold> | 139 | + <pointsize>12</pointsize> |
| 149 | </font> | 140 | </font> |
| 150 | </property> | 141 | </property> |
| 151 | <property name="text"> | 142 | <property name="text"> |
| 152 | - <string>보온 유지 중입니다</string> | 143 | + <string>보온 유지 모드 중입니다.</string> |
| 153 | </property> | 144 | </property> |
| 154 | <property name="alignment"> | 145 | <property name="alignment"> |
| 155 | <set>Qt::AlignCenter</set> | 146 | <set>Qt::AlignCenter</set> |
| @@ -159,9 +150,9 @@ image: url(:/images/background/popup/error.png); | @@ -159,9 +150,9 @@ image: url(:/images/background/popup/error.png); | ||
| 159 | <property name="geometry"> | 150 | <property name="geometry"> |
| 160 | <rect> | 151 | <rect> |
| 161 | <x>0</x> | 152 | <x>0</x> |
| 162 | - <y>479</y> | ||
| 163 | - <width>858</width> | ||
| 164 | - <height>252</height> | 153 | + <y>330</y> |
| 154 | + <width>900</width> | ||
| 155 | + <height>220</height> | ||
| 165 | </rect> | 156 | </rect> |
| 166 | </property> | 157 | </property> |
| 167 | <property name="palette"> | 158 | <property name="palette"> |
| @@ -204,25 +195,23 @@ image: url(:/images/background/popup/error.png); | @@ -204,25 +195,23 @@ image: url(:/images/background/popup/error.png); | ||
| 204 | <property name="font"> | 195 | <property name="font"> |
| 205 | <font> | 196 | <font> |
| 206 | <family>NanumGothic</family> | 197 | <family>NanumGothic</family> |
| 207 | - <pointsize>22</pointsize> | ||
| 208 | - <weight>75</weight> | ||
| 209 | - <bold>true</bold> | 198 | + <pointsize>55</pointsize> |
| 210 | </font> | 199 | </font> |
| 211 | </property> | 200 | </property> |
| 212 | <property name="text"> | 201 | <property name="text"> |
| 213 | <string>00:00</string> | 202 | <string>00:00</string> |
| 214 | </property> | 203 | </property> |
| 215 | <property name="alignment"> | 204 | <property name="alignment"> |
| 216 | - <set>Qt::AlignCenter</set> | 205 | + <set>Qt::AlignHCenter|Qt::AlignTop</set> |
| 217 | </property> | 206 | </property> |
| 218 | </widget> | 207 | </widget> |
| 219 | <widget class="QPushButton" name="stopButton"> | 208 | <widget class="QPushButton" name="stopButton"> |
| 220 | <property name="geometry"> | 209 | <property name="geometry"> |
| 221 | <rect> | 210 | <rect> |
| 222 | <x>0</x> | 211 | <x>0</x> |
| 223 | - <y>731</y> | ||
| 224 | - <width>858</width> | ||
| 225 | - <height>252</height> | 212 | + <y>550</y> |
| 213 | + <width>900</width> | ||
| 214 | + <height>118</height> | ||
| 226 | </rect> | 215 | </rect> |
| 227 | </property> | 216 | </property> |
| 228 | <property name="font"> | 217 | <property name="font"> |
| @@ -235,7 +224,36 @@ image: url(:/images/background/popup/error.png); | @@ -235,7 +224,36 @@ image: url(:/images/background/popup/error.png); | ||
| 235 | QPushButton:pressed { color: yellow; }</string> | 224 | QPushButton:pressed { color: yellow; }</string> |
| 236 | </property> | 225 | </property> |
| 237 | <property name="text"> | 226 | <property name="text"> |
| 238 | - <string>중단</string> | 227 | + <string>확인</string> |
| 228 | + </property> | ||
| 229 | + </widget> | ||
| 230 | + <widget class="Line" name="line"> | ||
| 231 | + <property name="geometry"> | ||
| 232 | + <rect> | ||
| 233 | + <x>0</x> | ||
| 234 | + <y>100</y> | ||
| 235 | + <width>900</width> | ||
| 236 | + <height>1</height> | ||
| 237 | + </rect> | ||
| 238 | + </property> | ||
| 239 | + <property name="orientation"> | ||
| 240 | + <enum>Qt::Horizontal</enum> | ||
| 241 | + </property> | ||
| 242 | + </widget> | ||
| 243 | + <widget class="QLabel" name="label_3"> | ||
| 244 | + <property name="geometry"> | ||
| 245 | + <rect> | ||
| 246 | + <x>0</x> | ||
| 247 | + <y>100</y> | ||
| 248 | + <width>900</width> | ||
| 249 | + <height>180</height> | ||
| 250 | + </rect> | ||
| 251 | + </property> | ||
| 252 | + <property name="pixmap"> | ||
| 253 | + <pixmap resource="resources.qrc">:/images/symbol/keep_warm.png</pixmap> | ||
| 254 | + </property> | ||
| 255 | + <property name="alignment"> | ||
| 256 | + <set>Qt::AlignCenter</set> | ||
| 239 | </property> | 257 | </property> |
| 240 | </widget> | 258 | </widget> |
| 241 | </widget> | 259 | </widget> |
| @@ -245,33 +263,7 @@ QPushButton:pressed { color: yellow; }</string> | @@ -245,33 +263,7 @@ QPushButton:pressed { color: yellow; }</string> | ||
| 245 | <x>0</x> | 263 | <x>0</x> |
| 246 | <y>0</y> | 264 | <y>0</y> |
| 247 | <width>900</width> | 265 | <width>900</width> |
| 248 | - <height>446</height> | ||
| 249 | - </rect> | ||
| 250 | - </property> | ||
| 251 | - <property name="text"> | ||
| 252 | - <string/> | ||
| 253 | - </property> | ||
| 254 | - </widget> | ||
| 255 | - <widget class="QPushButton" name="leftCloseButton"> | ||
| 256 | - <property name="geometry"> | ||
| 257 | - <rect> | ||
| 258 | - <x>0</x> | ||
| 259 | - <y>446</y> | ||
| 260 | - <width>21</width> | ||
| 261 | - <height>984</height> | ||
| 262 | - </rect> | ||
| 263 | - </property> | ||
| 264 | - <property name="text"> | ||
| 265 | - <string/> | ||
| 266 | - </property> | ||
| 267 | - </widget> | ||
| 268 | - <widget class="QPushButton" name="rightCloseButton"> | ||
| 269 | - <property name="geometry"> | ||
| 270 | - <rect> | ||
| 271 | - <x>879</x> | ||
| 272 | - <y>446</y> | ||
| 273 | - <width>130</width> | ||
| 274 | - <height>984</height> | 266 | + <height>426</height> |
| 275 | </rect> | 267 | </rect> |
| 276 | </property> | 268 | </property> |
| 277 | <property name="text"> | 269 | <property name="text"> |
| @@ -282,9 +274,9 @@ QPushButton:pressed { color: yellow; }</string> | @@ -282,9 +274,9 @@ QPushButton:pressed { color: yellow; }</string> | ||
| 282 | <property name="geometry"> | 274 | <property name="geometry"> |
| 283 | <rect> | 275 | <rect> |
| 284 | <x>0</x> | 276 | <x>0</x> |
| 285 | - <y>1430</y> | 277 | + <y>1094</y> |
| 286 | <width>900</width> | 278 | <width>900</width> |
| 287 | - <height>170</height> | 279 | + <height>506</height> |
| 288 | </rect> | 280 | </rect> |
| 289 | </property> | 281 | </property> |
| 290 | <property name="text"> | 282 | <property name="text"> |
| @@ -292,7 +284,9 @@ QPushButton:pressed { color: yellow; }</string> | @@ -292,7 +284,9 @@ QPushButton:pressed { color: yellow; }</string> | ||
| 292 | </property> | 284 | </property> |
| 293 | </widget> | 285 | </widget> |
| 294 | </widget> | 286 | </widget> |
| 295 | - <resources/> | 287 | + <resources> |
| 288 | + <include location="resources.qrc"/> | ||
| 289 | + </resources> | ||
| 296 | <connections> | 290 | <connections> |
| 297 | <connection> | 291 | <connection> |
| 298 | <sender>upperCloseButton</sender> | 292 | <sender>upperCloseButton</sender> |
| @@ -311,38 +305,6 @@ QPushButton:pressed { color: yellow; }</string> | @@ -311,38 +305,6 @@ QPushButton:pressed { color: yellow; }</string> | ||
| 311 | </hints> | 305 | </hints> |
| 312 | </connection> | 306 | </connection> |
| 313 | <connection> | 307 | <connection> |
| 314 | - <sender>leftCloseButton</sender> | ||
| 315 | - <signal>clicked()</signal> | ||
| 316 | - <receiver>KeepWarmPopup</receiver> | ||
| 317 | - <slot>close()</slot> | ||
| 318 | - <hints> | ||
| 319 | - <hint type="sourcelabel"> | ||
| 320 | - <x>10</x> | ||
| 321 | - <y>937</y> | ||
| 322 | - </hint> | ||
| 323 | - <hint type="destinationlabel"> | ||
| 324 | - <x>449</x> | ||
| 325 | - <y>799</y> | ||
| 326 | - </hint> | ||
| 327 | - </hints> | ||
| 328 | - </connection> | ||
| 329 | - <connection> | ||
| 330 | - <sender>rightCloseButton</sender> | ||
| 331 | - <signal>clicked()</signal> | ||
| 332 | - <receiver>KeepWarmPopup</receiver> | ||
| 333 | - <slot>close()</slot> | ||
| 334 | - <hints> | ||
| 335 | - <hint type="sourcelabel"> | ||
| 336 | - <x>943</x> | ||
| 337 | - <y>937</y> | ||
| 338 | - </hint> | ||
| 339 | - <hint type="destinationlabel"> | ||
| 340 | - <x>449</x> | ||
| 341 | - <y>799</y> | ||
| 342 | - </hint> | ||
| 343 | - </hints> | ||
| 344 | - </connection> | ||
| 345 | - <connection> | ||
| 346 | <sender>bottomCloseButton</sender> | 308 | <sender>bottomCloseButton</sender> |
| 347 | <signal>clicked()</signal> | 309 | <signal>clicked()</signal> |
| 348 | <receiver>KeepWarmPopup</receiver> | 310 | <receiver>KeepWarmPopup</receiver> |
app/gui/oven_control/resources.qrc
| @@ -566,5 +566,7 @@ | @@ -566,5 +566,7 @@ | ||
| 566 | <file>images/error/button.png</file> | 566 | <file>images/error/button.png</file> |
| 567 | <file>images/error/button_ov.png</file> | 567 | <file>images/error/button_ov.png</file> |
| 568 | <file>images/error/symbol.png</file> | 568 | <file>images/error/symbol.png</file> |
| 569 | + <file>images/symbol/keep_warm.png</file> | ||
| 570 | + <file>images/background/popup/668.png</file> | ||
| 569 | </qresource> | 571 | </qresource> |
| 570 | </RCC> | 572 | </RCC> |