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