diff -r 640778fcd474 -r 9fe8cfa14542 eric7/Plugins/VcsPlugins/vcsMercurial/HgRevisionSelectionDialog.ui --- a/eric7/Plugins/VcsPlugins/vcsMercurial/HgRevisionSelectionDialog.ui Wed Apr 13 18:16:23 2022 +0200 +++ b/eric7/Plugins/VcsPlugins/vcsMercurial/HgRevisionSelectionDialog.ui Wed Apr 13 19:49:25 2022 +0200 @@ -6,8 +6,8 @@ <rect> <x>0</x> <y>0</y> - <width>372</width> - <height>250</height> + <width>400</width> + <height>342</height> </rect> </property> <property name="windowTitle"> @@ -80,6 +80,9 @@ <property name="toolTip"> <string>Enter a changeset id</string> </property> + <property name="clearButtonEnabled"> + <bool>true</bool> + </property> </widget> </item> <item row="2" column="0"> @@ -169,7 +172,27 @@ </property> </widget> </item> - <item row="5" column="0" colspan="3"> + <item row="5" column="0"> + <widget class="QRadioButton" name="expressionButton"> + <property name="text"> + <string>Expression:</string> + </property> + </widget> + </item> + <item row="5" column="1" colspan="2"> + <widget class="QLineEdit" name="expressionEdit"> + <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="tipButton"> <property name="toolTip"> <string>Select tip revision of repository</string> @@ -179,7 +202,7 @@ </property> </widget> </item> - <item row="6" column="0" colspan="3"> + <item row="7" column="0" colspan="3"> <widget class="QRadioButton" name="noneButton"> <property name="text"> <string>No revision selected</string> @@ -215,9 +238,10 @@ <tabstop>branchCombo</tabstop> <tabstop>bookmarkButton</tabstop> <tabstop>bookmarkCombo</tabstop> + <tabstop>expressionButton</tabstop> + <tabstop>expressionEdit</tabstop> <tabstop>tipButton</tabstop> <tabstop>noneButton</tabstop> - <tabstop>buttonBox</tabstop> </tabstops> <resources/> <connections> @@ -228,8 +252,8 @@ <slot>accept()</slot> <hints> <hint type="sourcelabel"> - <x>257</x> - <y>215</y> + <x>266</x> + <y>332</y> </hint> <hint type="destinationlabel"> <x>157</x> @@ -244,8 +268,8 @@ <slot>reject()</slot> <hints> <hint type="sourcelabel"> - <x>325</x> - <y>215</y> + <x>334</x> + <y>332</y> </hint> <hint type="destinationlabel"> <x>286</x> @@ -276,12 +300,12 @@ <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel"> - <x>41</x> - <y>69</y> + <x>62</x> + <y>99</y> </hint> <hint type="destinationlabel"> - <x>121</x> - <y>68</y> + <x>243</x> + <y>100</y> </hint> </hints> </connection> @@ -292,12 +316,12 @@ <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel"> - <x>69</x> - <y>94</y> + <x>90</x> + <y>131</y> </hint> <hint type="destinationlabel"> - <x>132</x> - <y>98</y> + <x>254</x> + <y>132</y> </hint> </hints> </connection> @@ -308,12 +332,12 @@ <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel"> - <x>60</x> - <y>120</y> + <x>81</x> + <y>163</y> </hint> <hint type="destinationlabel"> - <x>117</x> - <y>122</y> + <x>239</x> + <y>164</y> </hint> </hints> </connection> @@ -324,12 +348,28 @@ <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel"> - <x>25</x> - <y>146</y> + <x>46</x> + <y>195</y> </hint> <hint type="destinationlabel"> - <x>130</x> - <y>149</y> + <x>252</x> + <y>196</y> + </hint> + </hints> + </connection> + <connection> + <sender>expressionButton</sender> + <signal>toggled(bool)</signal> + <receiver>expressionEdit</receiver> + <slot>setEnabled(bool)</slot> + <hints> + <hint type="sourcelabel"> + <x>65</x> + <y>215</y> + </hint> + <hint type="destinationlabel"> + <x>181</x> + <y>215</y> </hint> </hints> </connection>