Warning, /education/kalzium/src/calculator/concCalculator.ui is written in an unsupported language. File is not indexed.

0001 <?xml version="1.0" encoding="UTF-8"?>
0002 <ui version="4.0">
0003  <class>concCalculator</class>
0004  <widget class="QWidget" name="concCalculator">
0005   <property name="enabled">
0006    <bool>true</bool>
0007   </property>
0008   <property name="geometry">
0009    <rect>
0010     <x>0</x>
0011     <y>0</y>
0012     <width>706</width>
0013     <height>465</height>
0014    </rect>
0015   </property>
0016   <layout class="QVBoxLayout" name="verticalLayout_2">
0017    <property name="margin">
0018     <number>0</number>
0019    </property>
0020    <item>
0021     <widget class="KTextEdit" name="ktextedit">
0022      <property name="readOnly">
0023       <bool>true</bool>
0024      </property>
0025      <property name="html">
0026       <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;
0027 &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;
0028 p, li { white-space: pre-wrap; }
0029 &lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Liberation Sans'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
0030 &lt;p style=&quot; margin-top:12px; margin-bottom:12px; 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;Some of the following data is not necessary. For instance, if you specify the amount of solute in moles, you do not have to specify the molar mass of the solute.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
0031      </property>
0032     </widget>
0033    </item>
0034    <item>
0035     <widget class="QGroupBox" name="groupBox">
0036      <property name="title">
0037       <string>Data</string>
0038      </property>
0039      <layout class="QGridLayout" name="gridLayout">
0040       <item row="1" column="0">
0041        <widget class="QLabel" name="label_36">
0042         <property name="text">
0043          <string>&lt;big&gt;&lt;b&gt;Amount of solute:&lt;/b&gt;&lt;/big&gt;</string>
0044         </property>
0045         <property name="alignment">
0046          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
0047         </property>
0048        </widget>
0049       </item>
0050       <item row="1" column="1">
0051        <widget class="QDoubleSpinBox" name="amtSolute">
0052         <property name="toolTip">
0053          <string>&lt;big&gt;Specify the amount of solute&lt;/big&gt;</string>
0054         </property>
0055         <property name="whatsThis">
0056          <string>This is the box used to specify the amount of solute in the solution.</string>
0057         </property>
0058         <property name="decimals">
0059          <number>4</number>
0060         </property>
0061         <property name="maximum">
0062          <double>1000000000.000000000000000</double>
0063         </property>
0064        </widget>
0065       </item>
0066       <item row="1" column="3">
0067        <widget class="KComboBox" name="amtSltType">
0068         <property name="toolTip">
0069          <string>The method by which you want to specify the amount of solute</string>
0070         </property>
0071         <property name="whatsThis">
0072          <string>This box is used to change the mode in which the amount of solute is specified, i.e. mass, moles or volume.</string>
0073         </property>
0074        </widget>
0075       </item>
0076       <item row="2" column="0">
0077        <widget class="QLabel" name="label_39">
0078         <property name="text">
0079          <string>&lt;big&gt;&lt;b&gt;Molar mass of solute:&lt;/b&gt;&lt;/big&gt;</string>
0080         </property>
0081         <property name="alignment">
0082          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
0083         </property>
0084        </widget>
0085       </item>
0086       <item row="2" column="1">
0087        <widget class="QDoubleSpinBox" name="molarMass">
0088         <property name="toolTip">
0089          <string>&lt;big&gt;Specify the molar mass of the solute&lt;/big&gt;</string>
0090         </property>
0091         <property name="whatsThis">
0092          <string>This box is used to specify the molar mass of the substance.</string>
0093         </property>
0094         <property name="decimals">
0095          <number>4</number>
0096         </property>
0097         <property name="maximum">
0098          <double>1000000000.000000000000000</double>
0099         </property>
0100        </widget>
0101       </item>
0102       <item row="3" column="0">
0103        <widget class="QLabel" name="label_40">
0104         <property name="text">
0105          <string>&lt;big&gt;&lt;b&gt;Equivalent mass of solute:&lt;/b&gt;&lt;/big&gt;</string>
0106         </property>
0107         <property name="alignment">
0108          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
0109         </property>
0110        </widget>
0111       </item>
0112       <item row="3" column="1">
0113        <widget class="QDoubleSpinBox" name="eqtMass">
0114         <property name="toolTip">
0115          <string>&lt;big&gt;Specify the equivalent mass of the solute&lt;/big&gt;</string>
0116         </property>
0117         <property name="whatsThis">
0118          <string>This box is used to specify the equivalent mass of the solute. This is required only if concentration in terms of normality is involved.
0119 Normality = Number of Equivalents / liter of solution</string>
0120         </property>
0121         <property name="decimals">
0122          <number>4</number>
0123         </property>
0124         <property name="maximum">
0125          <double>1000000000.000000000000000</double>
0126         </property>
0127        </widget>
0128       </item>
0129       <item row="4" column="0">
0130        <widget class="QLabel" name="label_52">
0131         <property name="text">
0132          <string>&lt;big&gt;&lt;b&gt;Density of solute:&lt;/b&gt;&lt;/big&gt;</string>
0133         </property>
0134         <property name="alignment">
0135          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
0136         </property>
0137        </widget>
0138       </item>
0139       <item row="4" column="1">
0140        <widget class="QDoubleSpinBox" name="densitySolute">
0141         <property name="toolTip">
0142          <string>&lt;big&gt;Specify the density of the solute&lt;/big&gt;</string>
0143         </property>
0144         <property name="whatsThis">
0145          <string>This box is used to specify the value of the density of the solute. This is required only if you are specifying the amount of solute in terms of volume.</string>
0146         </property>
0147         <property name="decimals">
0148          <number>4</number>
0149         </property>
0150         <property name="maximum">
0151          <double>1000000000.000000000000000</double>
0152         </property>
0153        </widget>
0154       </item>
0155       <item row="5" column="0">
0156        <widget class="QLabel" name="label_31">
0157         <property name="text">
0158          <string>&lt;big&gt;&lt;b&gt;Amount of Solvent:&lt;/b&gt;&lt;/big&gt;</string>
0159         </property>
0160         <property name="alignment">
0161          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
0162         </property>
0163        </widget>
0164       </item>
0165       <item row="5" column="1">
0166        <widget class="QDoubleSpinBox" name="amtSolvent">
0167         <property name="toolTip">
0168          <string>&lt;big&gt;Specify the amount of solvent&lt;/big&gt;</string>
0169         </property>
0170         <property name="whatsThis">
0171          <string>This box is used to specify the amount of solvent in the solution.</string>
0172         </property>
0173         <property name="decimals">
0174          <number>4</number>
0175         </property>
0176         <property name="maximum">
0177          <double>1000000000.000000000000000</double>
0178         </property>
0179        </widget>
0180       </item>
0181       <item row="5" column="3">
0182        <widget class="KComboBox" name="amtSlvtType">
0183         <property name="toolTip">
0184          <string>&lt;big&gt;The method by which you want to specify volume&lt;/big&gt;</string>
0185         </property>
0186         <property name="whatsThis">
0187          <string>This box is used to change the mode in which amount of solvent is specified, i.e. mass, moles or volume.</string>
0188         </property>
0189        </widget>
0190       </item>
0191       <item row="6" column="0">
0192        <widget class="QLabel" name="label_42">
0193         <property name="text">
0194          <string>&lt;big&gt;&lt;b&gt;Molar mass of solvent:&lt;/b&gt;&lt;/big&gt;</string>
0195         </property>
0196         <property name="alignment">
0197          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
0198         </property>
0199        </widget>
0200       </item>
0201       <item row="6" column="1">
0202        <widget class="QDoubleSpinBox" name="molarMassSolvent">
0203         <property name="toolTip">
0204          <string>&lt;big&gt;Specify the molar mass of the solvent&lt;/big&gt;</string>
0205         </property>
0206         <property name="whatsThis">
0207          <string>This box is used to specify the molar mass of the solvent.</string>
0208         </property>
0209         <property name="decimals">
0210          <number>4</number>
0211         </property>
0212         <property name="maximum">
0213          <double>1000000000.000000000000000</double>
0214         </property>
0215        </widget>
0216       </item>
0217       <item row="7" column="0">
0218        <widget class="QLabel" name="label_55">
0219         <property name="text">
0220          <string>&lt;big&gt;&lt;b&gt;Density of Solvent:&lt;/b&gt;&lt;/big&gt;</string>
0221         </property>
0222         <property name="alignment">
0223          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
0224         </property>
0225        </widget>
0226       </item>
0227       <item row="7" column="1">
0228        <widget class="QDoubleSpinBox" name="densitySolvent">
0229         <property name="toolTip">
0230          <string>&lt;big&gt;Specify the density of the solvent&lt;/big&gt;</string>
0231         </property>
0232         <property name="whatsThis">
0233          <string>This box is used to specify the density of the solution and is required only if the amount of solution is specified/needed in terms of mass.</string>
0234         </property>
0235         <property name="decimals">
0236          <number>4</number>
0237         </property>
0238         <property name="maximum">
0239          <double>1000000000.000000000000000</double>
0240         </property>
0241        </widget>
0242       </item>
0243       <item row="8" column="0">
0244        <widget class="QLabel" name="label_41">
0245         <property name="text">
0246          <string>&lt;big&gt;&lt;b&gt;Concentration:&lt;/b&gt;&lt;/big&gt;</string>
0247         </property>
0248         <property name="alignment">
0249          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
0250         </property>
0251        </widget>
0252       </item>
0253       <item row="8" column="1">
0254        <widget class="QDoubleSpinBox" name="concentration">
0255         <property name="toolTip">
0256          <string>&lt;big&gt;Specify the concentration of the solution&lt;/big&gt;</string>
0257         </property>
0258         <property name="whatsThis">
0259          <string>This box is used to specify the concentration of the solution in respective units to the right.</string>
0260         </property>
0261         <property name="decimals">
0262          <number>4</number>
0263         </property>
0264         <property name="maximum">
0265          <double>1000000000.000000000000000</double>
0266         </property>
0267        </widget>
0268       </item>
0269       <item row="0" column="0">
0270        <widget class="QLabel" name="label_37">
0271         <property name="text">
0272          <string>&lt;big&gt;&lt;b&gt;Calculate:&lt;/b&gt;&lt;/big&gt;</string>
0273         </property>
0274         <property name="alignment">
0275          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
0276         </property>
0277        </widget>
0278       </item>
0279       <item row="0" column="1">
0280        <widget class="KComboBox" name="mode">
0281         <property name="toolTip">
0282          <string>&lt;big&gt;Specify what you want to calculate&lt;/big&gt;</string>
0283         </property>
0284         <property name="whatsThis">
0285          <string>This is the list of quantities that you can calculate. Choose one of the quantities and specify the other required values to calculate it.</string>
0286         </property>
0287         <property name="currentIndex">
0288          <number>5</number>
0289         </property>
0290        </widget>
0291       </item>
0292       <item row="1" column="5">
0293        <spacer name="horizontalSpacer">
0294         <property name="orientation">
0295          <enum>Qt::Horizontal</enum>
0296         </property>
0297         <property name="sizeHint" stdset="0">
0298          <size>
0299           <width>40</width>
0300           <height>20</height>
0301          </size>
0302         </property>
0303        </spacer>
0304       </item>
0305       <item row="7" column="2">
0306        <widget class="KComboBox" name="densSlvt_unit">
0307         <property name="toolTip">
0308          <string>Specify the units for density of solvent</string>
0309         </property>
0310        </widget>
0311       </item>
0312       <item row="8" column="2">
0313        <widget class="KComboBox" name="conc_unit">
0314         <property name="toolTip">
0315          <string>&lt;big&gt;Specify the unit/method for specifying concentration&lt;/big&gt;</string>
0316         </property>
0317        </widget>
0318       </item>
0319       <item row="5" column="2">
0320        <widget class="KComboBox" name="amtSlvt_unit">
0321         <property name="toolTip">
0322          <string>&lt;big&gt;The units for amount of solvent&lt;/big&gt;</string>
0323         </property>
0324         <property name="whatsThis">
0325          <string>This box is used to specify the units for the amount of solvent in the solution.</string>
0326         </property>
0327        </widget>
0328       </item>
0329       <item row="6" column="2">
0330        <widget class="QLabel" name="label_19">
0331         <property name="toolTip">
0332          <string>&lt;big&gt;The units for molar mass of solvent&lt;/big&gt;</string>
0333         </property>
0334         <property name="text">
0335          <string>(g/mole)</string>
0336         </property>
0337         <property name="alignment">
0338          <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
0339         </property>
0340        </widget>
0341       </item>
0342       <item row="4" column="2">
0343        <widget class="KComboBox" name="densSlt_unit">
0344         <property name="toolTip">
0345          <string>&lt;big&gt;Specify the units of density&lt;/big&gt;</string>
0346         </property>
0347         <property name="whatsThis">
0348          <string>This box is used to specify the units of the density of the solute. This is required only if you are specifying the amount of solute in terms of volume.</string>
0349         </property>
0350        </widget>
0351       </item>
0352       <item row="1" column="2">
0353        <widget class="KComboBox" name="amtSlt_unit">
0354         <property name="toolTip">
0355          <string>&lt;big&gt;Specify the units for the amount of solute&lt;/big&gt;</string>
0356         </property>
0357         <property name="whatsThis">
0358          <string>This box is used to specify the units for the amount of solute in the solution.</string>
0359         </property>
0360        </widget>
0361       </item>
0362       <item row="2" column="2">
0363        <widget class="QLabel" name="label_17">
0364         <property name="toolTip">
0365          <string>&lt;big&gt;Units for molar mass of solute&lt;/big&gt;</string>
0366         </property>
0367         <property name="text">
0368          <string>(g/mol)</string>
0369         </property>
0370         <property name="alignment">
0371          <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
0372         </property>
0373        </widget>
0374       </item>
0375       <item row="3" column="2">
0376        <widget class="QLabel" name="label_18">
0377         <property name="toolTip">
0378          <string>&lt;big&gt;Units for equivalent mass of solute&lt;/big&gt;</string>
0379         </property>
0380         <property name="text">
0381          <string>(g/mole)</string>
0382         </property>
0383         <property name="alignment">
0384          <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
0385         </property>
0386        </widget>
0387       </item>
0388       <item row="1" column="6">
0389        <spacer name="horizontalSpacer_2">
0390         <property name="orientation">
0391          <enum>Qt::Horizontal</enum>
0392         </property>
0393         <property name="sizeHint" stdset="0">
0394          <size>
0395           <width>40</width>
0396           <height>20</height>
0397          </size>
0398         </property>
0399        </spacer>
0400       </item>
0401      </layout>
0402     </widget>
0403    </item>
0404    <item>
0405     <widget class="QLabel" name="error">
0406      <property name="text">
0407       <string/>
0408      </property>
0409     </widget>
0410    </item>
0411    <item>
0412     <spacer name="verticalSpacer_4">
0413      <property name="orientation">
0414       <enum>Qt::Vertical</enum>
0415      </property>
0416      <property name="sizeHint" stdset="0">
0417       <size>
0418        <width>20</width>
0419        <height>232</height>
0420       </size>
0421      </property>
0422     </spacer>
0423    </item>
0424    <item>
0425     <layout class="QHBoxLayout" name="horizontalLayout_4">
0426      <item>
0427       <spacer name="horizontalSpacer_4">
0428        <property name="orientation">
0429         <enum>Qt::Horizontal</enum>
0430        </property>
0431        <property name="sizeHint" stdset="0">
0432         <size>
0433          <width>40</width>
0434          <height>20</height>
0435         </size>
0436        </property>
0437       </spacer>
0438      </item>
0439      <item>
0440       <widget class="QPushButton" name="reset">
0441        <property name="toolTip">
0442         <string>&lt;big&gt;Reset all values to initial values&lt;/big&gt;</string>
0443        </property>
0444        <property name="text">
0445         <string>Reset</string>
0446        </property>
0447       </widget>
0448      </item>
0449     </layout>
0450    </item>
0451   </layout>
0452  </widget>
0453  <customwidgets>
0454   <customwidget>
0455    <class>KComboBox</class>
0456    <extends>QComboBox</extends>
0457    <header>kcombobox.h</header>
0458   </customwidget>
0459   <customwidget>
0460    <class>KTextEdit</class>
0461    <extends>QTextEdit</extends>
0462    <header>ktextedit.h</header>
0463   </customwidget>
0464  </customwidgets>
0465  <resources/>
0466  <connections/>
0467 </ui>