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>HgRebaseDialog</class> <widget class="QDialog" name="HgRebaseDialog"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>650</width> <height>509</height> </rect> </property> <property name="windowTitle"> <string>Rebase Changesets</string> </property> <property name="sizeGripEnabled"> <bool>true</bool> </property> <layout class="QGridLayout" name="gridLayout_3"> <item row="0" column="0"> <layout class="QVBoxLayout" name="verticalLayout_3"> <item> <widget class="QGroupBox" name="groupBox"> <property name="title"> <string>Source / Base Revision</string> </property> <layout class="QVBoxLayout" name="verticalLayout"> <item> <widget class="QRadioButton" name="parentButton"> <property name="toolTip"> <string>Select to use the parent of the working directory as the base</string> </property> <property name="text"> <string>Use &Parent as Base</string> </property> <property name="checked"> <bool>true</bool> </property> </widget> </item> <item> <widget class="QRadioButton" name="sourceButton"> <property name="toolTip"> <string>Select to use a revision as the source</string> </property> <property name="text"> <string>&Source Revision</string> </property> </widget> </item> <item> <widget class="QRadioButton" name="baseButton"> <property name="toolTip"> <string>Select to use a revision as the base</string> </property> <property name="text"> <string>&Base Revision</string> </property> </widget> </item> <item> <widget class="QGroupBox" name="rev1GroupBox"> <property name="enabled"> <bool>false</bool> </property> <property name="title"> <string>&Revision</string> </property> <layout class="QGridLayout" name="gridLayout"> <item row="0" column="0"> <widget class="QRadioButton" name="number1Button"> <property name="toolTip"> <string>Select to specify a revision by number</string> </property> <property name="text"> <string>Number</string> </property> <property name="checked"> <bool>true</bool> </property> </widget> </item> <item row="0" column="1"> <widget class="QSpinBox" name="number1SpinBox"> <property name="toolTip"> <string>Enter a revision number</string> </property> <property name="alignment"> <set>Qt::AlignRight</set> </property> <property name="maximum"> <number>999999999</number> </property> </widget> </item> <item row="0" column="2"> <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 row="1" column="0"> <widget class="QRadioButton" name="id1Button"> <property name="toolTip"> <string>Select to specify a revision by changeset id</string> </property> <property name="text"> <string>Id:</string> </property> </widget> </item> <item row="1" column="1" colspan="2"> <widget class="QLineEdit" name="id1Edit"> <property name="enabled"> <bool>false</bool> </property> <property name="toolTip"> <string>Enter a changeset id</string> </property> <property name="clearButtonEnabled"> <bool>true</bool> </property> </widget> </item> <item row="2" column="0"> <widget class="QRadioButton" name="tag1Button"> <property name="toolTip"> <string>Select to specify a revision by a tag</string> </property> <property name="text"> <string>Tag:</string> </property> </widget> </item> <item row="2" column="1" colspan="2"> <widget class="QComboBox" name="tag1Combo"> <property name="enabled"> <bool>false</bool> </property> <property name="toolTip"> <string>Enter a tag name</string> </property> <property name="editable"> <bool>true</bool> </property> </widget> </item> <item row="3" column="0"> <widget class="QRadioButton" name="branch1Button"> <property name="toolTip"> <string>Select to specify a revision by a branch</string> </property> <property name="text"> <string>Branch:</string> </property> </widget> </item> <item row="3" column="1" colspan="2"> <widget class="QComboBox" name="branch1Combo"> <property name="enabled"> <bool>false</bool> </property> <property name="toolTip"> <string>Enter a branch name</string> </property> <property name="editable"> <bool>true</bool> </property> </widget> </item> <item row="4" column="0"> <widget class="QRadioButton" name="bookmark1Button"> <property name="toolTip"> <string>Select to specify a revision by a bookmark</string> </property> <property name="text"> <string>Bookmark:</string> </property> </widget> </item> <item row="4" column="1" colspan="2"> <widget class="QComboBox" name="bookmark1Combo"> <property name="enabled"> <bool>false</bool> </property> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="toolTip"> <string>Enter a bookmark name</string> </property> <property name="editable"> <bool>true</bool> </property> </widget> </item> <item row="5" column="0"> <widget class="QRadioButton" name="expression1Button"> <property name="text"> <string>Expression:</string> </property> </widget> </item> <item row="5" column="1" colspan="2"> <widget class="QLineEdit" name="expression1Edit"> <property name="enabled"> <bool>false</bool> </property> <property name="toolTip"> <string>Enter a revision set expression</string> </property> <property name="clearButtonEnabled"> <bool>true</bool> </property> </widget> </item> </layout> </widget> </item> </layout> </widget> </item> <item> <spacer name="verticalSpacer"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>18</height> </size> </property> </spacer> </item> </layout> </item> <item row="0" column="1"> <layout class="QVBoxLayout" name="verticalLayout_2"> <item> <widget class="QGroupBox" name="rev2GroupBox"> <property name="title"> <string>&Destination Revision</string> </property> <layout class="QGridLayout" name="gridLayout_2"> <item row="0" column="0"> <widget class="QRadioButton" name="number2Button"> <property name="toolTip"> <string>Select to specify a revision by number</string> </property> <property name="text"> <string>Number</string> </property> </widget> </item> <item row="0" column="1"> <widget class="QSpinBox" name="number2SpinBox"> <property name="enabled"> <bool>false</bool> </property> <property name="toolTip"> <string>Enter a revision number</string> </property> <property name="alignment"> <set>Qt::AlignRight</set> </property> <property name="maximum"> <number>999999999</number> </property> </widget> </item> <item row="0" column="2"> <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 row="1" column="0"> <widget class="QRadioButton" name="id2Button"> <property name="toolTip"> <string>Select to specify a revision by changeset id</string> </property> <property name="text"> <string>Id:</string> </property> </widget> </item> <item row="1" column="1" colspan="2"> <widget class="QLineEdit" name="id2Edit"> <property name="enabled"> <bool>false</bool> </property> <property name="toolTip"> <string>Enter a changeset id</string> </property> <property name="clearButtonEnabled"> <bool>true</bool> </property> </widget> </item> <item row="2" column="0"> <widget class="QRadioButton" name="tag2Button"> <property name="toolTip"> <string>Select to specify a revision by a tag</string> </property> <property name="text"> <string>Tag:</string> </property> </widget> </item> <item row="2" column="1" colspan="2"> <widget class="QComboBox" name="tag2Combo"> <property name="enabled"> <bool>false</bool> </property> <property name="toolTip"> <string>Enter a tag name</string> </property> <property name="editable"> <bool>true</bool> </property> </widget> </item> <item row="3" column="0"> <widget class="QRadioButton" name="branch2Button"> <property name="toolTip"> <string>Select to specify a revision by a branch</string> </property> <property name="text"> <string>Branch:</string> </property> </widget> </item> <item row="3" column="1" colspan="2"> <widget class="QComboBox" name="branch2Combo"> <property name="enabled"> <bool>false</bool> </property> <property name="toolTip"> <string>Enter a branch name</string> </property> <property name="editable"> <bool>true</bool> </property> </widget> </item> <item row="4" column="0"> <widget class="QRadioButton" name="bookmark2Button"> <property name="toolTip"> <string>Select to specify a revision by a bookmark</string> </property> <property name="text"> <string>Bookmark:</string> </property> </widget> </item> <item row="4" column="1" colspan="2"> <widget class="QComboBox" name="bookmark2Combo"> <property name="enabled"> <bool>false</bool> </property> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="toolTip"> <string>Enter a bookmark name</string> </property> <property name="editable"> <bool>true</bool> </property> </widget> </item> <item row="5" column="0"> <widget class="QRadioButton" name="expression2Button"> <property name="text"> <string>Expression:</string> </property> </widget> </item> <item row="5" column="1" colspan="2"> <widget class="QLineEdit" name="expression2Edit"> <property name="enabled"> <bool>false</bool> </property> <property name="toolTip"> <string>Enter a revision set expression</string> </property> <property name="clearButtonEnabled"> <bool>true</bool> </property> </widget> </item> <item row="6" column="0" colspan="3"> <widget class="QRadioButton" name="tip2Button"> <property name="toolTip"> <string>Select tip revision of repository</string> </property> <property name="text"> <string>Current branch tip</string> </property> <property name="checked"> <bool>true</bool> </property> </widget> </item> </layout> </widget> </item> <item> <widget class="QCheckBox" name="collapseCheckBox"> <property name="toolTip"> <string>Select to collapse the rebased changesets</string> </property> <property name="text"> <string>Collapse Changesets</string> </property> </widget> </item> <item> <widget class="QCheckBox" name="keepChangesetsCheckBox"> <property name="toolTip"> <string>Select to keep the original changesets</string> </property> <property name="text"> <string>Keep Original Changesets</string> </property> </widget> </item> <item> <widget class="QCheckBox" name="keepBranchCheckBox"> <property name="toolTip"> <string>Select to keep the original branch names</string> </property> <property name="text"> <string>Keep Original Branch Name</string> </property> </widget> </item> <item> <widget class="QCheckBox" name="detachCheckBox"> <property name="toolTip"> <string>Select to detach the source from its original branch</string> </property> <property name="text"> <string>Detach Source</string> </property> </widget> </item> </layout> </item> <item row="1" column="0" colspan="2"> <widget class="QGroupBox" name="dryRunGroup"> <property name="title"> <string>Dry-Run</string> </property> <layout class="QHBoxLayout" name="horizontalLayout"> <item> <widget class="QRadioButton" name="noDryRunButton"> <property name="toolTip"> <string>Select to not do a dry-run</string> </property> <property name="text"> <string>No</string> </property> <property name="checked"> <bool>true</bool> </property> </widget> </item> <item> <widget class="QRadioButton" name="dryRunOnlyButton"> <property name="toolTip"> <string>Select to just do a dry-run</string> </property> <property name="text"> <string>Dry-Run Only</string> </property> </widget> </item> <item> <widget class="QRadioButton" name="dryRunConfirmButton"> <property name="toolTip"> <string>Select to do a dry-run first, then ask the user for confirmation to perform the rebase</string> </property> <property name="text"> <string>Dry-Run First, then Confirm</string> </property> </widget> </item> </layout> </widget> </item> <item row="2" column="0" colspan="2"> <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> <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> <tabstops> <tabstop>parentButton</tabstop> <tabstop>sourceButton</tabstop> <tabstop>baseButton</tabstop> <tabstop>number1Button</tabstop> <tabstop>number1SpinBox</tabstop> <tabstop>id1Button</tabstop> <tabstop>id1Edit</tabstop> <tabstop>tag1Button</tabstop> <tabstop>tag1Combo</tabstop> <tabstop>branch1Button</tabstop> <tabstop>branch1Combo</tabstop> <tabstop>bookmark1Button</tabstop> <tabstop>bookmark1Combo</tabstop> <tabstop>expression1Button</tabstop> <tabstop>expression1Edit</tabstop> <tabstop>number2Button</tabstop> <tabstop>number2SpinBox</tabstop> <tabstop>id2Button</tabstop> <tabstop>id2Edit</tabstop> <tabstop>tag2Button</tabstop> <tabstop>tag2Combo</tabstop> <tabstop>branch2Button</tabstop> <tabstop>branch2Combo</tabstop> <tabstop>bookmark2Button</tabstop> <tabstop>bookmark2Combo</tabstop> <tabstop>expression2Button</tabstop> <tabstop>expression2Edit</tabstop> <tabstop>tip2Button</tabstop> <tabstop>collapseCheckBox</tabstop> <tabstop>keepChangesetsCheckBox</tabstop> <tabstop>keepBranchCheckBox</tabstop> <tabstop>detachCheckBox</tabstop> <tabstop>noDryRunButton</tabstop> <tabstop>dryRunOnlyButton</tabstop> <tabstop>dryRunConfirmButton</tabstop> </tabstops> <resources/> <connections> <connection> <sender>buttonBox</sender> <signal>accepted()</signal> <receiver>HgRebaseDialog</receiver> <slot>accept()</slot> <hints> <hint type="sourcelabel"> <x>133</x> <y>499</y> </hint> <hint type="destinationlabel"> <x>21</x> <y>143</y> </hint> </hints> </connection> <connection> <sender>buttonBox</sender> <signal>rejected()</signal> <receiver>HgRebaseDialog</receiver> <slot>reject()</slot> <hints> <hint type="sourcelabel"> <x>185</x> <y>499</y> </hint> <hint type="destinationlabel"> <x>73</x> <y>140</y> </hint> </hints> </connection> <connection> <sender>number1Button</sender> <signal>toggled(bool)</signal> <receiver>number1SpinBox</receiver> <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel"> <x>120</x> <y>190</y> </hint> <hint type="destinationlabel"> <x>228</x> <y>192</y> </hint> </hints> </connection> <connection> <sender>number2Button</sender> <signal>toggled(bool)</signal> <receiver>number2SpinBox</receiver> <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel"> <x>435</x> <y>67</y> </hint> <hint type="destinationlabel"> <x>535</x> <y>69</y> </hint> </hints> </connection> <connection> <sender>id1Button</sender> <signal>toggled(bool)</signal> <receiver>id1Edit</receiver> <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel"> <x>90</x> <y>223</y> </hint> <hint type="destinationlabel"> <x>296</x> <y>224</y> </hint> </hints> </connection> <connection> <sender>id2Button</sender> <signal>toggled(bool)</signal> <receiver>id2Edit</receiver> <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel"> <x>435</x> <y>100</y> </hint> <hint type="destinationlabel"> <x>627</x> <y>101</y> </hint> </hints> </connection> <connection> <sender>tag1Button</sender> <signal>toggled(bool)</signal> <receiver>tag1Combo</receiver> <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel"> <x>117</x> <y>255</y> </hint> <hint type="destinationlabel"> <x>296</x> <y>256</y> </hint> </hints> </connection> <connection> <sender>branch1Button</sender> <signal>toggled(bool)</signal> <receiver>branch1Combo</receiver> <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel"> <x>108</x> <y>287</y> </hint> <hint type="destinationlabel"> <x>296</x> <y>288</y> </hint> </hints> </connection> <connection> <sender>tag2Button</sender> <signal>toggled(bool)</signal> <receiver>tag2Combo</receiver> <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel"> <x>404</x> <y>132</y> </hint> <hint type="destinationlabel"> <x>627</x> <y>133</y> </hint> </hints> </connection> <connection> <sender>branch2Button</sender> <signal>toggled(bool)</signal> <receiver>branch2Combo</receiver> <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel"> <x>435</x> <y>164</y> </hint> <hint type="destinationlabel"> <x>627</x> <y>165</y> </hint> </hints> </connection> <connection> <sender>bookmark1Button</sender> <signal>toggled(bool)</signal> <receiver>bookmark1Combo</receiver> <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel"> <x>82</x> <y>319</y> </hint> <hint type="destinationlabel"> <x>296</x> <y>320</y> </hint> </hints> </connection> <connection> <sender>bookmark2Button</sender> <signal>toggled(bool)</signal> <receiver>bookmark2Combo</receiver> <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel"> <x>389</x> <y>196</y> </hint> <hint type="destinationlabel"> <x>627</x> <y>197</y> </hint> </hints> </connection> <connection> <sender>parentButton</sender> <signal>toggled(bool)</signal> <receiver>rev1GroupBox</receiver> <slot>setDisabled(bool)</slot> <hints> <hint type="sourcelabel"> <x>139</x> <y>49</y> </hint> <hint type="destinationlabel"> <x>248</x> <y>259</y> </hint> </hints> </connection> <connection> <sender>expression1Button</sender> <signal>toggled(bool)</signal> <receiver>expression1Edit</receiver> <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel"> <x>54</x> <y>341</y> </hint> <hint type="destinationlabel"> <x>226</x> <y>338</y> </hint> </hints> </connection> <connection> <sender>expression2Button</sender> <signal>toggled(bool)</signal> <receiver>expression2Edit</receiver> <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel"> <x>398</x> <y>214</y> </hint> <hint type="destinationlabel"> <x>461</x> <y>220</y> </hint> </hints> </connection> </connections> </ui>