<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>Dialog</class> <widget class="QDialog" name="Dialog"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>355</width> <height>285</height> </rect> </property> <property name="windowTitle"> <string>Random Selection From Within Subsets</string> </property> <property name="sizeGripEnabled"> <bool>true</bool> </property> <layout class="QGridLayout" name="gridLayout"> <item row="0" column="0" colspan="2"> <layout class="QVBoxLayout"> <item> <widget class="QLabel" name="label_3"> <property name="text"> <string>Input Vector Layer</string> </property> </widget> </item> <item> <widget class="QComboBox" name="inShape"/> </item> </layout> </item> <item row="1" column="0" colspan="2"> <layout class="QVBoxLayout"> <item> <widget class="QLabel" name="label_4"> <property name="text"> <string>Input subset field (unique ID field)</string> </property> </widget> </item> <item> <widget class="QComboBox" name="inField"/> </item> </layout> </item> <item row="2" column="0" colspan="2"> <layout class="QVBoxLayout"> <item> <layout class="QVBoxLayout"> <item> <widget class="QLabel" name="label_2"> <property name="text"> <string>Randomly Select</string> </property> </widget> </item> <item> <layout class="QHBoxLayout"> <item> <widget class="QRadioButton" name="rdoNumber"> <property name="text"> <string>Number of Features</string> </property> <property name="checked"> <bool>true</bool> </property> </widget> </item> <item> <spacer> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> <item> <widget class="QSpinBox" name="spnNumber"> <property name="minimum"> <number>1</number> </property> </widget> </item> </layout> </item> </layout> </item> <item> <layout class="QHBoxLayout"> <item> <widget class="QRadioButton" name="rdoPercent"> <property name="text"> <string>Percentage of Features</string> </property> </widget> </item> <item> <spacer> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> <item> <widget class="QSpinBox" name="spnPercent"> <property name="suffix"> <string>%</string> </property> <property name="prefix"> <string/> </property> <property name="minimum"> <number>1</number> </property> <property name="maximum"> <number>100</number> </property> <property name="value"> <number>50</number> </property> </widget> </item> </layout> </item> </layout> </item> <item row="3" column="0" colspan="2"> <spacer> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>20</height> </size> </property> </spacer> </item> <item row="4" column="0"> <widget class="QProgressBar" name="progressBar"> <property name="value"> <number>24</number> </property> <property name="alignment"> <set>Qt::AlignCenter</set> </property> <property name="textVisible"> <bool>true</bool> </property> </widget> </item> <item row="4" column="1"> <widget class="QDialogButtonBox" name="buttonBox_2"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="standardButtons"> <set>QDialogButtonBox::Close|QDialogButtonBox::Ok</set> </property> </widget> </item> </layout> </widget> <resources/> <connections> <connection> <sender>buttonBox_2</sender> <signal>accepted()</signal> <receiver>Dialog</receiver> <slot>accept()</slot> <hints> <hint type="sourcelabel"> <x>133</x> <y>273</y> </hint> <hint type="destinationlabel"> <x>215</x> <y>290</y> </hint> </hints> </connection> <connection> <sender>buttonBox_2</sender> <signal>rejected()</signal> <receiver>Dialog</receiver> <slot>close()</slot> <hints> <hint type="sourcelabel"> <x>59</x> <y>273</y> </hint> <hint type="destinationlabel"> <x>132</x> <y>239</y> </hint> </hints> </connection> </connections> </ui>