Blame view

app/gui/oven_control/primewindow.ui 10.2 KB
b85726132   김태훈   부가 기능 UI 추가
1
2
3
4
5
6
7
8
9
10
11
12
  <?xml version="1.0" encoding="UTF-8"?>
  <ui version="4.0">
   <class>PrimeWindow</class>
   <widget class="QMainWindow" name="PrimeWindow">
    <property name="geometry">
     <rect>
      <x>0</x>
      <y>0</y>
      <width>900</width>
      <height>1600</height>
     </rect>
    </property>
b85726132   김태훈   부가 기능 UI 추가
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
    <property name="styleSheet">
     <string notr="true">#centralwidget { background-image: url(:/images/background/etc.png); }
  #bottomBar { background-image: url(:/images/bottom_bar/background.png); }
  QScrollArea { background: transparent; }
  QScrollArea &gt; QWidget &gt; QWidget { background: transparent; }
  
  QPushButton[style=&quot;mode&quot;] {
  background-repeat: no-repeat;
  background-position: center;
  background-clip: border;
  background-origin: border;
  margin-bottom: 50px;
  
  border-top: 130px;
  border-bottom: -50px;
  border-style: hidden;
  color: white;
  font-size: 30px;
  }
  
  QPushButton[style=&quot;mode&quot;]:checked {
  image: url(:/images/cook_mode/indicator.png);
  image-position: bottom;
  }
  
  QScrollBar:vertical {
  border: none;
  background: transparent;
  width: 35px;
  margin: 30px 15px 30px 0px;
  }
  QScrollBar::handle:vertical {
  background: #B7B7B7;
  border-radius: 10px;
  min-height: 100px;
  }
  QScrollBar::add-line:vertical, QScrollBar::sub-line:vertical {
  border: none;
  background: none;
  height: 0px;
  }
  QScrollBar::up-arrow:vertical, QScrollBar::down-arrow:vertical {
  border: none;
  }
  QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
  background: none;
  }</string>
    </property>
    <widget class="QWidget" name="centralwidget">
b85726132   김태훈   부가 기능 UI 추가
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
     <widget class="QWidget" name="bottomBar" native="true">
      <property name="geometry">
       <rect>
        <x>0</x>
        <y>1450</y>
        <width>900</width>
        <height>150</height>
       </rect>
      </property>
      <widget class="QPushButton" name="backButton">
       <property name="geometry">
        <rect>
         <x>232</x>
         <y>26</y>
         <width>97</width>
         <height>97</height>
        </rect>
       </property>
       <property name="styleSheet">
        <string notr="true">QPushButton { border-image: url(:/images/bottom_bar/back.png); }
f2921ceb9   김태훈   엔코더 구현 대비 선행 수정
82
  QPushButton:pressed, QPushButton:focus { border-image: url(:/images/bottom_bar/back_ov.png); }</string>
b85726132   김태훈   부가 기능 UI 추가
83
       </property>
b85726132   김태훈   부가 기능 UI 추가
84
85
86
87
88
89
90
91
92
93
94
95
      </widget>
      <widget class="QPushButton" name="washButton">
       <property name="geometry">
        <rect>
         <x>458</x>
         <y>26</y>
         <width>97</width>
         <height>97</height>
        </rect>
       </property>
       <property name="styleSheet">
        <string notr="true">QPushButton { border-image: url(:/images/bottom_bar/wash.png); }
f2921ceb9   김태훈   엔코더 구현 대비 선행 수정
96
  QPushButton:pressed, QPushButton:focus { border-image: url(:/images/bottom_bar/wash_ov.png); }</string>
b85726132   김태훈   부가 기능 UI 추가
97
       </property>
b85726132   김태훈   부가 기능 UI 추가
98
99
100
101
102
103
104
105
106
107
108
109
      </widget>
      <widget class="QPushButton" name="helpButton">
       <property name="geometry">
        <rect>
         <x>571</x>
         <y>26</y>
         <width>97</width>
         <height>97</height>
        </rect>
       </property>
       <property name="styleSheet">
        <string notr="true">QPushButton { border-image: url(:/images/bottom_bar/help.png); }
f2921ceb9   김태훈   엔코더 구현 대비 선행 수정
110
  QPushButton:pressed, QPushButton:focus { border-image: url(:/images/bottom_bar/help_ov.png); }</string>
b85726132   김태훈   부가 기능 UI 추가
111
       </property>
b85726132   김태훈   부가 기능 UI 추가
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
      </widget>
      <widget class="QPushButton" name="configButton">
       <property name="geometry">
        <rect>
         <x>345</x>
         <y>26</y>
         <width>97</width>
         <height>97</height>
        </rect>
       </property>
       <property name="sizePolicy">
        <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
         <horstretch>0</horstretch>
         <verstretch>0</verstretch>
        </sizepolicy>
       </property>
       <property name="styleSheet">
        <string notr="true">QPushButton { border-image: url(:/images/bottom_bar/config.png); }
f2921ceb9   김태훈   엔코더 구현 대비 선행 수정
130
  QPushButton:pressed, QPushButton:focus { border-image: url(:/images/bottom_bar/config_ov.png); }</string>
b85726132   김태훈   부가 기능 UI 추가
131
       </property>
b85726132   김태훈   부가 기능 UI 추가
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
      </widget>
     </widget>
     <widget class="QStackedWidget" name="upperStack">
      <property name="geometry">
       <rect>
        <x>0</x>
        <y>0</y>
        <width>900</width>
        <height>426</height>
       </rect>
      </property>
      <widget class="QWidget" name="clockContainer">
       <property name="styleSheet">
        <string notr="true">#clockContainer { background-image: url(:/images/clock/background.png); }</string>
       </property>
       <widget class="Clock" name="clock" native="true">
        <property name="geometry">
         <rect>
          <x>272</x>
          <y>36</y>
          <width>356</width>
          <height>355</height>
         </rect>
        </property>
       </widget>
239d51c8b   김태훈   의무 세척 기능 추가
157
158
159
160
161
162
163
164
165
166
       <widget class="WashWarnIcon" name="label">
        <property name="geometry">
         <rect>
          <x>800</x>
          <y>320</y>
          <width>80</width>
          <height>84</height>
         </rect>
        </property>
       </widget>
b7ee6dc30   김태훈   시연 모드 아이콘, 하프 에너지...
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
       <widget class="DemoIcon" name="label_2">
        <property name="geometry">
         <rect>
          <x>780</x>
          <y>230</y>
          <width>101</width>
          <height>90</height>
         </rect>
        </property>
       </widget>
       <widget class="HalfEnergyIcon" name="label_3">
        <property name="geometry">
         <rect>
          <x>780</x>
          <y>160</y>
          <width>108</width>
          <height>67</height>
         </rect>
        </property>
       </widget>
d61c94341   김태훈   디지털 시계 추가
187
188
189
190
191
192
193
194
195
196
197
198
199
       <widget class="DigitalClock" name="label_4">
        <property name="geometry">
         <rect>
          <x>20</x>
          <y>310</y>
          <width>300</width>
          <height>100</height>
         </rect>
        </property>
        <property name="alignment">
         <set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set>
        </property>
       </widget>
b85726132   김태훈   부가 기능 UI 추가
200
201
202
203
204
205
206
      </widget>
      <widget class="QWidget" name="page_2"/>
     </widget>
     <widget class="QScrollArea" name="scrollArea">
      <property name="geometry">
       <rect>
        <x>0</x>
f588aa273   김태훈   부가 기능 로직 추가
207
        <y>647</y>
b85726132   김태훈   부가 기능 UI 추가
208
        <width>900</width>
f588aa273   김태훈   부가 기능 로직 추가
209
        <height>803</height>
b85726132   김태훈   부가 기능 UI 추가
210
211
       </rect>
      </property>
98f4a2932   김태훈   엔코더 구현
212
213
214
      <property name="focusPolicy">
       <enum>Qt::NoFocus</enum>
      </property>
b85726132   김태훈   부가 기능 UI 추가
215
216
217
218
219
220
221
222
223
      <property name="widgetResizable">
       <bool>true</bool>
      </property>
      <widget class="QWidget" name="scrollAreaWidgetContents">
       <property name="geometry">
        <rect>
         <x>0</x>
         <y>0</y>
         <width>898</width>
f588aa273   김태훈   부가 기능 로직 추가
224
         <height>801</height>
b85726132   김태훈   부가 기능 UI 추가
225
226
227
228
229
230
231
232
233
234
        </rect>
       </property>
       <layout class="QVBoxLayout" name="verticalScrollLayout">
        <property name="spacing">
         <number>10</number>
        </property>
        <property name="leftMargin">
         <number>20</number>
        </property>
        <property name="topMargin">
f588aa273   김태훈   부가 기능 로직 추가
235
         <number>28</number>
b85726132   김태훈   부가 기능 UI 추가
236
237
        </property>
        <property name="bottomMargin">
f588aa273   김태훈   부가 기능 로직 추가
238
         <number>28</number>
b85726132   김태훈   부가 기능 UI 추가
239
240
241
242
        </property>
       </layout>
      </widget>
     </widget>
98f4a2932   김태훈   엔코더 구현
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
     <widget class="QPushButton" name="mostCookedButton">
      <property name="geometry">
       <rect>
        <x>1</x>
        <y>427</y>
        <width>299</width>
        <height>219</height>
       </rect>
      </property>
      <property name="sizePolicy">
       <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
        <horstretch>0</horstretch>
        <verstretch>0</verstretch>
       </sizepolicy>
      </property>
      <property name="styleSheet">
       <string notr="true">QPushButton { background-image: url(:/images/etc/main_btn_04.png); }
  QPushButton:pressed, QPushButton:focus { background-image: url(:/images/etc/main_btn_04_ov.png); }</string>
      </property>
      <property name="text">
       <string>선호 요리</string>
      </property>
      <property name="checkable">
       <bool>true</bool>
      </property>
      <property name="style" stdset="0">
       <string notr="true">mode</string>
      </property>
     </widget>
     <widget class="QPushButton" name="favoritesButton">
      <property name="geometry">
       <rect>
        <x>600</x>
        <y>427</y>
        <width>299</width>
        <height>219</height>
       </rect>
      </property>
      <property name="sizePolicy">
       <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
        <horstretch>0</horstretch>
        <verstretch>0</verstretch>
       </sizepolicy>
      </property>
      <property name="styleSheet">
       <string notr="true">QPushButton { background-image: url(:/images/etc/main_btn_05.png); }
  QPushButton:pressed, QPushButton:focus { background-image: url(:/images/etc/main_btn_05_ov.png); }</string>
      </property>
      <property name="text">
       <string>즐겨찾기</string>
      </property>
      <property name="checkable">
       <bool>true</bool>
      </property>
      <property name="style" stdset="0">
       <string notr="true">mode</string>
      </property>
     </widget>
     <widget class="QPushButton" name="recentsButton">
      <property name="geometry">
       <rect>
        <x>300</x>
        <y>427</y>
        <width>299</width>
        <height>219</height>
       </rect>
      </property>
      <property name="sizePolicy">
       <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
        <horstretch>0</horstretch>
        <verstretch>0</verstretch>
       </sizepolicy>
      </property>
      <property name="styleSheet">
       <string notr="true">QPushButton { background-image: url(:/images/etc/main_btn_03.png); }
  QPushButton:pressed, QPushButton:focus { background-image: url(:/images/etc/main_btn_03_ov.png); }</string>
      </property>
      <property name="text">
       <string>최근 요리</string>
      </property>
      <property name="checkable">
       <bool>true</bool>
      </property>
      <property name="style" stdset="0">
       <string notr="true">mode</string>
      </property>
     </widget>
b85726132   김태훈   부가 기능 UI 추가
330
331
332
333
334
335
336
337
338
    </widget>
   </widget>
   <customwidgets>
    <customwidget>
     <class>Clock</class>
     <extends>QWidget</extends>
     <header>clock.h</header>
     <container>1</container>
    </customwidget>
239d51c8b   김태훈   의무 세척 기능 추가
339
340
341
342
343
    <customwidget>
     <class>WashWarnIcon</class>
     <extends>QLabel</extends>
     <header>washwarnicon.h</header>
    </customwidget>
b7ee6dc30   김태훈   시연 모드 아이콘, 하프 에너지...
344
345
346
347
348
349
350
351
352
353
    <customwidget>
     <class>DemoIcon</class>
     <extends>QLabel</extends>
     <header>demoicon.h</header>
    </customwidget>
    <customwidget>
     <class>HalfEnergyIcon</class>
     <extends>QLabel</extends>
     <header>halfenergyicon.h</header>
    </customwidget>
d61c94341   김태훈   디지털 시계 추가
354
355
356
357
358
    <customwidget>
     <class>DigitalClock</class>
     <extends>QLabel</extends>
     <header>digitalclock.h</header>
    </customwidget>
b85726132   김태훈   부가 기능 UI 추가
359
   </customwidgets>
98f4a2932   김태훈   엔코더 구현
360
361
362
363
364
365
366
367
368
   <tabstops>
    <tabstop>mostCookedButton</tabstop>
    <tabstop>recentsButton</tabstop>
    <tabstop>favoritesButton</tabstop>
    <tabstop>backButton</tabstop>
    <tabstop>configButton</tabstop>
    <tabstop>washButton</tabstop>
    <tabstop>helpButton</tabstop>
   </tabstops>
b85726132   김태훈   부가 기능 UI 추가
369
370
371
   <resources/>
   <connections/>
  </ui>