Sun, 14 Nov 2021 21:45:45 +0200
Clean unnecessary code
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>ConfigBox</class> <widget class="QDialog" name="ConfigBox"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>544</width> <height>308</height> </rect> </property> <property name="minimumSize"> <size> <width>320</width> <height>256</height> </size> </property> <property name="windowTitle"> <string>Dialog</string> </property> <property name="windowIcon"> <iconset> <normaloff>:/icons/zcinema.ico</normaloff>:/icons/zcinema.ico</iconset> </property> <layout class="QVBoxLayout" name="verticalLayout"> <item> <widget class="QTabWidget" name="tabWidget"> <property name="currentIndex"> <number>0</number> </property> <widget class="QWidget" name="tab"> <attribute name="title"> <string>WAD Paths</string> </attribute> <layout class="QVBoxLayout" name="verticalLayout_3"> <item> <layout class="QGridLayout" name="gridLayout"> <item row="2" column="1"> <widget class="QListWidget" name="wad_pathsList"> <property name="editTriggers"> <set>QAbstractItemView::DoubleClicked|QAbstractItemView::EditKeyPressed|QAbstractItemView::SelectedClicked</set> </property> <property name="dragEnabled"> <bool>true</bool> </property> <property name="dragDropMode"> <enum>QAbstractItemView::DragDrop</enum> </property> <property name="defaultDropAction"> <enum>Qt::MoveAction</enum> </property> <property name="selectionMode"> <enum>QAbstractItemView::ExtendedSelection</enum> </property> <property name="layoutMode"> <enum>QListView::SinglePass</enum> </property> <property name="uniformItemSizes"> <bool>true</bool> </property> </widget> </item> <item row="2" column="2"> <layout class="QVBoxLayout" name="verticalLayout_2"> <item> <widget class="QPushButton" name="wad_del"> <property name="text"> <string>Delete</string> </property> </widget> </item> <item> <widget class="QPushButton" name="wad_clear"> <property name="text"> <string>Clear</string> </property> </widget> </item> <item> <widget class="QPushButton" name="wad_autofind"> <property name="text"> <string>Auto-find</string> </property> </widget> </item> <item> <spacer name="verticalSpacer"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>40</height> </size> </property> </spacer> </item> </layout> </item> <item row="1" column="1"> <layout class="QHBoxLayout" name="horizontalLayout"> <item> <widget class="QLineEdit" name="wad_pathEntry"/> </item> <item> <widget class="QPushButton" name="wad_findPath"> <property name="text"> <string>...</string> </property> </widget> </item> </layout> </item> <item row="1" column="2"> <widget class="QPushButton" name="wad_add"> <property name="text"> <string>Add</string> </property> </widget> </item> </layout> </item> </layout> </widget> <widget class="QWidget" name="exePathsTab"> <attribute name="title"> <string>Zandronum Paths</string> </attribute> <layout class="QHBoxLayout" name="horizontalLayout_3"> <item> <widget class="QTableWidget" name="exePaths"> <property name="editTriggers"> <set>QAbstractItemView::NoEditTriggers</set> </property> <property name="alternatingRowColors"> <bool>true</bool> </property> <property name="selectionBehavior"> <enum>QAbstractItemView::SelectRows</enum> </property> <property name="sortingEnabled"> <bool>true</bool> </property> <attribute name="horizontalHeaderStretchLastSection"> <bool>true</bool> </attribute> <attribute name="verticalHeaderVisible"> <bool>false</bool> </attribute> <column> <property name="text"> <string>Version</string> </property> </column> <column> <property name="text"> <string>Executable Path</string> </property> </column> </widget> </item> <item> <layout class="QVBoxLayout" name="verticalLayout_8"> <item> <widget class="QPushButton" name="addExePath"> <property name="text"> <string>Add</string> </property> </widget> </item> <item> <widget class="QPushButton" name="editExePath"> <property name="text"> <string>Edit</string> </property> </widget> </item> <item> <widget class="QPushButton" name="removeExePath"> <property name="text"> <string>Remove</string> </property> </widget> </item> <item> <widget class="QPushButton" name="clearExePaths"> <property name="text"> <string>Clear</string> </property> </widget> </item> <item> <spacer name="verticalSpacer_5"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>40</height> </size> </property> </spacer> </item> </layout> </item> </layout> </widget> <widget class="QWidget" name="tab_3"> <attribute name="title"> <string>Misc</string> </attribute> <layout class="QVBoxLayout" name="verticalLayout_6"> <item> <widget class="QCheckBox" name="noDemoPrompt"> <property name="whatsThis"> <string>If this is not set, a prompt showing demo info is displayed first.</string> </property> <property name="text"> <string>Launch demos without info dialog</string> </property> </widget> </item> <item> <widget class="QCheckBox" name="autoAssimilate"> <property name="text"> <string>Automatically find WAD paths from other sources (i.e. Doomseeker ini) if needed</string> </property> </widget> </item> <item> <spacer name="verticalSpacer_2"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>40</height> </size> </property> </spacer> </item> </layout> </widget> </widget> </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>wad_clear</sender> <signal>clicked(bool)</signal> <receiver>wad_pathsList</receiver> <slot>clear()</slot> <hints> <hint type="sourcelabel"> <x>463</x> <y>129</y> </hint> <hint type="destinationlabel"> <x>219</x> <y>189</y> </hint> </hints> </connection> </connections> </ui>