--- a/ui/configbox.ui Fri Jun 05 19:13:44 2015 +0300 +++ b/ui/configbox.ui Sat Jun 06 22:03:00 2015 +0300 @@ -117,57 +117,88 @@ </item> </layout> </widget> - <widget class="QWidget" name="binaryPaths"> + <widget class="QWidget" name="exePathsTab"> <attribute name="title"> - <string>Binary Paths</string> + <string>Zandronum Paths</string> </attribute> - <layout class="QVBoxLayout" name="verticalLayout_4"> + <layout class="QHBoxLayout" name="horizontalLayout_3"> <item> - <widget class="QScrollArea" name="scrollArea"> - <property name="frameShape"> - <enum>QFrame::NoFrame</enum> + <widget class="QTableWidget" name="exePaths"> + <property name="editTriggers"> + <set>QAbstractItemView::NoEditTriggers</set> </property> - <property name="widgetResizable"> + <property name="alternatingRowColors"> + <bool>true</bool> + </property> + <property name="selectionBehavior"> + <enum>QAbstractItemView::SelectRows</enum> + </property> + <property name="sortingEnabled"> <bool>true</bool> </property> - <widget class="QWidget" name="scrollAreaWidgetContents"> - <property name="geometry"> - <rect> - <x>0</x> - <y>0</y> - <width>504</width> - <height>207</height> - </rect> + <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> - <layout class="QVBoxLayout" name="verticalLayout_5" stretch="0,0"> - <item> - <widget class="QGroupBox" name="groupBox"> - <property name="title"> - <string>Release versions</string> - </property> - <layout class="QVBoxLayout" name="verticalLayout_7"> - <item> - <widget class="QWidget" name="releaseVersions" native="true"/> - </item> - </layout> - </widget> - </item> - <item> - <widget class="QGroupBox" name="groupBox_2"> - <property name="title"> - <string>Testing versions</string> - </property> - <layout class="QVBoxLayout" name="verticalLayout_8"> - <item> - <widget class="QWidget" name="testingVersions" native="true"/> - </item> - </layout> - </widget> - </item> - </layout> - </widget> + </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"> @@ -181,7 +212,7 @@ <string>If this is not set, a prompt showing demo info is displayed first.</string> </property> <property name="text"> - <string>Launch without prompt</string> + <string>Launch demos without info dialog</string> </property> </widget> </item>