src/eric7/Plugins/VcsPlugins/vcsMercurial/HgImportDialog.ui

branch
eric7
changeset 9209
b99e7fd55fd3
parent 8428
2deec2f8a9ab
child 9413
80c06d472826
equal deleted inserted replaced
9208:3fc8dfeb6ebe 9209:b99e7fd55fd3
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>HgImportDialog</class>
4 <widget class="QDialog" name="HgImportDialog">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>500</width>
10 <height>450</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>Import Patch</string>
15 </property>
16 <property name="sizeGripEnabled">
17 <bool>true</bool>
18 </property>
19 <layout class="QGridLayout" name="gridLayout_2">
20 <item row="0" column="0" colspan="2">
21 <widget class="QGroupBox" name="groupBox_2">
22 <property name="title">
23 <string>Commit data</string>
24 </property>
25 <layout class="QVBoxLayout" name="verticalLayout">
26 <item>
27 <widget class="QCheckBox" name="noCommitCheckBox">
28 <property name="toolTip">
29 <string>Select to not commit the imported patch</string>
30 </property>
31 <property name="text">
32 <string>Do not commit</string>
33 </property>
34 <property name="checked">
35 <bool>true</bool>
36 </property>
37 </widget>
38 </item>
39 <item>
40 <widget class="QLabel" name="label_3">
41 <property name="text">
42 <string>Commit message:</string>
43 </property>
44 </widget>
45 </item>
46 <item>
47 <widget class="EricSpellCheckedPlainTextEdit" name="messageEdit">
48 <property name="enabled">
49 <bool>false</bool>
50 </property>
51 <property name="toolTip">
52 <string>Enter the commit message or leave empty to use the default one</string>
53 </property>
54 <property name="tabChangesFocus">
55 <bool>true</bool>
56 </property>
57 </widget>
58 </item>
59 <item>
60 <layout class="QGridLayout" name="gridLayout">
61 <item row="0" column="0">
62 <widget class="QLabel" name="label">
63 <property name="text">
64 <string>Commit Date:</string>
65 </property>
66 </widget>
67 </item>
68 <item row="0" column="1">
69 <widget class="QDateTimeEdit" name="dateEdit">
70 <property name="enabled">
71 <bool>false</bool>
72 </property>
73 <property name="toolTip">
74 <string>Enter optional date for the commit</string>
75 </property>
76 <property name="displayFormat">
77 <string notr="true">yyyy-MM-dd HH:mm</string>
78 </property>
79 <property name="calendarPopup">
80 <bool>false</bool>
81 </property>
82 </widget>
83 </item>
84 <item row="0" column="2">
85 <spacer name="horizontalSpacer_2">
86 <property name="orientation">
87 <enum>Qt::Horizontal</enum>
88 </property>
89 <property name="sizeHint" stdset="0">
90 <size>
91 <width>258</width>
92 <height>20</height>
93 </size>
94 </property>
95 </spacer>
96 </item>
97 <item row="1" column="0">
98 <widget class="QLabel" name="label_2">
99 <property name="text">
100 <string>Commit User:</string>
101 </property>
102 </widget>
103 </item>
104 <item row="1" column="1" colspan="2">
105 <widget class="QLineEdit" name="userEdit">
106 <property name="enabled">
107 <bool>false</bool>
108 </property>
109 <property name="toolTip">
110 <string>Enter optional user for the commit</string>
111 </property>
112 </widget>
113 </item>
114 </layout>
115 </item>
116 <item>
117 <widget class="QCheckBox" name="secretCheckBox">
118 <property name="toolTip">
119 <string>Enable to commit with the secret phase</string>
120 </property>
121 <property name="text">
122 <string>Commit with Secret Phase</string>
123 </property>
124 </widget>
125 </item>
126 </layout>
127 </widget>
128 </item>
129 <item row="1" column="0">
130 <widget class="QLabel" name="label_4">
131 <property name="text">
132 <string>Strip Count:</string>
133 </property>
134 </widget>
135 </item>
136 <item row="1" column="1">
137 <layout class="QHBoxLayout" name="horizontalLayout">
138 <item>
139 <widget class="QSpinBox" name="stripSpinBox">
140 <property name="toolTip">
141 <string>Enter number of leading directories to strip off (default 1)</string>
142 </property>
143 <property name="alignment">
144 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
145 </property>
146 <property name="maximum">
147 <number>9</number>
148 </property>
149 <property name="value">
150 <number>1</number>
151 </property>
152 </widget>
153 </item>
154 <item>
155 <spacer name="horizontalSpacer">
156 <property name="orientation">
157 <enum>Qt::Horizontal</enum>
158 </property>
159 <property name="sizeHint" stdset="0">
160 <size>
161 <width>118</width>
162 <height>20</height>
163 </size>
164 </property>
165 </spacer>
166 </item>
167 </layout>
168 </item>
169 <item row="2" column="0">
170 <widget class="QLabel" name="label_5">
171 <property name="text">
172 <string>Patch File:</string>
173 </property>
174 </widget>
175 </item>
176 <item row="2" column="1">
177 <widget class="EricPathPicker" name="patchFilePicker" native="true">
178 <property name="sizePolicy">
179 <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
180 <horstretch>0</horstretch>
181 <verstretch>0</verstretch>
182 </sizepolicy>
183 </property>
184 <property name="focusPolicy">
185 <enum>Qt::StrongFocus</enum>
186 </property>
187 <property name="toolTip">
188 <string>Enter the name of the patch file</string>
189 </property>
190 </widget>
191 </item>
192 <item row="3" column="0" colspan="2">
193 <widget class="QCheckBox" name="forceCheckBox">
194 <property name="toolTip">
195 <string>Select to enforce the import</string>
196 </property>
197 <property name="text">
198 <string>Enforce Import</string>
199 </property>
200 </widget>
201 </item>
202 <item row="4" column="0" colspan="2">
203 <widget class="QDialogButtonBox" name="buttonBox">
204 <property name="orientation">
205 <enum>Qt::Horizontal</enum>
206 </property>
207 <property name="standardButtons">
208 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
209 </property>
210 </widget>
211 </item>
212 </layout>
213 </widget>
214 <customwidgets>
215 <customwidget>
216 <class>EricPathPicker</class>
217 <extends>QWidget</extends>
218 <header>EricWidgets/EricPathPicker.h</header>
219 <container>1</container>
220 </customwidget>
221 <customwidget>
222 <class>EricSpellCheckedPlainTextEdit</class>
223 <extends>QPlainTextEdit</extends>
224 <header>EricWidgets/EricSpellCheckedTextEdit.h</header>
225 </customwidget>
226 </customwidgets>
227 <tabstops>
228 <tabstop>noCommitCheckBox</tabstop>
229 <tabstop>messageEdit</tabstop>
230 <tabstop>dateEdit</tabstop>
231 <tabstop>userEdit</tabstop>
232 <tabstop>secretCheckBox</tabstop>
233 <tabstop>stripSpinBox</tabstop>
234 <tabstop>patchFilePicker</tabstop>
235 <tabstop>forceCheckBox</tabstop>
236 </tabstops>
237 <resources/>
238 <connections>
239 <connection>
240 <sender>buttonBox</sender>
241 <signal>accepted()</signal>
242 <receiver>HgImportDialog</receiver>
243 <slot>accept()</slot>
244 <hints>
245 <hint type="sourcelabel">
246 <x>257</x>
247 <y>364</y>
248 </hint>
249 <hint type="destinationlabel">
250 <x>157</x>
251 <y>274</y>
252 </hint>
253 </hints>
254 </connection>
255 <connection>
256 <sender>buttonBox</sender>
257 <signal>rejected()</signal>
258 <receiver>HgImportDialog</receiver>
259 <slot>reject()</slot>
260 <hints>
261 <hint type="sourcelabel">
262 <x>325</x>
263 <y>364</y>
264 </hint>
265 <hint type="destinationlabel">
266 <x>286</x>
267 <y>274</y>
268 </hint>
269 </hints>
270 </connection>
271 <connection>
272 <sender>noCommitCheckBox</sender>
273 <signal>toggled(bool)</signal>
274 <receiver>messageEdit</receiver>
275 <slot>setDisabled(bool)</slot>
276 <hints>
277 <hint type="sourcelabel">
278 <x>70</x>
279 <y>44</y>
280 </hint>
281 <hint type="destinationlabel">
282 <x>95</x>
283 <y>113</y>
284 </hint>
285 </hints>
286 </connection>
287 <connection>
288 <sender>noCommitCheckBox</sender>
289 <signal>toggled(bool)</signal>
290 <receiver>dateEdit</receiver>
291 <slot>setDisabled(bool)</slot>
292 <hints>
293 <hint type="sourcelabel">
294 <x>121</x>
295 <y>41</y>
296 </hint>
297 <hint type="destinationlabel">
298 <x>134</x>
299 <y>202</y>
300 </hint>
301 </hints>
302 </connection>
303 <connection>
304 <sender>noCommitCheckBox</sender>
305 <signal>toggled(bool)</signal>
306 <receiver>userEdit</receiver>
307 <slot>setDisabled(bool)</slot>
308 <hints>
309 <hint type="sourcelabel">
310 <x>228</x>
311 <y>48</y>
312 </hint>
313 <hint type="destinationlabel">
314 <x>230</x>
315 <y>229</y>
316 </hint>
317 </hints>
318 </connection>
319 </connections>
320 </ui>

eric ide

mercurial