|
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>225</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="minimum"> |
|
48 <number>1</number> |
|
49 </property> |
|
50 <property name="maximum"> |
|
51 <number>999999999</number> |
|
52 </property> |
|
53 </widget> |
|
54 </item> |
|
55 <item row="0" column="2"> |
|
56 <spacer name="spacer"> |
|
57 <property name="orientation"> |
|
58 <enum>Qt::Horizontal</enum> |
|
59 </property> |
|
60 <property name="sizeHint" stdset="0"> |
|
61 <size> |
|
62 <width>158</width> |
|
63 <height>20</height> |
|
64 </size> |
|
65 </property> |
|
66 </spacer> |
|
67 </item> |
|
68 <item row="1" column="0"> |
|
69 <widget class="QRadioButton" name="idButton"> |
|
70 <property name="toolTip"> |
|
71 <string>Select to specify a revision by changeset id</string> |
|
72 </property> |
|
73 <property name="text"> |
|
74 <string>Id:</string> |
|
75 </property> |
|
76 </widget> |
|
77 </item> |
|
78 <item row="1" column="1" colspan="2"> |
|
79 <widget class="QLineEdit" name="idEdit"> |
|
80 <property name="enabled"> |
|
81 <bool>false</bool> |
|
82 </property> |
|
83 <property name="toolTip"> |
|
84 <string>Enter a changeset id</string> |
|
85 </property> |
|
86 </widget> |
|
87 </item> |
|
88 <item row="2" column="0"> |
|
89 <widget class="QRadioButton" name="tagButton"> |
|
90 <property name="toolTip"> |
|
91 <string>Select to specify a revision by a tag</string> |
|
92 </property> |
|
93 <property name="text"> |
|
94 <string>Tag:</string> |
|
95 </property> |
|
96 </widget> |
|
97 </item> |
|
98 <item row="2" column="1" colspan="2"> |
|
99 <widget class="QComboBox" name="tagCombo"> |
|
100 <property name="enabled"> |
|
101 <bool>false</bool> |
|
102 </property> |
|
103 <property name="sizePolicy"> |
|
104 <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
|
105 <horstretch>0</horstretch> |
|
106 <verstretch>0</verstretch> |
|
107 </sizepolicy> |
|
108 </property> |
|
109 <property name="toolTip"> |
|
110 <string>Enter a tag name</string> |
|
111 </property> |
|
112 <property name="editable"> |
|
113 <bool>true</bool> |
|
114 </property> |
|
115 </widget> |
|
116 </item> |
|
117 <item row="3" column="0"> |
|
118 <widget class="QRadioButton" name="branchButton"> |
|
119 <property name="toolTip"> |
|
120 <string>Select to specify a revision by a branch</string> |
|
121 </property> |
|
122 <property name="text"> |
|
123 <string>Branch:</string> |
|
124 </property> |
|
125 </widget> |
|
126 </item> |
|
127 <item row="3" column="1" colspan="2"> |
|
128 <widget class="QComboBox" name="branchCombo"> |
|
129 <property name="enabled"> |
|
130 <bool>false</bool> |
|
131 </property> |
|
132 <property name="sizePolicy"> |
|
133 <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
|
134 <horstretch>0</horstretch> |
|
135 <verstretch>0</verstretch> |
|
136 </sizepolicy> |
|
137 </property> |
|
138 <property name="toolTip"> |
|
139 <string>Enter a branch name</string> |
|
140 </property> |
|
141 <property name="editable"> |
|
142 <bool>true</bool> |
|
143 </property> |
|
144 </widget> |
|
145 </item> |
|
146 <item row="4" column="0" colspan="3"> |
|
147 <widget class="QRadioButton" name="tipButton"> |
|
148 <property name="toolTip"> |
|
149 <string>Select tip revision of repository</string> |
|
150 </property> |
|
151 <property name="text"> |
|
152 <string>TIP</string> |
|
153 </property> |
|
154 <property name="checked"> |
|
155 <bool>true</bool> |
|
156 </property> |
|
157 </widget> |
|
158 </item> |
|
159 </layout> |
|
160 </widget> |
|
161 </item> |
|
162 <item> |
|
163 <widget class="QDialogButtonBox" name="buttonBox"> |
|
164 <property name="orientation"> |
|
165 <enum>Qt::Horizontal</enum> |
|
166 </property> |
|
167 <property name="standardButtons"> |
|
168 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
|
169 </property> |
|
170 </widget> |
|
171 </item> |
|
172 </layout> |
|
173 </widget> |
|
174 <tabstops> |
|
175 <tabstop>numberButton</tabstop> |
|
176 <tabstop>numberSpinBox</tabstop> |
|
177 <tabstop>idButton</tabstop> |
|
178 <tabstop>idEdit</tabstop> |
|
179 <tabstop>tagButton</tabstop> |
|
180 <tabstop>tagCombo</tabstop> |
|
181 <tabstop>branchButton</tabstop> |
|
182 <tabstop>branchCombo</tabstop> |
|
183 <tabstop>tipButton</tabstop> |
|
184 <tabstop>buttonBox</tabstop> |
|
185 </tabstops> |
|
186 <resources/> |
|
187 <connections> |
|
188 <connection> |
|
189 <sender>buttonBox</sender> |
|
190 <signal>accepted()</signal> |
|
191 <receiver>HgRevisionSelectionDialog</receiver> |
|
192 <slot>accept()</slot> |
|
193 <hints> |
|
194 <hint type="sourcelabel"> |
|
195 <x>257</x> |
|
196 <y>215</y> |
|
197 </hint> |
|
198 <hint type="destinationlabel"> |
|
199 <x>157</x> |
|
200 <y>224</y> |
|
201 </hint> |
|
202 </hints> |
|
203 </connection> |
|
204 <connection> |
|
205 <sender>buttonBox</sender> |
|
206 <signal>rejected()</signal> |
|
207 <receiver>HgRevisionSelectionDialog</receiver> |
|
208 <slot>reject()</slot> |
|
209 <hints> |
|
210 <hint type="sourcelabel"> |
|
211 <x>325</x> |
|
212 <y>215</y> |
|
213 </hint> |
|
214 <hint type="destinationlabel"> |
|
215 <x>286</x> |
|
216 <y>224</y> |
|
217 </hint> |
|
218 </hints> |
|
219 </connection> |
|
220 <connection> |
|
221 <sender>numberButton</sender> |
|
222 <signal>toggled(bool)</signal> |
|
223 <receiver>numberSpinBox</receiver> |
|
224 <slot>setEnabled(bool)</slot> |
|
225 <hints> |
|
226 <hint type="sourcelabel"> |
|
227 <x>48</x> |
|
228 <y>42</y> |
|
229 </hint> |
|
230 <hint type="destinationlabel"> |
|
231 <x>113</x> |
|
232 <y>43</y> |
|
233 </hint> |
|
234 </hints> |
|
235 </connection> |
|
236 <connection> |
|
237 <sender>idButton</sender> |
|
238 <signal>toggled(bool)</signal> |
|
239 <receiver>idEdit</receiver> |
|
240 <slot>setEnabled(bool)</slot> |
|
241 <hints> |
|
242 <hint type="sourcelabel"> |
|
243 <x>38</x> |
|
244 <y>76</y> |
|
245 </hint> |
|
246 <hint type="destinationlabel"> |
|
247 <x>125</x> |
|
248 <y>75</y> |
|
249 </hint> |
|
250 </hints> |
|
251 </connection> |
|
252 <connection> |
|
253 <sender>tagButton</sender> |
|
254 <signal>toggled(bool)</signal> |
|
255 <receiver>tagCombo</receiver> |
|
256 <slot>setEnabled(bool)</slot> |
|
257 <hints> |
|
258 <hint type="sourcelabel"> |
|
259 <x>52</x> |
|
260 <y>104</y> |
|
261 </hint> |
|
262 <hint type="destinationlabel"> |
|
263 <x>124</x> |
|
264 <y>99</y> |
|
265 </hint> |
|
266 </hints> |
|
267 </connection> |
|
268 <connection> |
|
269 <sender>branchButton</sender> |
|
270 <signal>toggled(bool)</signal> |
|
271 <receiver>branchCombo</receiver> |
|
272 <slot>setEnabled(bool)</slot> |
|
273 <hints> |
|
274 <hint type="sourcelabel"> |
|
275 <x>71</x> |
|
276 <y>127</y> |
|
277 </hint> |
|
278 <hint type="destinationlabel"> |
|
279 <x>123</x> |
|
280 <y>130</y> |
|
281 </hint> |
|
282 </hints> |
|
283 </connection> |
|
284 </connections> |
|
285 </ui> |