1<ui version="4.0" >
2 <class>HydrometerTool</class>
3 <widget class="QDialog" name="HydrometerTool" >
4  <property name="geometry" >
5   <rect>
6    <x>0</x>
7    <y>0</y>
8    <width>267</width>
9    <height>226</height>
10   </rect>
11  </property>
12  <property name="windowTitle" >
13   <string>Hydrometer Tool</string>
14  </property>
15  <layout class="QVBoxLayout" >
16   <property name="spacing" >
17    <number>6</number>
18   </property>
19   <property name="leftMargin" >
20    <number>9</number>
21   </property>
22   <property name="topMargin" >
23    <number>9</number>
24   </property>
25   <property name="rightMargin" >
26    <number>9</number>
27   </property>
28   <property name="bottomMargin" >
29    <number>9</number>
30   </property>
31   <item>
32    <widget class="QGroupBox" name="hydrometerbox" >
33     <property name="title" >
34      <string>Hydrometer</string>
35     </property>
36     <layout class="QGridLayout" >
37      <property name="leftMargin" >
38       <number>9</number>
39      </property>
40      <property name="topMargin" >
41       <number>9</number>
42      </property>
43      <property name="rightMargin" >
44       <number>9</number>
45      </property>
46      <property name="bottomMargin" >
47       <number>9</number>
48      </property>
49      <property name="horizontalSpacing" >
50       <number>6</number>
51      </property>
52      <property name="verticalSpacing" >
53       <number>6</number>
54      </property>
55      <item row="4" column="1" >
56       <widget class="QLabel" name="corrected" >
57        <property name="text" >
58         <string>1.000</string>
59        </property>
60       </widget>
61      </item>
62      <item row="4" column="0" >
63       <widget class="QLabel" name="correctedlabel" >
64        <property name="text" >
65         <string>Corrected reading</string>
66        </property>
67       </widget>
68      </item>
69      <item row="3" column="0" >
70       <spacer>
71        <property name="orientation" >
72         <enum>Qt::Vertical</enum>
73        </property>
74        <property name="sizeHint" >
75         <size>
76          <width>20</width>
77          <height>40</height>
78         </size>
79        </property>
80       </spacer>
81      </item>
82      <item row="2" column="1" >
83       <widget class="QDoubleSpinBox" name="reading" >
84        <property name="whatsThis" >
85         <string>Enter the reading obtained from your hydrometer</string>
86        </property>
87        <property name="accelerated" >
88         <bool>true</bool>
89        </property>
90        <property name="decimals" >
91         <number>3</number>
92        </property>
93        <property name="minimum" >
94         <double>0.850000000000000</double>
95        </property>
96        <property name="maximum" >
97         <double>1.200000000000000</double>
98        </property>
99        <property name="singleStep" >
100         <double>0.001000000000000</double>
101        </property>
102        <property name="value" >
103         <double>1.000000000000000</double>
104        </property>
105       </widget>
106      </item>
107      <item row="1" column="1" >
108       <widget class="QDoubleSpinBox" name="calibrated" >
109        <property name="whatsThis" >
110         <string>Enter the temperature your hydrometer is calibrated for</string>
111        </property>
112        <property name="accelerated" >
113         <bool>true</bool>
114        </property>
115        <property name="decimals" >
116         <number>1</number>
117        </property>
118        <property name="minimum" >
119         <double>32.000000000000000</double>
120        </property>
121        <property name="maximum" >
122         <double>212.000000000000000</double>
123        </property>
124        <property name="singleStep" >
125         <double>0.200000000000000</double>
126        </property>
127        <property name="value" >
128         <double>60.000000000000000</double>
129        </property>
130       </widget>
131      </item>
132      <item row="2" column="0" >
133       <widget class="QLabel" name="readinglabel" >
134        <property name="text" >
135         <string>&amp;Hydrometer reading</string>
136        </property>
137        <property name="buddy" >
138         <cstring>reading</cstring>
139        </property>
140       </widget>
141      </item>
142      <item row="1" column="0" >
143       <widget class="QLabel" name="calibratedlabel" >
144        <property name="text" >
145         <string>&amp;Calibrated temperature</string>
146        </property>
147        <property name="buddy" >
148         <cstring>calibrated</cstring>
149        </property>
150       </widget>
151      </item>
152      <item row="0" column="0" >
153       <widget class="QLabel" name="samplelabel" >
154        <property name="text" >
155         <string>&amp;Sample temperature</string>
156        </property>
157        <property name="buddy" >
158         <cstring>sample</cstring>
159        </property>
160       </widget>
161      </item>
162      <item row="0" column="1" >
163       <widget class="QDoubleSpinBox" name="sample" >
164        <property name="whatsThis" >
165         <string>Enter the temperature of your sample</string>
166        </property>
167        <property name="accelerated" >
168         <bool>true</bool>
169        </property>
170        <property name="decimals" >
171         <number>1</number>
172        </property>
173        <property name="minimum" >
174         <double>32.000000000000000</double>
175        </property>
176        <property name="maximum" >
177         <double>212.000000000000000</double>
178        </property>
179        <property name="singleStep" >
180         <double>0.200000000000000</double>
181        </property>
182        <property name="value" >
183         <double>60.000000000000000</double>
184        </property>
185       </widget>
186      </item>
187     </layout>
188    </widget>
189   </item>
190   <item>
191    <widget class="QDialogButtonBox" name="buttonbox" >
192     <property name="orientation" >
193      <enum>Qt::Horizontal</enum>
194     </property>
195     <property name="standardButtons" >
196      <set>QDialogButtonBox::Ok</set>
197     </property>
198    </widget>
199   </item>
200  </layout>
201 </widget>
202 <tabstops>
203  <tabstop>sample</tabstop>
204  <tabstop>calibrated</tabstop>
205  <tabstop>reading</tabstop>
206 </tabstops>
207 <resources/>
208 <connections>
209  <connection>
210   <sender>buttonbox</sender>
211   <signal>accepted()</signal>
212   <receiver>HydrometerTool</receiver>
213   <slot>close()</slot>
214   <hints>
215    <hint type="sourcelabel" >
216     <x>133</x>
217     <y>203</y>
218    </hint>
219    <hint type="destinationlabel" >
220     <x>133</x>
221     <y>112</y>
222    </hint>
223   </hints>
224  </connection>
225 </connections>
226</ui>
227