~ubuntu-branches/ubuntu/precise/kalzium/precise

« back to all changes in this revision

Viewing changes to src/calculator/gasCalculator.ui

  • Committer: Bazaar Package Importer
  • Author(s): Philip Muškovac
  • Date: 2011-07-03 12:28:58 UTC
  • Revision ID: james.westby@ubuntu.com-20110703122858-q1yyxncs89e4w0hs
Tags: upstream-4.6.90+repack
Import upstream version 4.6.90+repack

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<ui version="4.0">
 
3
 <class>gasCalculator</class>
 
4
 <widget class="QWidget" name="gasCalculator">
 
5
  <property name="geometry">
 
6
   <rect>
 
7
    <x>0</x>
 
8
    <y>0</y>
 
9
    <width>626</width>
 
10
    <height>518</height>
 
11
   </rect>
 
12
  </property>
 
13
  <layout class="QVBoxLayout" name="verticalLayout_2">
 
14
   <item>
 
15
    <widget class="KTextEdit" name="ktextedit">
 
16
     <property name="maximumSize">
 
17
      <size>
 
18
       <width>16777215</width>
 
19
       <height>150</height>
 
20
      </size>
 
21
     </property>
 
22
     <property name="readOnly">
 
23
      <bool>true</bool>
 
24
     </property>
 
25
     <property name="html">
 
26
      <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
 
27
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
 
28
p, li { white-space: pre-wrap; }
 
29
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
 
30
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'DejaVu Sans'; font-size:12pt; font-weight:600;&quot;&gt;Change the quantities and observe the other quantities change dynamically.&lt;br /&gt;Mass and moles are directly dependent for a given gas.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
 
31
     </property>
 
32
    </widget>
 
33
   </item>
 
34
   <item>
 
35
    <widget class="QGroupBox" name="groupBox">
 
36
     <property name="title">
 
37
      <string>Data</string>
 
38
     </property>
 
39
     <layout class="QGridLayout" name="gridLayout">
 
40
      <item row="1" column="0">
 
41
       <widget class="QLabel" name="label_2">
 
42
        <property name="text">
 
43
         <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
 
44
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
 
45
p, li { white-space: pre-wrap; }
 
46
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'DejaVu Sans'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
 
47
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; font-weight:600;&quot;&gt;molar mass of the gas:&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
 
48
        </property>
 
49
        <property name="alignment">
 
50
         <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
 
51
        </property>
 
52
       </widget>
 
53
      </item>
 
54
      <item row="1" column="1">
 
55
       <widget class="QDoubleSpinBox" name="molarMass">
 
56
        <property name="toolTip">
 
57
         <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
 
58
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
 
59
p, li { white-space: pre-wrap; }
 
60
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'DejaVu Sans'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
 
61
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt;&quot;&gt;Specify the molar mass of the gas&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
 
62
        </property>
 
63
        <property name="whatsThis">
 
64
         <string>This box can be used to specify the molar mass of the gas, e.g. 2 for Hydrogen gas.</string>
 
65
        </property>
 
66
        <property name="decimals">
 
67
         <number>4</number>
 
68
        </property>
 
69
        <property name="maximum">
 
70
         <double>1000000000.000000000000000</double>
 
71
        </property>
 
72
       </widget>
 
73
      </item>
 
74
      <item row="2" column="0">
 
75
       <widget class="QLabel" name="label_25">
 
76
        <property name="text">
 
77
         <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
 
78
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
 
79
p, li { white-space: pre-wrap; }
 
80
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'DejaVu Sans'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
 
81
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; font-weight:600;&quot;&gt;moles:&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
 
82
        </property>
 
83
        <property name="alignment">
 
84
         <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
 
85
        </property>
 
86
       </widget>
 
87
      </item>
 
88
      <item row="2" column="1">
 
89
       <widget class="QDoubleSpinBox" name="moles">
 
90
        <property name="toolTip">
 
91
         <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
 
92
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
 
93
p, li { white-space: pre-wrap; }
 
94
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'DejaVu Sans'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
 
95
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt;&quot;&gt;Specify the number of moles of the gas&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
 
96
        </property>
 
97
        <property name="whatsThis">
 
98
         <string>This box can be used to specify the number of moles of the gas.
 
99
moles = mass / molar mass</string>
 
100
        </property>
 
101
        <property name="decimals">
 
102
         <number>4</number>
 
103
        </property>
 
104
        <property name="maximum">
 
105
         <double>1000000000.000000000000000</double>
 
106
        </property>
 
107
       </widget>
 
108
      </item>
 
109
      <item row="3" column="0">
 
110
       <widget class="QLabel" name="label_24">
 
111
        <property name="text">
 
112
         <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
 
113
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
 
114
p, li { white-space: pre-wrap; }
 
115
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'DejaVu Sans'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
 
116
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; font-weight:600;&quot;&gt;Mass:&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
 
117
        </property>
 
118
        <property name="alignment">
 
119
         <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
 
120
        </property>
 
121
       </widget>
 
122
      </item>
 
123
      <item row="3" column="1">
 
124
       <widget class="QDoubleSpinBox" name="mass">
 
125
        <property name="toolTip">
 
126
         <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
 
127
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
 
128
p, li { white-space: pre-wrap; }
 
129
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'DejaVu Sans'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
 
130
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt;&quot;&gt;Specify the Mass of the gas&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
 
131
        </property>
 
132
        <property name="whatsThis">
 
133
         <string>This box can be used to specify the mass of the gas.
 
134
Mass = moles * molar mass</string>
 
135
        </property>
 
136
        <property name="decimals">
 
137
         <number>4</number>
 
138
        </property>
 
139
        <property name="maximum">
 
140
         <double>1000000000.000000000000000</double>
 
141
        </property>
 
142
       </widget>
 
143
      </item>
 
144
      <item row="3" column="2">
 
145
       <widget class="QComboBox" name="mass_unit">
 
146
        <property name="toolTip">
 
147
         <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
 
148
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
 
149
p, li { white-space: pre-wrap; }
 
150
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'DejaVu Sans'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
 
151
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt;&quot;&gt;Specify the unit of mass of the gas&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
 
152
        </property>
 
153
        <property name="whatsThis">
 
154
         <string>This box is used to change the units of mass.</string>
 
155
        </property>
 
156
       </widget>
 
157
      </item>
 
158
      <item row="3" column="3">
 
159
       <spacer name="horizontalSpacer">
 
160
        <property name="orientation">
 
161
         <enum>Qt::Horizontal</enum>
 
162
        </property>
 
163
        <property name="sizeHint" stdset="0">
 
164
         <size>
 
165
          <width>175</width>
 
166
          <height>20</height>
 
167
         </size>
 
168
        </property>
 
169
       </spacer>
 
170
      </item>
 
171
      <item row="4" column="0">
 
172
       <widget class="QLabel" name="label_27">
 
173
        <property name="text">
 
174
         <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
 
175
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
 
176
p, li { white-space: pre-wrap; }
 
177
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'DejaVu Sans'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
 
178
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; font-weight:600;&quot;&gt;Pressure:&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
 
179
        </property>
 
180
        <property name="alignment">
 
181
         <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
 
182
        </property>
 
183
       </widget>
 
184
      </item>
 
185
      <item row="4" column="1">
 
186
       <widget class="QDoubleSpinBox" name="pressure">
 
187
        <property name="toolTip">
 
188
         <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
 
189
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
 
190
p, li { white-space: pre-wrap; }
 
191
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'DejaVu Sans'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
 
192
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt;&quot;&gt;Specify the Pressure of the gas&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
 
193
        </property>
 
194
        <property name="whatsThis">
 
195
         <string>This box can be used to change the pressure of the gas.</string>
 
196
        </property>
 
197
        <property name="decimals">
 
198
         <number>4</number>
 
199
        </property>
 
200
        <property name="maximum">
 
201
         <double>1000000000.000000000000000</double>
 
202
        </property>
 
203
       </widget>
 
204
      </item>
 
205
      <item row="4" column="2">
 
206
       <widget class="QComboBox" name="pressure_unit">
 
207
        <property name="toolTip">
 
208
         <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
 
209
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
 
210
p, li { white-space: pre-wrap; }
 
211
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'DejaVu Sans'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
 
212
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt;&quot;&gt;Specify the units for pressure of the gas&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
 
213
        </property>
 
214
        <property name="whatsThis">
 
215
         <string>This box can be used to specify the units of pressure, e.g. atmospheres, bars, etc.</string>
 
216
        </property>
 
217
       </widget>
 
218
      </item>
 
219
      <item row="5" column="0">
 
220
       <widget class="QLabel" name="label_29">
 
221
        <property name="text">
 
222
         <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
 
223
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
 
224
p, li { white-space: pre-wrap; }
 
225
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'DejaVu Sans'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
 
226
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; font-weight:600;&quot;&gt;Temperature:&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
 
227
        </property>
 
228
        <property name="alignment">
 
229
         <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
 
230
        </property>
 
231
       </widget>
 
232
      </item>
 
233
      <item row="5" column="1">
 
234
       <widget class="QDoubleSpinBox" name="temp">
 
235
        <property name="toolTip">
 
236
         <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
 
237
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
 
238
p, li { white-space: pre-wrap; }
 
239
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'DejaVu Sans'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
 
240
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt;&quot;&gt;Specify the temperature of the gas&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
 
241
        </property>
 
242
        <property name="whatsThis">
 
243
         <string>This box can be used to specify the temperature of the gas.</string>
 
244
        </property>
 
245
        <property name="decimals">
 
246
         <number>4</number>
 
247
        </property>
 
248
        <property name="maximum">
 
249
         <double>1000000000.000000000000000</double>
 
250
        </property>
 
251
       </widget>
 
252
      </item>
 
253
      <item row="5" column="2">
 
254
       <widget class="QComboBox" name="temp_unit">
 
255
        <property name="toolTip">
 
256
         <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
 
257
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
 
258
p, li { white-space: pre-wrap; }
 
259
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'DejaVu Sans'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
 
260
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt;&quot;&gt;Specify the units for the temperature of the gas&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
 
261
        </property>
 
262
        <property name="whatsThis">
 
263
         <string>This box can be used to specify the units of temperature, e.g. Kelvin, Celsius, etc.</string>
 
264
        </property>
 
265
       </widget>
 
266
      </item>
 
267
      <item row="6" column="0">
 
268
       <widget class="QLabel" name="label_26">
 
269
        <property name="text">
 
270
         <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
 
271
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
 
272
p, li { white-space: pre-wrap; }
 
273
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'DejaVu Sans'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
 
274
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; font-weight:600;&quot;&gt;Volume:&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
 
275
        </property>
 
276
        <property name="alignment">
 
277
         <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
 
278
        </property>
 
279
       </widget>
 
280
      </item>
 
281
      <item row="6" column="1">
 
282
       <widget class="QDoubleSpinBox" name="volume">
 
283
        <property name="toolTip">
 
284
         <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
 
285
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
 
286
p, li { white-space: pre-wrap; }
 
287
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'DejaVu Sans'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
 
288
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt;&quot;&gt;Specify the volume of the gas&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
 
289
        </property>
 
290
        <property name="whatsThis">
 
291
         <string>This box can be used to specify the volume of the gas.</string>
 
292
        </property>
 
293
        <property name="readOnly">
 
294
         <bool>true</bool>
 
295
        </property>
 
296
        <property name="decimals">
 
297
         <number>4</number>
 
298
        </property>
 
299
        <property name="maximum">
 
300
         <double>1000000000.000000000000000</double>
 
301
        </property>
 
302
       </widget>
 
303
      </item>
 
304
      <item row="6" column="2">
 
305
       <widget class="QComboBox" name="volume_unit">
 
306
        <property name="enabled">
 
307
         <bool>true</bool>
 
308
        </property>
 
309
        <property name="toolTip">
 
310
         <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
 
311
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
 
312
p, li { white-space: pre-wrap; }
 
313
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'DejaVu Sans'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
 
314
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt;&quot;&gt;Specify the units for volume of the gas&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
 
315
        </property>
 
316
        <property name="whatsThis">
 
317
         <string>This box can be used to change the units of volume, e.g. liters.</string>
 
318
        </property>
 
319
       </widget>
 
320
      </item>
 
321
      <item row="0" column="0">
 
322
       <widget class="QLabel" name="label_3">
 
323
        <property name="text">
 
324
         <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
 
325
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
 
326
p, li { white-space: pre-wrap; }
 
327
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'DejaVu Sans'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
 
328
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; font-weight:600;&quot;&gt;Calculate:&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
 
329
        </property>
 
330
        <property name="alignment">
 
331
         <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
 
332
        </property>
 
333
       </widget>
 
334
      </item>
 
335
      <item row="0" column="1">
 
336
       <widget class="QComboBox" name="mode">
 
337
        <property name="currentIndex">
 
338
         <number>3</number>
 
339
        </property>
 
340
        <item>
 
341
         <property name="text">
 
342
          <string>Moles / Mass</string>
 
343
         </property>
 
344
        </item>
 
345
        <item>
 
346
         <property name="text">
 
347
          <string>Pressure</string>
 
348
         </property>
 
349
        </item>
 
350
        <item>
 
351
         <property name="text">
 
352
          <string>Temperature</string>
 
353
         </property>
 
354
        </item>
 
355
        <item>
 
356
         <property name="text">
 
357
          <string>Volume</string>
 
358
         </property>
 
359
        </item>
 
360
       </widget>
 
361
      </item>
 
362
      <item row="1" column="2">
 
363
       <widget class="QLabel" name="label_4">
 
364
        <property name="text">
 
365
         <string>(g/mol)</string>
 
366
        </property>
 
367
       </widget>
 
368
      </item>
 
369
     </layout>
 
370
    </widget>
 
371
   </item>
 
372
   <item>
 
373
    <widget class="QGroupBox" name="non_ideal">
 
374
     <property name="title">
 
375
      <string>Data for non-ideal gases</string>
 
376
     </property>
 
377
     <layout class="QVBoxLayout" name="verticalLayout">
 
378
      <item>
 
379
       <layout class="QGridLayout" name="gridLayout_4">
 
380
        <item row="0" column="0">
 
381
         <widget class="QLabel" name="label_30">
 
382
          <property name="text">
 
383
           <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
 
384
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
 
385
p, li { white-space: pre-wrap; }
 
386
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'DejaVu Sans'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
 
387
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; font-weight:600;&quot;&gt;Van der Waals constant 'b':&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
 
388
          </property>
 
389
          <property name="alignment">
 
390
           <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
 
391
          </property>
 
392
         </widget>
 
393
        </item>
 
394
        <item row="1" column="0">
 
395
         <widget class="QLabel" name="label_28">
 
396
          <property name="text">
 
397
           <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
 
398
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
 
399
p, li { white-space: pre-wrap; }
 
400
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'DejaVu Sans'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
 
401
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; font-weight:600;&quot;&gt;Van der Waals constant 'a':&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
 
402
          </property>
 
403
          <property name="alignment">
 
404
           <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
 
405
          </property>
 
406
         </widget>
 
407
        </item>
 
408
        <item row="0" column="1">
 
409
         <widget class="QDoubleSpinBox" name="b">
 
410
          <property name="toolTip">
 
411
           <string>Specify the units of the van der Waals constant 'b'</string>
 
412
          </property>
 
413
          <property name="whatsThis">
 
414
           <string>This box can be used to specify the van der Waals constant 'b' for the gas. This is required only for a real gas. It can be marked as 0.0 for an ideal gas.</string>
 
415
          </property>
 
416
          <property name="decimals">
 
417
           <number>4</number>
 
418
          </property>
 
419
          <property name="maximum">
 
420
           <double>1000000000.000000000000000</double>
 
421
          </property>
 
422
         </widget>
 
423
        </item>
 
424
        <item row="1" column="1">
 
425
         <widget class="QDoubleSpinBox" name="a">
 
426
          <property name="toolTip">
 
427
           <string>Specify the units of the van der Waals constant 'a'</string>
 
428
          </property>
 
429
          <property name="whatsThis">
 
430
           <string>This box can be used to specify the van der Waals constant 'a' for the gas. This is required only for a real gas. It can be marked as 0.0 for an ideal gas.</string>
 
431
          </property>
 
432
          <property name="decimals">
 
433
           <number>4</number>
 
434
          </property>
 
435
          <property name="maximum">
 
436
           <double>1000000000.000000000000000</double>
 
437
          </property>
 
438
         </widget>
 
439
        </item>
 
440
        <item row="0" column="2">
 
441
         <layout class="QHBoxLayout" name="horizontalLayout">
 
442
          <item>
 
443
           <widget class="QComboBox" name="b_unit">
 
444
            <property name="toolTip">
 
445
             <string>The units of the van der Waals constant 'b'</string>
 
446
            </property>
 
447
            <property name="whatsThis">
 
448
             <string>This can be used to specify the units of the van der Waals constant 'b'.</string>
 
449
            </property>
 
450
           </widget>
 
451
          </item>
 
452
          <item>
 
453
           <widget class="QLabel" name="label">
 
454
            <property name="text">
 
455
             <string>per mole</string>
 
456
            </property>
 
457
           </widget>
 
458
          </item>
 
459
         </layout>
 
460
        </item>
 
461
        <item row="0" column="3">
 
462
         <spacer name="horizontalSpacer_2">
 
463
          <property name="orientation">
 
464
           <enum>Qt::Horizontal</enum>
 
465
          </property>
 
466
          <property name="sizeHint" stdset="0">
 
467
           <size>
 
468
            <width>40</width>
 
469
            <height>20</height>
 
470
           </size>
 
471
          </property>
 
472
         </spacer>
 
473
        </item>
 
474
        <item row="1" column="2">
 
475
         <widget class="QLabel" name="label_5">
 
476
          <property name="text">
 
477
           <string>liter^2 atmosphere/mol^2</string>
 
478
          </property>
 
479
         </widget>
 
480
        </item>
 
481
       </layout>
 
482
      </item>
 
483
     </layout>
 
484
    </widget>
 
485
   </item>
 
486
   <item>
 
487
    <widget class="QLabel" name="result">
 
488
     <property name="text">
 
489
      <string/>
 
490
     </property>
 
491
    </widget>
 
492
   </item>
 
493
   <item>
 
494
    <widget class="QLabel" name="error">
 
495
     <property name="text">
 
496
      <string/>
 
497
     </property>
 
498
    </widget>
 
499
   </item>
 
500
   <item>
 
501
    <layout class="QHBoxLayout" name="horizontalLayout_12">
 
502
     <item>
 
503
      <spacer name="horizontalSpacer_22">
 
504
       <property name="orientation">
 
505
        <enum>Qt::Horizontal</enum>
 
506
       </property>
 
507
       <property name="sizeHint" stdset="0">
 
508
        <size>
 
509
         <width>40</width>
 
510
         <height>20</height>
 
511
        </size>
 
512
       </property>
 
513
      </spacer>
 
514
     </item>
 
515
     <item>
 
516
      <widget class="QPushButton" name="reset">
 
517
       <property name="toolTip">
 
518
        <string>Click to reset all values to initial values</string>
 
519
       </property>
 
520
       <property name="text">
 
521
        <string>Reset</string>
 
522
       </property>
 
523
      </widget>
 
524
     </item>
 
525
    </layout>
 
526
   </item>
 
527
  </layout>
 
528
 </widget>
 
529
 <customwidgets>
 
530
  <customwidget>
 
531
   <class>KTextEdit</class>
 
532
   <extends>QTextEdit</extends>
 
533
   <header>ktextedit.h</header>
 
534
  </customwidget>
 
535
 </customwidgets>
 
536
 <resources/>
 
537
 <connections/>
 
538
</ui>