Warning, /education/kalzium/src/calculator/nuclearCalculator.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>nuclearCalculator</class> 0004 <widget class="QWidget" name="nuclearCalculator"> 0005 <property name="geometry"> 0006 <rect> 0007 <x>0</x> 0008 <y>0</y> 0009 <width>492</width> 0010 <height>516</height> 0011 </rect> 0012 </property> 0013 <layout class="QVBoxLayout" name="verticalLayout_2"> 0014 <property name="margin"> 0015 <number>0</number> 0016 </property> 0017 <item> 0018 <widget class="KTextEdit" name="ktextedit"> 0019 <property name="maximumSize"> 0020 <size> 0021 <width>16777215</width> 0022 <height>100</height> 0023 </size> 0024 </property> 0025 <property name="readOnly"> 0026 <bool>true</bool> 0027 </property> 0028 <property name="html"> 0029 <string><span style=" font-size:12pt; font-weight:600;">Select what you want to calculate from the combo box next to the "calculate" label and change the values / units to calculate.</span></string> 0030 </property> 0031 </widget> 0032 </item> 0033 <item> 0034 <widget class="QGroupBox" name="groupBox"> 0035 <property name="title"> 0036 <string>Elemental data</string> 0037 </property> 0038 <layout class="QGridLayout" name="gridLayout"> 0039 <item row="0" column="0"> 0040 <widget class="QLabel" name="label_11"> 0041 <property name="text"> 0042 <string><big><b>Element Name:</b></big></string> 0043 </property> 0044 <property name="alignment"> 0045 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 0046 </property> 0047 </widget> 0048 </item> 0049 <item row="0" column="1"> 0050 <widget class="KComboBox" name="element"> 0051 <property name="toolTip"> 0052 <string><big>Specify the Element you want to consider</big></string> 0053 </property> 0054 <property name="whatsThis"> 0055 <string>This box is used to specify the element on which calculation is to be performed.</string> 0056 </property> 0057 </widget> 0058 </item> 0059 <item row="1" column="0"> 0060 <widget class="QLabel" name="label_12"> 0061 <property name="text"> 0062 <string><big><b>Isotope mass:</b></big></string> 0063 </property> 0064 <property name="alignment"> 0065 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 0066 </property> 0067 </widget> 0068 </item> 0069 <item row="1" column="1"> 0070 <widget class="KComboBox" name="isotope"> 0071 <property name="toolTip"> 0072 <string><big>Specify an isotope of the current element</big></string> 0073 </property> 0074 <property name="whatsThis"> 0075 <string>This box is used to specify the isotope of the above element on which calculation is performed.</string> 0076 </property> 0077 </widget> 0078 </item> 0079 <item row="2" column="0"> 0080 <widget class="QLabel" name="label_14"> 0081 <property name="text"> 0082 <string><big><b>Half-life:</b></big></string> 0083 </property> 0084 <property name="alignment"> 0085 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 0086 </property> 0087 </widget> 0088 </item> 0089 <item row="2" column="1"> 0090 <widget class="QDoubleSpinBox" name="halfLife"> 0091 <property name="toolTip"> 0092 <string><big>Specify the half-life of the radioactive isotope</big></string> 0093 </property> 0094 <property name="whatsThis"> 0095 <string>This box is used to specify the half-life of the above isotope.</string> 0096 </property> 0097 <property name="decimals"> 0098 <number>4</number> 0099 </property> 0100 <property name="maximum"> 0101 <double>1000000000.000000000000000</double> 0102 </property> 0103 </widget> 0104 </item> 0105 <item row="2" column="2"> 0106 <widget class="KComboBox" name="halfLife_unit"> 0107 <property name="toolTip"> 0108 <string><big>The unit of Half-life</big></string> 0109 </property> 0110 <property name="whatsThis"> 0111 <string>This box is used to specify the unit of half-life, e.g. years, seconds, etc.</string> 0112 </property> 0113 <item> 0114 <property name="text"> 0115 <string>years</string> 0116 </property> 0117 </item> 0118 <item> 0119 <property name="text"> 0120 <string>seconds</string> 0121 </property> 0122 </item> 0123 <item> 0124 <property name="text"> 0125 <string>minutes</string> 0126 </property> 0127 </item> 0128 <item> 0129 <property name="text"> 0130 <string>hours</string> 0131 </property> 0132 </item> 0133 <item> 0134 <property name="text"> 0135 <string>days</string> 0136 </property> 0137 </item> 0138 <item> 0139 <property name="text"> 0140 <string>weeks</string> 0141 </property> 0142 </item> 0143 </widget> 0144 </item> 0145 <item row="2" column="3"> 0146 <spacer name="horizontalSpacer_2"> 0147 <property name="orientation"> 0148 <enum>Qt::Horizontal</enum> 0149 </property> 0150 <property name="sizeHint" stdset="0"> 0151 <size> 0152 <width>477</width> 0153 <height>20</height> 0154 </size> 0155 </property> 0156 </spacer> 0157 </item> 0158 <item row="3" column="0"> 0159 <widget class="QLabel" name="label"> 0160 <property name="text"> 0161 <string><big><b>Atomic mass:</b></big></string> 0162 </property> 0163 <property name="alignment"> 0164 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 0165 </property> 0166 </widget> 0167 </item> 0168 <item row="3" column="1"> 0169 <widget class="QLabel" name="mass"> 0170 <property name="toolTip"> 0171 <string><big>Atomic mass of the isotope selected</big></string> 0172 </property> 0173 <property name="whatsThis"> 0174 <string>This label displays the atomic mass of the isotope in grams per mole.</string> 0175 </property> 0176 <property name="text"> 0177 <string>0</string> 0178 </property> 0179 <property name="alignment"> 0180 <set>Qt::AlignCenter</set> 0181 </property> 0182 </widget> 0183 </item> 0184 <item row="3" column="2"> 0185 <widget class="QLabel" name="label_2"> 0186 <property name="toolTip"> 0187 <string><big>The unit of atomic mass</big></string> 0188 </property> 0189 <property name="text"> 0190 <string>grams / mole</string> 0191 </property> 0192 </widget> 0193 </item> 0194 </layout> 0195 </widget> 0196 </item> 0197 <item> 0198 <widget class="QGroupBox" name="groupBox_2"> 0199 <property name="title"> 0200 <string>Other data</string> 0201 </property> 0202 <layout class="QVBoxLayout" name="verticalLayout"> 0203 <item> 0204 <layout class="QGridLayout" name="gridLayout_3"> 0205 <item row="0" column="0"> 0206 <widget class="QLabel" name="label_37"> 0207 <property name="text"> 0208 <string><big><b>Calculate:</b></big></string> 0209 </property> 0210 <property name="alignment"> 0211 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 0212 </property> 0213 </widget> 0214 </item> 0215 <item row="0" column="1"> 0216 <widget class="KComboBox" name="mode"> 0217 <property name="toolTip"> 0218 <string><big>Specify what you want to calculate</big></string> 0219 </property> 0220 <property name="whatsThis"> 0221 <string>This box is used to decide what you want to calculate, choose among 'Time', 'Initial amount of the substance' and 'Final amount of the substance'.</string> 0222 </property> 0223 <property name="currentIndex"> 0224 <number>2</number> 0225 </property> 0226 <item> 0227 <property name="text"> 0228 <string>Initial Amount</string> 0229 </property> 0230 </item> 0231 <item> 0232 <property name="text"> 0233 <string>Final Amount</string> 0234 </property> 0235 </item> 0236 <item> 0237 <property name="text"> 0238 <string>Time</string> 0239 </property> 0240 </item> 0241 </widget> 0242 </item> 0243 <item row="1" column="0"> 0244 <widget class="QLabel" name="label_69"> 0245 <property name="text"> 0246 <string><big><b>Initial amount:</b></big></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="1" column="1"> 0254 <widget class="QDoubleSpinBox" name="initAmt"> 0255 <property name="toolTip"> 0256 <string><big>Specify the initial amount of the substance</big></string> 0257 </property> 0258 <property name="whatsThis"> 0259 <string>This box is used to specify the initial amount of the radioactive substance.</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="2" column="0"> 0270 <widget class="QLabel" name="label_72"> 0271 <property name="text"> 0272 <string><big><b>Final amount:</b></big></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="2" column="1"> 0280 <widget class="QDoubleSpinBox" name="finalAmt"> 0281 <property name="toolTip"> 0282 <string><big>Specify the final amount of the substance</big></string> 0283 </property> 0284 <property name="whatsThis"> 0285 <string>This box is used to specify the final amount of the radioactive substance.</string> 0286 </property> 0287 <property name="decimals"> 0288 <number>4</number> 0289 </property> 0290 <property name="maximum"> 0291 <double>1000000000.000000000000000</double> 0292 </property> 0293 </widget> 0294 </item> 0295 <item row="3" column="0"> 0296 <widget class="QLabel" name="label_19"> 0297 <property name="text"> 0298 <string><big><b>Time:</b></big></string> 0299 </property> 0300 <property name="alignment"> 0301 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 0302 </property> 0303 </widget> 0304 </item> 0305 <item row="3" column="1"> 0306 <widget class="QDoubleSpinBox" name="time"> 0307 <property name="toolTip"> 0308 <string><big>Specify the time elapsed here</big></string> 0309 </property> 0310 <property name="whatsThis"> 0311 <string>This box is used to specify the time after which the initial amount decreases to the final amount.</string> 0312 </property> 0313 <property name="readOnly"> 0314 <bool>true</bool> 0315 </property> 0316 <property name="decimals"> 0317 <number>4</number> 0318 </property> 0319 <property name="maximum"> 0320 <double>1000000000.000000000000000</double> 0321 </property> 0322 </widget> 0323 </item> 0324 <item row="1" column="3"> 0325 <widget class="KComboBox" name="initAmtType"> 0326 <property name="toolTip"> 0327 <string><big>The method by which you want to specify mass</big></string> 0328 </property> 0329 <property name="whatsThis"> 0330 <string>This box can be used to change the mode in which you want to specify the initial amount of the substance, i.e. mass or moles.</string> 0331 </property> 0332 <item> 0333 <property name="text"> 0334 <string>Mass</string> 0335 </property> 0336 </item> 0337 <item> 0338 <property name="text"> 0339 <string>moles</string> 0340 </property> 0341 </item> 0342 </widget> 0343 </item> 0344 <item row="2" column="3"> 0345 <widget class="KComboBox" name="finalAmtType"> 0346 <property name="toolTip"> 0347 <string><big>Method by which you want to specify the final amount</big></string> 0348 </property> 0349 <property name="whatsThis"> 0350 <string>This box can be used to change the mode in which you want to specify the final amount of the substance, i.e. mass or moles.</string> 0351 </property> 0352 <item> 0353 <property name="text"> 0354 <string>Mass</string> 0355 </property> 0356 </item> 0357 <item> 0358 <property name="text"> 0359 <string>moles</string> 0360 </property> 0361 </item> 0362 </widget> 0363 </item> 0364 <item row="1" column="5"> 0365 <spacer name="horizontalSpacer_3"> 0366 <property name="orientation"> 0367 <enum>Qt::Horizontal</enum> 0368 </property> 0369 <property name="sizeHint" stdset="0"> 0370 <size> 0371 <width>221</width> 0372 <height>20</height> 0373 </size> 0374 </property> 0375 </spacer> 0376 </item> 0377 <item row="1" column="2"> 0378 <widget class="KComboBox" name="initAmt_unit"> 0379 <property name="toolTip"> 0380 <string><big>Specify the unit of initial amount of the substance</big></string> 0381 </property> 0382 <property name="whatsThis"> 0383 <string>This box can be used to specify the units of the initial amount of the substance. e.g. grams, pounds, etc.</string> 0384 </property> 0385 <item> 0386 <property name="text"> 0387 <string>grams</string> 0388 </property> 0389 </item> 0390 <item> 0391 <property name="text"> 0392 <string>tons</string> 0393 </property> 0394 </item> 0395 <item> 0396 <property name="text"> 0397 <string>carats</string> 0398 </property> 0399 </item> 0400 <item> 0401 <property name="text"> 0402 <string>pounds</string> 0403 </property> 0404 </item> 0405 <item> 0406 <property name="text"> 0407 <string>ounces</string> 0408 </property> 0409 </item> 0410 <item> 0411 <property name="text"> 0412 <string>troy ounces</string> 0413 </property> 0414 </item> 0415 </widget> 0416 </item> 0417 <item row="2" column="2"> 0418 <widget class="KComboBox" name="finalAmt_unit"> 0419 <property name="toolTip"> 0420 <string><big>Specify the units of the final amount</big></string> 0421 </property> 0422 <property name="whatsThis"> 0423 <string>This box can be used to specify the units of the final amount of the substance. e.g. grams, pounds, etc.</string> 0424 </property> 0425 <item> 0426 <property name="text"> 0427 <string>grams</string> 0428 </property> 0429 </item> 0430 <item> 0431 <property name="text"> 0432 <string>tons</string> 0433 </property> 0434 </item> 0435 <item> 0436 <property name="text"> 0437 <string>carats</string> 0438 </property> 0439 </item> 0440 <item> 0441 <property name="text"> 0442 <string>pounds</string> 0443 </property> 0444 </item> 0445 <item> 0446 <property name="text"> 0447 <string>ounces</string> 0448 </property> 0449 </item> 0450 <item> 0451 <property name="text"> 0452 <string>troy ounces</string> 0453 </property> 0454 </item> 0455 </widget> 0456 </item> 0457 <item row="3" column="2"> 0458 <widget class="KComboBox" name="time_unit"> 0459 <property name="toolTip"> 0460 <string><big>Specify the units for the time elapsed</big></string> 0461 </property> 0462 <property name="whatsThis"> 0463 <string>This box is used to specify the units of time. e.g. years, seconds, etc.</string> 0464 </property> 0465 <item> 0466 <property name="text"> 0467 <string>years</string> 0468 </property> 0469 </item> 0470 <item> 0471 <property name="text"> 0472 <string>seconds</string> 0473 </property> 0474 </item> 0475 <item> 0476 <property name="text"> 0477 <string>minutes</string> 0478 </property> 0479 </item> 0480 <item> 0481 <property name="text"> 0482 <string>hours</string> 0483 </property> 0484 </item> 0485 <item> 0486 <property name="text"> 0487 <string>days</string> 0488 </property> 0489 </item> 0490 <item> 0491 <property name="text"> 0492 <string>weeks</string> 0493 </property> 0494 </item> 0495 </widget> 0496 </item> 0497 </layout> 0498 </item> 0499 <item> 0500 <widget class="QFrame" name="time_in_halfLives"> 0501 <property name="frameShape"> 0502 <enum>QFrame::StyledPanel</enum> 0503 </property> 0504 <property name="frameShadow"> 0505 <enum>QFrame::Raised</enum> 0506 </property> 0507 <layout class="QHBoxLayout" name="horizontalLayout_2"> 0508 <item> 0509 <widget class="QLabel" name="label_15"> 0510 <property name="text"> 0511 <string><big><b>Time in half-lives</b></big></string> 0512 </property> 0513 <property name="alignment"> 0514 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 0515 </property> 0516 </widget> 0517 </item> 0518 <item> 0519 <widget class="QSlider" name="slider"> 0520 <property name="toolTip"> 0521 <string><big>Specify the time elapsed by moving the slider</big></string> 0522 </property> 0523 <property name="whatsThis"> 0524 <string>This slider can be used to specify the time in terms of number of half-lives between 0 half-lives to 10 half-lives.</string> 0525 </property> 0526 <property name="maximum"> 0527 <number>100</number> 0528 </property> 0529 <property name="orientation"> 0530 <enum>Qt::Horizontal</enum> 0531 </property> 0532 </widget> 0533 </item> 0534 <item> 0535 <widget class="QLabel" name="numHalfLives"> 0536 <property name="toolTip"> 0537 <string><big>The number of half-lives elapsed</big></string> 0538 </property> 0539 <property name="text"> 0540 <string>0</string> 0541 </property> 0542 <property name="alignment"> 0543 <set>Qt::AlignCenter</set> 0544 </property> 0545 </widget> 0546 </item> 0547 <item> 0548 <spacer name="horizontalSpacer"> 0549 <property name="orientation"> 0550 <enum>Qt::Horizontal</enum> 0551 </property> 0552 <property name="sizeHint" stdset="0"> 0553 <size> 0554 <width>310</width> 0555 <height>20</height> 0556 </size> 0557 </property> 0558 </spacer> 0559 </item> 0560 </layout> 0561 </widget> 0562 </item> 0563 </layout> 0564 </widget> 0565 </item> 0566 <item> 0567 <widget class="QLabel" name="error"> 0568 <property name="toolTip"> 0569 <string>Information/Error message</string> 0570 </property> 0571 <property name="text"> 0572 <string/> 0573 </property> 0574 </widget> 0575 </item> 0576 <item> 0577 <spacer name="verticalSpacer"> 0578 <property name="orientation"> 0579 <enum>Qt::Vertical</enum> 0580 </property> 0581 <property name="sizeHint" stdset="0"> 0582 <size> 0583 <width>20</width> 0584 <height>40</height> 0585 </size> 0586 </property> 0587 </spacer> 0588 </item> 0589 <item> 0590 <layout class="QHBoxLayout" name="_2"> 0591 <item> 0592 <spacer name="horizontalSpacer_13"> 0593 <property name="orientation"> 0594 <enum>Qt::Horizontal</enum> 0595 </property> 0596 <property name="sizeHint" stdset="0"> 0597 <size> 0598 <width>40</width> 0599 <height>20</height> 0600 </size> 0601 </property> 0602 </spacer> 0603 </item> 0604 <item> 0605 <widget class="QPushButton" name="reset"> 0606 <property name="toolTip"> 0607 <string><big>Reset all values to initial values</big></string> 0608 </property> 0609 <property name="text"> 0610 <string>Reset</string> 0611 </property> 0612 </widget> 0613 </item> 0614 </layout> 0615 </item> 0616 </layout> 0617 </widget> 0618 <customwidgets> 0619 <customwidget> 0620 <class>KComboBox</class> 0621 <extends>QComboBox</extends> 0622 <header>kcombobox.h</header> 0623 </customwidget> 0624 <customwidget> 0625 <class>KTextEdit</class> 0626 <extends>QTextEdit</extends> 0627 <header>ktextedit.h</header> 0628 </customwidget> 0629 </customwidgets> 0630 <resources/> 0631 <connections/> 0632 </ui>