Thu, 15 Dec 2022 17:15:09 +0100
Version Control Systems - git
- Added a dialog to manage worktrees ( `git worktree` commands).
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>GitWorktreePathsDialog</class> <widget class="QDialog" name="GitWorktreePathsDialog"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>600</width> <height>400</height> </rect> </property> <property name="windowTitle"> <string>Git Worktree Paths</string> </property> <property name="sizeGripEnabled"> <bool>true</bool> </property> <layout class="QVBoxLayout" name="verticalLayout"> <item> <layout class="QGridLayout" name="gridLayout"> <item row="0" column="0" rowspan="5"> <widget class="QListWidget" name="pathsList"> <property name="alternatingRowColors"> <bool>true</bool> </property> <property name="selectionMode"> <enum>QAbstractItemView::ExtendedSelection</enum> </property> <property name="sortingEnabled"> <bool>true</bool> </property> </widget> </item> <item row="0" column="1"> <widget class="QPushButton" name="addButton"> <property name="toolTip"> <string>Press to add an entry</string> </property> <property name="text"> <string>&Add...</string> </property> <property name="autoDefault"> <bool>false</bool> </property> </widget> </item> <item row="1" column="1"> <widget class="Line" name="addLine"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> </widget> </item> <item row="2" column="1"> <widget class="QPushButton" name="removeButton"> <property name="toolTip"> <string>Press to remove the selected entries</string> </property> <property name="text"> <string>&Remove</string> </property> <property name="autoDefault"> <bool>false</bool> </property> </widget> </item> <item row="3" column="1"> <widget class="QPushButton" name="removeAllButton"> <property name="toolTip"> <string>Press to remove all entries</string> </property> <property name="text"> <string>R&emove All</string> </property> <property name="autoDefault"> <bool>false</bool> </property> </widget> </item> <item row="4" column="1"> <spacer name="verticalSpacer_3"> <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> <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>GitWorktreePathsDialog</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>GitWorktreePathsDialog</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>