|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <ui version="4.0"> |
|
3 <class>HgRevisionSelectionDialog</class> |
|
4 <widget class="QDialog" name="HgRevisionSelectionDialog"> |
|
5 <property name="geometry"> |
|
6 <rect> |
|
7 <x>0</x> |
|
8 <y>0</y> |
|
9 <width>372</width> |
|
10 <height>250</height> |
|
11 </rect> |
|
12 </property> |
|
13 <property name="windowTitle"> |
|
14 <string>Mercurial Revision</string> |
|
15 </property> |
|
16 <property name="sizeGripEnabled"> |
|
17 <bool>true</bool> |
|
18 </property> |
|
19 <layout class="QVBoxLayout" name="verticalLayout"> |
|
20 <item> |
|
21 <widget class="QGroupBox" name="groupBox"> |
|
22 <property name="title"> |
|
23 <string>Revision</string> |
|
24 </property> |
|
25 <layout class="QGridLayout" name="gridLayout"> |
|
26 <item row="0" column="0"> |
|
27 <widget class="QRadioButton" name="numberButton"> |
|
28 <property name="toolTip"> |
|
29 <string>Select to specify a revision by number</string> |
|
30 </property> |
|
31 <property name="text"> |
|
32 <string>Number</string> |
|
33 </property> |
|
34 </widget> |
|
35 </item> |
|
36 <item row="0" column="1"> |
|
37 <widget class="QSpinBox" name="numberSpinBox"> |
|
38 <property name="enabled"> |
|
39 <bool>false</bool> |
|
40 </property> |
|
41 <property name="toolTip"> |
|
42 <string>Enter a revision number</string> |
|
43 </property> |
|
44 <property name="alignment"> |
|
45 <set>Qt::AlignRight</set> |
|
46 </property> |
|
47 <property name="maximum"> |
|
48 <number>999999999</number> |
|
49 </property> |
|
50 </widget> |
|
51 </item> |
|
52 <item row="0" column="2"> |
|
53 <spacer name="spacer"> |
|
54 <property name="orientation"> |
|
55 <enum>Qt::Horizontal</enum> |
|
56 </property> |
|
57 <property name="sizeHint" stdset="0"> |
|
58 <size> |
|
59 <width>158</width> |
|
60 <height>20</height> |
|
61 </size> |
|
62 </property> |
|
63 </spacer> |
|
64 </item> |
|
65 <item row="1" column="0"> |
|
66 <widget class="QRadioButton" name="idButton"> |
|
67 <property name="toolTip"> |
|
68 <string>Select to specify a revision by changeset id</string> |
|
69 </property> |
|
70 <property name="text"> |
|
71 <string>Id:</string> |
|
72 </property> |
|
73 </widget> |
|
74 </item> |
|
75 <item row="1" column="1" colspan="2"> |
|
76 <widget class="QLineEdit" name="idEdit"> |
|
77 <property name="enabled"> |
|
78 <bool>false</bool> |
|
79 </property> |
|
80 <property name="toolTip"> |
|
81 <string>Enter a changeset id</string> |
|
82 </property> |
|
83 </widget> |
|
84 </item> |
|
85 <item row="2" column="0"> |
|
86 <widget class="QRadioButton" name="tagButton"> |
|
87 <property name="toolTip"> |
|
88 <string>Select to specify a revision by a tag</string> |
|
89 </property> |
|
90 <property name="text"> |
|
91 <string>Tag:</string> |
|
92 </property> |
|
93 </widget> |
|
94 </item> |
|
95 <item row="2" column="1" colspan="2"> |
|
96 <widget class="QComboBox" name="tagCombo"> |
|
97 <property name="enabled"> |
|
98 <bool>false</bool> |
|
99 </property> |
|
100 <property name="sizePolicy"> |
|
101 <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
|
102 <horstretch>0</horstretch> |
|
103 <verstretch>0</verstretch> |
|
104 </sizepolicy> |
|
105 </property> |
|
106 <property name="toolTip"> |
|
107 <string>Enter a tag name</string> |
|
108 </property> |
|
109 <property name="editable"> |
|
110 <bool>true</bool> |
|
111 </property> |
|
112 </widget> |
|
113 </item> |
|
114 <item row="3" column="0"> |
|
115 <widget class="QRadioButton" name="branchButton"> |
|
116 <property name="toolTip"> |
|
117 <string>Select to specify a revision by a branch</string> |
|
118 </property> |
|
119 <property name="text"> |
|
120 <string>Branch:</string> |
|
121 </property> |
|
122 </widget> |
|
123 </item> |
|
124 <item row="3" column="1" colspan="2"> |
|
125 <widget class="QComboBox" name="branchCombo"> |
|
126 <property name="enabled"> |
|
127 <bool>false</bool> |
|
128 </property> |
|
129 <property name="sizePolicy"> |
|
130 <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
|
131 <horstretch>0</horstretch> |
|
132 <verstretch>0</verstretch> |
|
133 </sizepolicy> |
|
134 </property> |
|
135 <property name="toolTip"> |
|
136 <string>Enter a branch name</string> |
|
137 </property> |
|
138 <property name="editable"> |
|
139 <bool>true</bool> |
|
140 </property> |
|
141 </widget> |
|
142 </item> |
|
143 <item row="4" column="0"> |
|
144 <widget class="QRadioButton" name="bookmarkButton"> |
|
145 <property name="toolTip"> |
|
146 <string>Select to specify a revision by a bookmark</string> |
|
147 </property> |
|
148 <property name="text"> |
|
149 <string>Bookmark:</string> |
|
150 </property> |
|
151 </widget> |
|
152 </item> |
|
153 <item row="4" column="1" colspan="2"> |
|
154 <widget class="QComboBox" name="bookmarkCombo"> |
|
155 <property name="enabled"> |
|
156 <bool>false</bool> |
|
157 </property> |
|
158 <property name="sizePolicy"> |
|
159 <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
|
160 <horstretch>0</horstretch> |
|
161 <verstretch>0</verstretch> |
|
162 </sizepolicy> |
|
163 </property> |
|
164 <property name="toolTip"> |
|
165 <string>Enter a bookmark name</string> |
|
166 </property> |
|
167 <property name="editable"> |
|
168 <bool>true</bool> |
|
169 </property> |
|
170 </widget> |
|
171 </item> |
|
172 <item row="5" column="0" colspan="3"> |
|
173 <widget class="QRadioButton" name="tipButton"> |
|
174 <property name="toolTip"> |
|
175 <string>Select tip revision of repository</string> |
|
176 </property> |
|
177 <property name="text"> |
|
178 <string>TIP</string> |
|
179 </property> |
|
180 </widget> |
|
181 </item> |
|
182 <item row="6" column="0" colspan="3"> |
|
183 <widget class="QRadioButton" name="noneButton"> |
|
184 <property name="text"> |
|
185 <string>No revision selected</string> |
|
186 </property> |
|
187 <property name="checked"> |
|
188 <bool>true</bool> |
|
189 </property> |
|
190 </widget> |
|
191 </item> |
|
192 </layout> |
|
193 </widget> |
|
194 </item> |
|
195 <item> |
|
196 <widget class="QDialogButtonBox" name="buttonBox"> |
|
197 <property name="orientation"> |
|
198 <enum>Qt::Horizontal</enum> |
|
199 </property> |
|
200 <property name="standardButtons"> |
|
201 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
|
202 </property> |
|
203 </widget> |
|
204 </item> |
|
205 </layout> |
|
206 </widget> |
|
207 <tabstops> |
|
208 <tabstop>numberButton</tabstop> |
|
209 <tabstop>numberSpinBox</tabstop> |
|
210 <tabstop>idButton</tabstop> |
|
211 <tabstop>idEdit</tabstop> |
|
212 <tabstop>tagButton</tabstop> |
|
213 <tabstop>tagCombo</tabstop> |
|
214 <tabstop>branchButton</tabstop> |
|
215 <tabstop>branchCombo</tabstop> |
|
216 <tabstop>bookmarkButton</tabstop> |
|
217 <tabstop>bookmarkCombo</tabstop> |
|
218 <tabstop>tipButton</tabstop> |
|
219 <tabstop>noneButton</tabstop> |
|
220 <tabstop>buttonBox</tabstop> |
|
221 </tabstops> |
|
222 <resources/> |
|
223 <connections> |
|
224 <connection> |
|
225 <sender>buttonBox</sender> |
|
226 <signal>accepted()</signal> |
|
227 <receiver>HgRevisionSelectionDialog</receiver> |
|
228 <slot>accept()</slot> |
|
229 <hints> |
|
230 <hint type="sourcelabel"> |
|
231 <x>257</x> |
|
232 <y>215</y> |
|
233 </hint> |
|
234 <hint type="destinationlabel"> |
|
235 <x>157</x> |
|
236 <y>223</y> |
|
237 </hint> |
|
238 </hints> |
|
239 </connection> |
|
240 <connection> |
|
241 <sender>buttonBox</sender> |
|
242 <signal>rejected()</signal> |
|
243 <receiver>HgRevisionSelectionDialog</receiver> |
|
244 <slot>reject()</slot> |
|
245 <hints> |
|
246 <hint type="sourcelabel"> |
|
247 <x>325</x> |
|
248 <y>215</y> |
|
249 </hint> |
|
250 <hint type="destinationlabel"> |
|
251 <x>286</x> |
|
252 <y>223</y> |
|
253 </hint> |
|
254 </hints> |
|
255 </connection> |
|
256 <connection> |
|
257 <sender>numberButton</sender> |
|
258 <signal>toggled(bool)</signal> |
|
259 <receiver>numberSpinBox</receiver> |
|
260 <slot>setEnabled(bool)</slot> |
|
261 <hints> |
|
262 <hint type="sourcelabel"> |
|
263 <x>55</x> |
|
264 <y>44</y> |
|
265 </hint> |
|
266 <hint type="destinationlabel"> |
|
267 <x>125</x> |
|
268 <y>42</y> |
|
269 </hint> |
|
270 </hints> |
|
271 </connection> |
|
272 <connection> |
|
273 <sender>idButton</sender> |
|
274 <signal>toggled(bool)</signal> |
|
275 <receiver>idEdit</receiver> |
|
276 <slot>setEnabled(bool)</slot> |
|
277 <hints> |
|
278 <hint type="sourcelabel"> |
|
279 <x>41</x> |
|
280 <y>69</y> |
|
281 </hint> |
|
282 <hint type="destinationlabel"> |
|
283 <x>121</x> |
|
284 <y>68</y> |
|
285 </hint> |
|
286 </hints> |
|
287 </connection> |
|
288 <connection> |
|
289 <sender>tagButton</sender> |
|
290 <signal>toggled(bool)</signal> |
|
291 <receiver>tagCombo</receiver> |
|
292 <slot>setEnabled(bool)</slot> |
|
293 <hints> |
|
294 <hint type="sourcelabel"> |
|
295 <x>69</x> |
|
296 <y>94</y> |
|
297 </hint> |
|
298 <hint type="destinationlabel"> |
|
299 <x>132</x> |
|
300 <y>98</y> |
|
301 </hint> |
|
302 </hints> |
|
303 </connection> |
|
304 <connection> |
|
305 <sender>branchButton</sender> |
|
306 <signal>toggled(bool)</signal> |
|
307 <receiver>branchCombo</receiver> |
|
308 <slot>setEnabled(bool)</slot> |
|
309 <hints> |
|
310 <hint type="sourcelabel"> |
|
311 <x>60</x> |
|
312 <y>120</y> |
|
313 </hint> |
|
314 <hint type="destinationlabel"> |
|
315 <x>117</x> |
|
316 <y>122</y> |
|
317 </hint> |
|
318 </hints> |
|
319 </connection> |
|
320 <connection> |
|
321 <sender>bookmarkButton</sender> |
|
322 <signal>toggled(bool)</signal> |
|
323 <receiver>bookmarkCombo</receiver> |
|
324 <slot>setEnabled(bool)</slot> |
|
325 <hints> |
|
326 <hint type="sourcelabel"> |
|
327 <x>25</x> |
|
328 <y>146</y> |
|
329 </hint> |
|
330 <hint type="destinationlabel"> |
|
331 <x>130</x> |
|
332 <y>149</y> |
|
333 </hint> |
|
334 </hints> |
|
335 </connection> |
|
336 </connections> |
|
337 </ui> |