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