<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>AddWeightsystemDialog</class> <widget class="QDialog" name="AddWeightsystemDialog"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>408</width> <height>186</height> </rect> </property> <property name="windowTitle"> <string>Dialog</string> </property> <layout class="QGridLayout" name="gridLayout"> <item row="0" column="0" rowspan="2"> <widget class="QGroupBox" name="groupBox"> <property name="title"> <string>Weightsystem</string> </property> <layout class="QFormLayout" name="formLayout"> <property name="fieldGrowthPolicy"> <enum>QFormLayout::ExpandingFieldsGrow</enum> </property> <item row="1" column="0"> <widget class="QLabel" name="label_2"> <property name="text"> <string>Description</string> </property> </widget> </item> <item row="2" column="0"> <widget class="QLabel" name="label_3"> <property name="text"> <string>Weight</string> </property> </widget> </item> <item row="2" column="1"> <widget class="QSpinBox" name="weight"> <property name="sizePolicy"> <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="inputMethodHints"> <set>Qt::ImhFormattedNumbersOnly</set> </property> <property name="accelerated"> <bool>true</bool> </property> </widget> </item> <item row="1" column="1"> <widget class="QLineEdit" name="description"/> </item> </layout> </widget> </item> <item row="2" column="0" colspan="2"> <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>AddWeightsystemDialog</receiver> <slot>accept()</slot> <hints> <hint type="sourcelabel"> <x>248</x> <y>269</y> </hint> <hint type="destinationlabel"> <x>157</x> <y>260</y> </hint> </hints> </connection> <connection> <sender>buttonBox</sender> <signal>rejected()</signal> <receiver>AddWeightsystemDialog</receiver> <slot>reject()</slot> <hints> <hint type="sourcelabel"> <x>290</x> <y>269</y> </hint> <hint type="destinationlabel"> <x>286</x> <y>260</y> </hint> </hints> </connection> </connections> </ui>