--- a/eric7/Plugins/VcsPlugins/vcsMercurial/HgRevisionsSelectionDialog.ui Wed Apr 13 18:16:23 2022 +0200 +++ b/eric7/Plugins/VcsPlugins/vcsMercurial/HgRevisionsSelectionDialog.ui Wed Apr 13 19:49:25 2022 +0200 @@ -6,8 +6,8 @@ <rect> <x>0</x> <y>0</y> - <width>371</width> - <height>505</height> + <width>400</width> + <height>700</height> </rect> </property> <property name="windowTitle"> @@ -160,7 +160,27 @@ </property> </widget> </item> - <item row="5" column="0" colspan="3"> + <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> + <item row="6" column="0" colspan="3"> <widget class="QRadioButton" name="tip1Button"> <property name="toolTip"> <string>Select tip revision of repository</string> @@ -173,7 +193,7 @@ </property> </widget> </item> - <item row="6" column="0" colspan="3"> + <item row="7" column="0" colspan="3"> <widget class="QRadioButton" name="prev1Button"> <property name="toolTip"> <string>Select revision before last commit</string> @@ -186,7 +206,7 @@ </property> </widget> </item> - <item row="7" column="0" colspan="3"> + <item row="8" column="0" colspan="3"> <widget class="QRadioButton" name="none1Button"> <property name="text"> <string>No revision selected</string> @@ -336,7 +356,27 @@ </property> </widget> </item> - <item row="5" column="0" colspan="3"> + <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> @@ -349,7 +389,7 @@ </property> </widget> </item> - <item row="6" column="0" colspan="3"> + <item row="7" column="0" colspan="3"> <widget class="QRadioButton" name="prev2Button"> <property name="toolTip"> <string>Select revision before last commit</string> @@ -359,7 +399,7 @@ </property> </widget> </item> - <item row="7" column="0" colspan="3"> + <item row="8" column="0" colspan="3"> <widget class="QRadioButton" name="none2Button"> <property name="text"> <string>No revision selected</string> @@ -393,6 +433,8 @@ <tabstop>branch1Combo</tabstop> <tabstop>bookmark1Button</tabstop> <tabstop>bookmark1Combo</tabstop> + <tabstop>expression1Button</tabstop> + <tabstop>expression1Edit</tabstop> <tabstop>tip1Button</tabstop> <tabstop>prev1Button</tabstop> <tabstop>none1Button</tabstop> @@ -406,10 +448,11 @@ <tabstop>branch2Combo</tabstop> <tabstop>bookmark2Button</tabstop> <tabstop>bookmark2Combo</tabstop> + <tabstop>expression2Button</tabstop> + <tabstop>expression2Edit</tabstop> <tabstop>tip2Button</tabstop> <tabstop>prev2Button</tabstop> <tabstop>none2Button</tabstop> - <tabstop>buttonBox</tabstop> </tabstops> <resources/> <connections> @@ -420,8 +463,8 @@ <slot>accept()</slot> <hints> <hint type="sourcelabel"> - <x>54</x> - <y>440</y> + <x>63</x> + <y>688</y> </hint> <hint type="destinationlabel"> <x>21</x> @@ -436,8 +479,8 @@ <slot>reject()</slot> <hints> <hint type="sourcelabel"> - <x>106</x> - <y>440</y> + <x>115</x> + <y>688</y> </hint> <hint type="destinationlabel"> <x>73</x> @@ -468,12 +511,12 @@ <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel"> - <x>72</x> - <y>258</y> + <x>114</x> + <y>394</y> </hint> <hint type="destinationlabel"> - <x>183</x> - <y>258</y> + <x>215</x> + <y>396</y> </hint> </hints> </connection> @@ -484,12 +527,12 @@ <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel"> - <x>32</x> - <y>71</y> + <x>53</x> + <y>99</y> </hint> <hint type="destinationlabel"> - <x>147</x> - <y>72</y> + <x>266</x> + <y>100</y> </hint> </hints> </connection> @@ -500,12 +543,12 @@ <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel"> - <x>68</x> - <y>286</y> + <x>110</x> + <y>427</y> </hint> <hint type="destinationlabel"> - <x>230</x> - <y>286</y> + <x>378</x> + <y>428</y> </hint> </hints> </connection> @@ -516,12 +559,12 @@ <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel"> - <x>59</x> - <y>105</y> + <x>80</x> + <y>131</y> </hint> <hint type="destinationlabel"> - <x>129</x> - <y>101</y> + <x>248</x> + <y>132</y> </hint> </hints> </connection> @@ -532,12 +575,12 @@ <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel"> - <x>50</x> - <y>124</y> + <x>71</x> + <y>163</y> </hint> <hint type="destinationlabel"> - <x>117</x> - <y>128</y> + <x>236</x> + <y>164</y> </hint> </hints> </connection> @@ -548,12 +591,12 @@ <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel"> - <x>36</x> - <y>306</y> + <x>78</x> + <y>459</y> </hint> <hint type="destinationlabel"> - <x>149</x> - <y>306</y> + <x>378</x> + <y>460</y> </hint> </hints> </connection> @@ -564,12 +607,12 @@ <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel"> - <x>73</x> - <y>331</y> + <x>115</x> + <y>491</y> </hint> <hint type="destinationlabel"> - <x>140</x> - <y>331</y> + <x>378</x> + <y>492</y> </hint> </hints> </connection> @@ -580,12 +623,12 @@ <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel"> - <x>24</x> - <y>152</y> + <x>45</x> + <y>195</y> </hint> <hint type="destinationlabel"> - <x>135</x> - <y>148</y> + <x>254</x> + <y>196</y> </hint> </hints> </connection> @@ -596,12 +639,44 @@ <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel"> - <x>21</x> - <y>363</y> + <x>63</x> + <y>523</y> </hint> <hint type="destinationlabel"> - <x>145</x> - <y>361</y> + <x>378</x> + <y>524</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>216</y> + </hint> + <hint type="destinationlabel"> + <x>160</x> + <y>218</y> + </hint> + </hints> + </connection> + <connection> + <sender>expression2Button</sender> + <signal>toggled(bool)</signal> + <receiver>expression2Edit</receiver> + <slot>setEnabled(bool)</slot> + <hints> + <hint type="sourcelabel"> + <x>37</x> + <y>542</y> + </hint> + <hint type="destinationlabel"> + <x>152</x> + <y>543</y> </hint> </hints> </connection>