ui/EditHop.ui

changeset 23
1ac3fb2569c1
child 24
684c6e74cc1b
equal deleted inserted replaced
22:b52978ee7412 23:1ac3fb2569c1
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>EditHop</class>
4 <widget class="QDialog" name="EditHop">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>1024</width>
10 <height>560</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>Dialog</string>
15 </property>
16 <layout class="QGridLayout" name="gridLayout">
17 <item row="0" column="0">
18 <widget class="QWidget" name="topWidget" native="true">
19 <widget class="QLabel" name="nameLabel">
20 <property name="geometry">
21 <rect>
22 <x>30</x>
23 <y>10</y>
24 <width>91</width>
25 <height>20</height>
26 </rect>
27 </property>
28 <property name="text">
29 <string>Name:</string>
30 </property>
31 <property name="alignment">
32 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
33 </property>
34 </widget>
35 <widget class="QLabel" name="notesLabel">
36 <property name="geometry">
37 <rect>
38 <x>30</x>
39 <y>40</y>
40 <width>91</width>
41 <height>20</height>
42 </rect>
43 </property>
44 <property name="text">
45 <string>Notes:</string>
46 </property>
47 <property name="alignment">
48 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
49 </property>
50 </widget>
51 <widget class="QLabel" name="inventoryLabel">
52 <property name="geometry">
53 <rect>
54 <x>5</x>
55 <y>410</y>
56 <width>121</width>
57 <height>20</height>
58 </rect>
59 </property>
60 <property name="text">
61 <string>Inventory:</string>
62 </property>
63 <property name="alignment">
64 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
65 </property>
66 </widget>
67 <widget class="QLabel" name="costLabel">
68 <property name="geometry">
69 <rect>
70 <x>5</x>
71 <y>440</y>
72 <width>121</width>
73 <height>20</height>
74 </rect>
75 </property>
76 <property name="text">
77 <string>Cost per Kg:</string>
78 </property>
79 <property name="alignment">
80 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
81 </property>
82 </widget>
83 <widget class="QLabel" name="valueLabel">
84 <property name="geometry">
85 <rect>
86 <x>5</x>
87 <y>470</y>
88 <width>121</width>
89 <height>20</height>
90 </rect>
91 </property>
92 <property name="text">
93 <string>Total value:</string>
94 </property>
95 <property name="alignment">
96 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
97 </property>
98 </widget>
99 <widget class="QLabel" name="prodLabel">
100 <property name="geometry">
101 <rect>
102 <x>660</x>
103 <y>410</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>
121 <height>20</height>
122 </rect>
123 </property>
124 <property name="text">
125 <string>Best before date:</string>
126 </property>
127 <property name="alignment">
128 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
129 </property>
130 </widget>
131 <widget class="QLineEdit" name="nameEdit">
132 <property name="geometry">
133 <rect>
134 <x>140</x>
135 <y>10</y>
136 <width>791</width>
137 <height>23</height>
138 </rect>
139 </property>
140 <property name="maxLength">
141 <number>128</number>
142 </property>
143 <property name="placeholderText">
144 <string>Name of the fermentable</string>
145 </property>
146 </widget>
147 <widget class="QPlainTextEdit" name="notesEdit">
148 <property name="geometry">
149 <rect>
150 <x>140</x>
151 <y>40</y>
152 <width>791</width>
153 <height>81</height>
154 </rect>
155 </property>
156 <property name="placeholderText">
157 <string>Notes and usage tips.</string>
158 </property>
159 </widget>
160 <widget class="QDoubleSpinBox" name="inventoryEdit">
161 <property name="geometry">
162 <rect>
163 <x>140</x>
164 <y>410</y>
165 <width>121</width>
166 <height>24</height>
167 </rect>
168 </property>
169 <property name="alignment">
170 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
171 </property>
172 <property name="readOnly">
173 <bool>false</bool>
174 </property>
175 <property name="buttonSymbols">
176 <enum>QAbstractSpinBox::UpDownArrows</enum>
177 </property>
178 <property name="accelerated">
179 <bool>true</bool>
180 </property>
181 <property name="decimals">
182 <number>3</number>
183 </property>
184 <property name="maximum">
185 <double>100000.000000000000000</double>
186 </property>
187 <property name="singleStep">
188 <double>0.001000000000000</double>
189 </property>
190 <property name="stepType">
191 <enum>QAbstractSpinBox::DefaultStepType</enum>
192 </property>
193 </widget>
194 <widget class="QDoubleSpinBox" name="costEdit">
195 <property name="geometry">
196 <rect>
197 <x>140</x>
198 <y>440</y>
199 <width>121</width>
200 <height>24</height>
201 </rect>
202 </property>
203 <property name="alignment">
204 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
205 </property>
206 <property name="accelerated">
207 <bool>true</bool>
208 </property>
209 <property name="maximum">
210 <double>1000.000000000000000</double>
211 </property>
212 <property name="singleStep">
213 <double>0.010000000000000</double>
214 </property>
215 <property name="stepType">
216 <enum>QAbstractSpinBox::DefaultStepType</enum>
217 </property>
218 </widget>
219 <widget class="NullDateEdit" name="prodEdit" native="true">
220 <property name="geometry">
221 <rect>
222 <x>810</x>
223 <y>410</y>
224 <width>121</width>
225 <height>24</height>
226 </rect>
227 </property>
228 <property name="dateTime" stdset="0">
229 <datetime>
230 <hour>0</hour>
231 <minute>0</minute>
232 <second>0</second>
233 <year>2000</year>
234 <month>1</month>
235 <day>1</day>
236 </datetime>
237 </property>
238 <property name="displayFormat" stdset="0">
239 <string>yyyy-MM-dd</string>
240 </property>
241 <property name="calendarPopup" stdset="0">
242 <bool>true</bool>
243 </property>
244 </widget>
245 <widget class="NullDateEdit" name="thtEdit" native="true">
246 <property name="geometry">
247 <rect>
248 <x>810</x>
249 <y>440</y>
250 <width>121</width>
251 <height>24</height>
252 </rect>
253 </property>
254 <property name="displayFormat" stdset="0">
255 <string>yyyy-MM-dd</string>
256 </property>
257 <property name="calendarPopup" stdset="0">
258 <bool>true</bool>
259 </property>
260 </widget>
261 <widget class="QPushButton" name="quitButton">
262 <property name="geometry">
263 <rect>
264 <x>90</x>
265 <y>510</y>
266 <width>80</width>
267 <height>23</height>
268 </rect>
269 </property>
270 <property name="sizePolicy">
271 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
272 <horstretch>0</horstretch>
273 <verstretch>0</verstretch>
274 </sizepolicy>
275 </property>
276 <property name="text">
277 <string>Quit</string>
278 </property>
279 <property name="icon">
280 <iconset resource="../../../../../../home/mbroek/MyProjects/bmsapp/resources/icons.qrc">
281 <normaloff>:/icons/silk/icons/silk/door_out.png</normaloff>:/icons/silk/icons/silk/door_out.png</iconset>
282 </property>
283 </widget>
284 <widget class="QPushButton" name="saveButton">
285 <property name="enabled">
286 <bool>false</bool>
287 </property>
288 <property name="geometry">
289 <rect>
290 <x>850</x>
291 <y>510</y>
292 <width>80</width>
293 <height>23</height>
294 </rect>
295 </property>
296 <property name="text">
297 <string>Save</string>
298 </property>
299 <property name="icon">
300 <iconset resource="../../../../../../home/mbroek/MyProjects/bmsapp/resources/icons.qrc">
301 <normaloff>:/icons/silk/icons/silk/disk.png</normaloff>:/icons/silk/icons/silk/disk.png</iconset>
302 </property>
303 </widget>
304 <widget class="QPushButton" name="deleteButton">
305 <property name="enabled">
306 <bool>false</bool>
307 </property>
308 <property name="geometry">
309 <rect>
310 <x>463</x>
311 <y>510</y>
312 <width>80</width>
313 <height>23</height>
314 </rect>
315 </property>
316 <property name="text">
317 <string>Delete</string>
318 </property>
319 <property name="icon">
320 <iconset resource="../../../../../../home/mbroek/MyProjects/bmsapp/resources/icons.qrc">
321 <normaloff>:/icons/silk/icons/silk/delete.png</normaloff>:/icons/silk/icons/silk/delete.png</iconset>
322 </property>
323 </widget>
324 <widget class="QDoubleSpinBox" name="valueEdit">
325 <property name="geometry">
326 <rect>
327 <x>140</x>
328 <y>470</y>
329 <width>107</width>
330 <height>24</height>
331 </rect>
332 </property>
333 <property name="alignment">
334 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
335 </property>
336 <property name="readOnly">
337 <bool>true</bool>
338 </property>
339 <property name="buttonSymbols">
340 <enum>QAbstractSpinBox::NoButtons</enum>
341 </property>
342 </widget>
343 </widget>
344 </item>
345 </layout>
346 </widget>
347 <customwidgets>
348 <customwidget>
349 <class>NullDateEdit</class>
350 <extends>QWidget</extends>
351 <header>nulldateedit.h</header>
352 </customwidget>
353 </customwidgets>
354 <tabstops>
355 <tabstop>nameEdit</tabstop>
356 <tabstop>notesEdit</tabstop>
357 <tabstop>inventoryEdit</tabstop>
358 <tabstop>costEdit</tabstop>
359 <tabstop>prodEdit</tabstop>
360 <tabstop>thtEdit</tabstop>
361 <tabstop>quitButton</tabstop>
362 <tabstop>deleteButton</tabstop>
363 <tabstop>saveButton</tabstop>
364 <tabstop>valueEdit</tabstop>
365 </tabstops>
366 <resources>
367 <include location="../../../../../../home/mbroek/MyProjects/bmsapp/resources/icons.qrc"/>
368 </resources>
369 <connections/>
370 </ui>

mercurial