ui/EditMisc.ui

changeset 28
93a70b1502ca
parent 25
a9da2744609e
child 37
cc1e6a5a679a
equal deleted inserted replaced
27:94da58c66913 28:93a70b1502ca
49 </property> 49 </property>
50 </widget> 50 </widget>
51 <widget class="QLabel" name="inventoryLabel"> 51 <widget class="QLabel" name="inventoryLabel">
52 <property name="geometry"> 52 <property name="geometry">
53 <rect> 53 <rect>
54 <x>5</x> 54 <x>680</x>
55 <y>410</y> 55 <y>130</y>
56 <width>121</width> 56 <width>121</width>
57 <height>20</height> 57 <height>20</height>
58 </rect> 58 </rect>
59 </property> 59 </property>
60 <property name="text"> 60 <property name="text">
65 </property> 65 </property>
66 </widget> 66 </widget>
67 <widget class="QLabel" name="costLabel"> 67 <widget class="QLabel" name="costLabel">
68 <property name="geometry"> 68 <property name="geometry">
69 <rect> 69 <rect>
70 <x>5</x> 70 <x>680</x>
71 <y>440</y> 71 <y>160</y>
72 <width>121</width> 72 <width>121</width>
73 <height>20</height> 73 <height>20</height>
74 </rect> 74 </rect>
75 </property> 75 </property>
76 <property name="text"> 76 <property name="text">
81 </property> 81 </property>
82 </widget> 82 </widget>
83 <widget class="QLabel" name="valueLabel"> 83 <widget class="QLabel" name="valueLabel">
84 <property name="geometry"> 84 <property name="geometry">
85 <rect> 85 <rect>
86 <x>5</x> 86 <x>680</x>
87 <y>470</y> 87 <y>190</y>
88 <width>121</width> 88 <width>121</width>
89 <height>20</height> 89 <height>20</height>
90 </rect> 90 </rect>
91 </property> 91 </property>
92 <property name="text"> 92 <property name="text">
97 </property> 97 </property>
98 </widget> 98 </widget>
99 <widget class="QLabel" name="prodLabel"> 99 <widget class="QLabel" name="prodLabel">
100 <property name="geometry"> 100 <property name="geometry">
101 <rect> 101 <rect>
102 <x>20</x>
103 <y>340</y>
104 <width>101</width>
105 <height>20</height>
106 </rect>
107 </property>
108 <property name="text">
109 <string>Production date:</string>
110 </property>
111 <property name="alignment">
112 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
113 </property>
114 </widget>
115 <widget class="QLabel" name="thtLabel">
116 <property name="geometry">
117 <rect>
102 <x>660</x> 118 <x>660</x>
103 <y>410</y> 119 <y>340</y>
104 <width>141</width>
105 <height>20</height>
106 </rect>
107 </property>
108 <property name="text">
109 <string>Production date:</string>
110 </property>
111 <property name="alignment">
112 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
113 </property>
114 </widget>
115 <widget class="QLabel" name="thtLabel">
116 <property name="geometry">
117 <rect>
118 <x>660</x>
119 <y>440</y>
120 <width>141</width> 120 <width>141</width>
121 <height>20</height> 121 <height>20</height>
122 </rect> 122 </rect>
123 </property> 123 </property>
124 <property name="text"> 124 <property name="text">
139 </property> 139 </property>
140 <property name="maxLength"> 140 <property name="maxLength">
141 <number>128</number> 141 <number>128</number>
142 </property> 142 </property>
143 <property name="placeholderText"> 143 <property name="placeholderText">
144 <string>Name of the fermentable</string> 144 <string>Name of the misc ingredient</string>
145 </property> 145 </property>
146 </widget> 146 </widget>
147 <widget class="QPlainTextEdit" name="notesEdit"> 147 <widget class="QPlainTextEdit" name="notesEdit">
148 <property name="geometry"> 148 <property name="geometry">
149 <rect> 149 <rect>
158 </property> 158 </property>
159 </widget> 159 </widget>
160 <widget class="QDoubleSpinBox" name="inventoryEdit"> 160 <widget class="QDoubleSpinBox" name="inventoryEdit">
161 <property name="geometry"> 161 <property name="geometry">
162 <rect> 162 <rect>
163 <x>140</x> 163 <x>810</x>
164 <y>410</y> 164 <y>130</y>
165 <width>121</width> 165 <width>121</width>
166 <height>24</height> 166 <height>24</height>
167 </rect> 167 </rect>
168 </property> 168 </property>
169 <property name="alignment"> 169 <property name="alignment">
192 </property> 192 </property>
193 </widget> 193 </widget>
194 <widget class="QDoubleSpinBox" name="costEdit"> 194 <widget class="QDoubleSpinBox" name="costEdit">
195 <property name="geometry"> 195 <property name="geometry">
196 <rect> 196 <rect>
197 <x>140</x> 197 <x>810</x>
198 <y>440</y> 198 <y>160</y>
199 <width>121</width> 199 <width>121</width>
200 <height>24</height> 200 <height>24</height>
201 </rect> 201 </rect>
202 </property> 202 </property>
203 <property name="alignment"> 203 <property name="alignment">
217 </property> 217 </property>
218 </widget> 218 </widget>
219 <widget class="NullDateEdit" name="prodEdit" native="true"> 219 <widget class="NullDateEdit" name="prodEdit" native="true">
220 <property name="geometry"> 220 <property name="geometry">
221 <rect> 221 <rect>
222 <x>810</x> 222 <x>140</x>
223 <y>410</y> 223 <y>340</y>
224 <width>121</width> 224 <width>121</width>
225 <height>24</height> 225 <height>24</height>
226 </rect> 226 </rect>
227 </property> 227 </property>
228 <property name="dateTime" stdset="0"> 228 <property name="dateTime" stdset="0">
244 </widget> 244 </widget>
245 <widget class="NullDateEdit" name="thtEdit" native="true"> 245 <widget class="NullDateEdit" name="thtEdit" native="true">
246 <property name="geometry"> 246 <property name="geometry">
247 <rect> 247 <rect>
248 <x>810</x> 248 <x>810</x>
249 <y>440</y> 249 <y>340</y>
250 <width>121</width> 250 <width>121</width>
251 <height>24</height> 251 <height>24</height>
252 </rect> 252 </rect>
253 </property> 253 </property>
254 <property name="displayFormat" stdset="0"> 254 <property name="displayFormat" stdset="0">
275 </property> 275 </property>
276 <property name="text"> 276 <property name="text">
277 <string>Quit</string> 277 <string>Quit</string>
278 </property> 278 </property>
279 <property name="icon"> 279 <property name="icon">
280 <iconset resource="../../../../../../home/mbroek/MyProjects/bmsapp/resources/icons.qrc"> 280 <iconset>
281 <normaloff>:icons/silk/door_out.png</normaloff>:icons/silk/door_out.png</iconset> 281 <normaloff>:icons/silk/door_out.png</normaloff>:icons/silk/door_out.png</iconset>
282 </property> 282 </property>
283 </widget> 283 </widget>
284 <widget class="QPushButton" name="saveButton"> 284 <widget class="QPushButton" name="saveButton">
285 <property name="enabled"> 285 <property name="enabled">
295 </property> 295 </property>
296 <property name="text"> 296 <property name="text">
297 <string>Save</string> 297 <string>Save</string>
298 </property> 298 </property>
299 <property name="icon"> 299 <property name="icon">
300 <iconset resource="../../../../../../home/mbroek/MyProjects/bmsapp/resources/icons.qrc"> 300 <iconset>
301 <normaloff>:icons/silk/disk.png</normaloff>:icons/silk/disk.png</iconset> 301 <normaloff>:icons/silk/disk.png</normaloff>:icons/silk/disk.png</iconset>
302 </property> 302 </property>
303 </widget> 303 </widget>
304 <widget class="QPushButton" name="deleteButton"> 304 <widget class="QPushButton" name="deleteButton">
305 <property name="enabled"> 305 <property name="enabled">
315 </property> 315 </property>
316 <property name="text"> 316 <property name="text">
317 <string>Delete</string> 317 <string>Delete</string>
318 </property> 318 </property>
319 <property name="icon"> 319 <property name="icon">
320 <iconset resource="../../../../../../home/mbroek/MyProjects/bmsapp/resources/icons.qrc"> 320 <iconset>
321 <normaloff>:icons/silk/delete.png</normaloff>:icons/silk/delete.png</iconset> 321 <normaloff>:icons/silk/delete.png</normaloff>:icons/silk/delete.png</iconset>
322 </property> 322 </property>
323 </widget> 323 </widget>
324 <widget class="QDoubleSpinBox" name="valueEdit"> 324 <widget class="QDoubleSpinBox" name="valueEdit">
325 <property name="geometry"> 325 <property name="geometry">
326 <rect> 326 <rect>
327 <x>140</x> 327 <x>810</x>
328 <y>470</y> 328 <y>190</y>
329 <width>107</width> 329 <width>107</width>
330 <height>24</height> 330 <height>24</height>
331 </rect> 331 </rect>
332 </property> 332 </property>
333 <property name="alignment"> 333 <property name="alignment">
336 <property name="readOnly"> 336 <property name="readOnly">
337 <bool>true</bool> 337 <bool>true</bool>
338 </property> 338 </property>
339 <property name="buttonSymbols"> 339 <property name="buttonSymbols">
340 <enum>QAbstractSpinBox::NoButtons</enum> 340 <enum>QAbstractSpinBox::NoButtons</enum>
341 </property>
342 </widget>
343 <widget class="QLabel" name="typeLabel">
344 <property name="geometry">
345 <rect>
346 <x>30</x>
347 <y>130</y>
348 <width>91</width>
349 <height>20</height>
350 </rect>
351 </property>
352 <property name="text">
353 <string>Type:</string>
354 </property>
355 <property name="alignment">
356 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
357 </property>
358 </widget>
359 <widget class="QLabel" name="isweightLabel">
360 <property name="geometry">
361 <rect>
362 <x>10</x>
363 <y>160</y>
364 <width>111</width>
365 <height>20</height>
366 </rect>
367 </property>
368 <property name="text">
369 <string>Amount is weight:</string>
370 </property>
371 <property name="alignment">
372 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
373 </property>
374 </widget>
375 <widget class="QLabel" name="useLabel">
376 <property name="geometry">
377 <rect>
378 <x>30</x>
379 <y>190</y>
380 <width>91</width>
381 <height>20</height>
382 </rect>
383 </property>
384 <property name="text">
385 <string>Use at:</string>
386 </property>
387 <property name="alignment">
388 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
389 </property>
390 </widget>
391 <widget class="QLabel" name="timeLabel">
392 <property name="geometry">
393 <rect>
394 <x>30</x>
395 <y>220</y>
396 <width>91</width>
397 <height>20</height>
398 </rect>
399 </property>
400 <property name="text">
401 <string>Time:</string>
402 </property>
403 <property name="alignment">
404 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
405 </property>
406 </widget>
407 <widget class="QLabel" name="useforLabel">
408 <property name="geometry">
409 <rect>
410 <x>30</x>
411 <y>250</y>
412 <width>91</width>
413 <height>20</height>
414 </rect>
415 </property>
416 <property name="text">
417 <string>Use for:</string>
418 </property>
419 <property name="alignment">
420 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
421 </property>
422 </widget>
423 <widget class="QLabel" name="alwaysLabel">
424 <property name="geometry">
425 <rect>
426 <x>690</x>
427 <y>220</y>
428 <width>111</width>
429 <height>20</height>
430 </rect>
431 </property>
432 <property name="text">
433 <string>Always on stock:</string>
434 </property>
435 <property name="alignment">
436 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
437 </property>
438 </widget>
439 <widget class="QComboBox" name="typeEdit">
440 <property name="geometry">
441 <rect>
442 <x>140</x>
443 <y>130</y>
444 <width>131</width>
445 <height>23</height>
446 </rect>
447 </property>
448 </widget>
449 <widget class="QComboBox" name="useEdit">
450 <property name="geometry">
451 <rect>
452 <x>140</x>
453 <y>190</y>
454 <width>131</width>
455 <height>23</height>
456 </rect>
457 </property>
458 </widget>
459 <widget class="QCheckBox" name="isweightEdit">
460 <property name="geometry">
461 <rect>
462 <x>140</x>
463 <y>160</y>
464 <width>85</width>
465 <height>21</height>
466 </rect>
467 </property>
468 <property name="text">
469 <string>Yes</string>
470 </property>
471 </widget>
472 <widget class="QSpinBox" name="timeEdit">
473 <property name="geometry">
474 <rect>
475 <x>140</x>
476 <y>220</y>
477 <width>71</width>
478 <height>24</height>
479 </rect>
480 </property>
481 <property name="alignment">
482 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
483 </property>
484 <property name="accelerated">
485 <bool>true</bool>
486 </property>
487 <property name="maximum">
488 <number>99360</number>
489 </property>
490 </widget>
491 <widget class="QCheckBox" name="alwaysEdit">
492 <property name="geometry">
493 <rect>
494 <x>810</x>
495 <y>220</y>
496 <width>85</width>
497 <height>21</height>
498 </rect>
499 </property>
500 <property name="text">
501 <string>Yes</string>
502 </property>
503 </widget>
504 <widget class="QPlainTextEdit" name="useforEdit">
505 <property name="geometry">
506 <rect>
507 <x>140</x>
508 <y>250</y>
509 <width>791</width>
510 <height>61</height>
511 </rect>
512 </property>
513 </widget>
514 <widget class="QLineEdit" name="timeShow">
515 <property name="geometry">
516 <rect>
517 <x>220</x>
518 <y>220</y>
519 <width>113</width>
520 <height>23</height>
521 </rect>
522 </property>
523 <property name="alignment">
524 <set>Qt::AlignCenter</set>
525 </property>
526 <property name="readOnly">
527 <bool>true</bool>
341 </property> 528 </property>
342 </widget> 529 </widget>
343 </widget> 530 </widget>
344 </item> 531 </item>
345 </layout> 532 </layout>

mercurial