2013-10-03 10:55:16 +03:00
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>DlgNumberInput</class>
<widget class="QDialog" name="DlgNumberInput">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>445</width>
<height>300</height>
</rect>
</property>
<property name="windowTitle">
<string>Enter number or expression</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
2013-11-22 19:25:35 +01:00
<number>6</number>
2013-10-03 10:55:16 +03:00
</property>
2013-11-22 19:25:35 +01:00
<property name="margin">
<number>9</number>
2013-10-03 10:55:16 +03:00
</property>
<item>
<widget class="QLabel" name="label">
<property name="text">
2013-10-09 19:21:11 +03:00
<string><html><head/><body><p>Enter expression in the text field. Double click on elements in the tree to add their values to the expression.</p></body></html></string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="lblWarning">
<property name="text">
<string><html><head/><body><p><span style=" font-weight:600;">Warning</span>: if expression result is float value, but integer required, result will be rounded to integer.</p></body></html></string>
</property>
<property name="wordWrap">
<bool>true</bool>
2013-10-03 10:55:16 +03:00
</property>
</widget>
</item>
<item>
<widget class="QTreeWidget" name="treeValues">
<attribute name="headerVisible">
<bool>false</bool>
</attribute>
<column>
<property name="text">
<string notr="true">1</string>
</property>
</column>
</widget>
</item>
<item>
<widget class="QLineEdit" name="leFormula"/>
</item>
<item>
<widget class="QDialogButtonBox" name="buttonBox">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>accepted()</signal>
<receiver>DlgNumberInput</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>248</x>
<y>254</y>
</hint>
<hint type="destinationlabel">
<x>157</x>
<y>274</y>
</hint>
</hints>
</connection>
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
<receiver>DlgNumberInput</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>316</x>
<y>260</y>
</hint>
<hint type="destinationlabel">
<x>286</x>
<y>274</y>
</hint>
</hints>
</connection>
</connections>
</ui>