Mon, 07 Nov 2022 17:19:58 +0100
Corrected/acknowledged some bad import style and removed some obsolete code.
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>SessionManagerDialog</class> <widget class="QDialog" name="SessionManagerDialog"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>500</width> <height>400</height> </rect> </property> <property name="windowTitle"> <string>Session Manager</string> </property> <property name="sizeGripEnabled"> <bool>true</bool> </property> <layout class="QGridLayout" name="gridLayout"> <item row="0" column="0"> <widget class="QTreeWidget" name="sessionsList"> <property name="toolTip"> <string>Shows a list of available sessions</string> </property> <property name="alternatingRowColors"> <bool>true</bool> </property> <property name="rootIsDecorated"> <bool>false</bool> </property> <column> <property name="text"> <string>Session</string> </property> </column> <column> <property name="text"> <string>Last Modified</string> </property> </column> </widget> </item> <item row="0" column="1"> <layout class="QVBoxLayout" name="verticalLayout"> <item> <widget class="QPushButton" name="newButton"> <property name="toolTip"> <string>Press to create a new session</string> </property> <property name="text"> <string>New</string> </property> </widget> </item> <item> <widget class="QPushButton" name="renameButton"> <property name="toolTip"> <string>Press to rename the selected session</string> </property> <property name="text"> <string>Rename</string> </property> </widget> </item> <item> <widget class="QPushButton" name="cloneButton"> <property name="toolTip"> <string>Press to clone the selected session</string> </property> <property name="text"> <string>Clone</string> </property> </widget> </item> <item> <widget class="QPushButton" name="deleteButton"> <property name="toolTip"> <string>Press to delete the selected session</string> </property> <property name="text"> <string>Delete</string> </property> </widget> </item> <item> <widget class="QPushButton" name="switchButton"> <property name="toolTip"> <string>Press to switch to the selected session</string> </property> <property name="text"> <string>Switch To</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="0" colspan="2"> <widget class="QDialogButtonBox" name="buttonBox"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="standardButtons"> <set>QDialogButtonBox::Close</set> </property> </widget> </item> </layout> </widget> <resources/> <connections> <connection> <sender>buttonBox</sender> <signal>accepted()</signal> <receiver>SessionManagerDialog</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>SessionManagerDialog</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>