PageRenderTime 39ms CodeModel.GetById 17ms app.highlight 10ms RepoModel.GetById 2ms app.codeStats 0ms

/tortoisehg/hgqt/hgemail.ui

https://bitbucket.org/tortoisehg/hgtk/
Qt | 529 lines | 529 code | 0 blank | 0 comment | 0 complexity | 891da96b6245855ee865d5966fffb93b MD5 | raw file
  1<?xml version="1.0" encoding="UTF-8"?>
  2<ui version="4.0">
  3 <class>EmailDialog</class>
  4 <widget class="QDialog" name="EmailDialog">
  5  <property name="geometry">
  6   <rect>
  7    <x>0</x>
  8    <y>0</y>
  9    <width>660</width>
 10    <height>506</height>
 11   </rect>
 12  </property>
 13  <property name="windowTitle">
 14   <string>Email</string>
 15  </property>
 16  <layout class="QVBoxLayout" name="verticalLayout_5">
 17   <item>
 18    <widget class="QTabWidget" name="main_tabs">
 19     <property name="currentIndex">
 20      <number>0</number>
 21     </property>
 22     <property name="documentMode">
 23      <bool>false</bool>
 24     </property>
 25     <property name="tabsClosable">
 26      <bool>false</bool>
 27     </property>
 28     <property name="movable">
 29      <bool>false</bool>
 30     </property>
 31     <widget class="QWidget" name="edit_tab">
 32      <attribute name="title">
 33       <string>Edit</string>
 34      </attribute>
 35      <layout class="QGridLayout" name="gridLayout">
 36       <item row="0" column="0">
 37        <widget class="QGroupBox" name="envelope_box">
 38         <property name="title">
 39          <string/>
 40         </property>
 41         <layout class="QFormLayout" name="formLayout">
 42          <property name="fieldGrowthPolicy">
 43           <enum>QFormLayout::ExpandingFieldsGrow</enum>
 44          </property>
 45          <item row="0" column="0">
 46           <widget class="QLabel" name="to_label">
 47            <property name="text">
 48             <string>To:</string>
 49            </property>
 50            <property name="buddy">
 51             <cstring>to_edit</cstring>
 52            </property>
 53           </widget>
 54          </item>
 55          <item row="0" column="1">
 56           <widget class="QComboBox" name="to_edit">
 57            <property name="sizePolicy">
 58             <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
 59              <horstretch>0</horstretch>
 60              <verstretch>0</verstretch>
 61             </sizepolicy>
 62            </property>
 63            <property name="editable">
 64             <bool>true</bool>
 65            </property>
 66            <property name="insertPolicy">
 67             <enum>QComboBox::InsertAtTop</enum>
 68            </property>
 69           </widget>
 70          </item>
 71          <item row="1" column="0">
 72           <widget class="QLabel" name="cc_label">
 73            <property name="text">
 74             <string>Cc:</string>
 75            </property>
 76            <property name="buddy">
 77             <cstring>cc_edit</cstring>
 78            </property>
 79           </widget>
 80          </item>
 81          <item row="1" column="1">
 82           <widget class="QComboBox" name="cc_edit">
 83            <property name="sizePolicy">
 84             <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
 85              <horstretch>0</horstretch>
 86              <verstretch>0</verstretch>
 87             </sizepolicy>
 88            </property>
 89            <property name="editable">
 90             <bool>true</bool>
 91            </property>
 92            <property name="insertPolicy">
 93             <enum>QComboBox::InsertAtTop</enum>
 94            </property>
 95           </widget>
 96          </item>
 97          <item row="2" column="0">
 98           <widget class="QLabel" name="from_label">
 99            <property name="text">
100             <string>From:</string>
101            </property>
102            <property name="buddy">
103             <cstring>from_edit</cstring>
104            </property>
105           </widget>
106          </item>
107          <item row="2" column="1">
108           <widget class="QComboBox" name="from_edit">
109            <property name="sizePolicy">
110             <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
111              <horstretch>0</horstretch>
112              <verstretch>0</verstretch>
113             </sizepolicy>
114            </property>
115            <property name="editable">
116             <bool>true</bool>
117            </property>
118            <property name="insertPolicy">
119             <enum>QComboBox::InsertAtTop</enum>
120            </property>
121           </widget>
122          </item>
123          <item row="3" column="0">
124           <widget class="QLabel" name="inreplyto_label">
125            <property name="text">
126             <string>In-Reply-To:</string>
127            </property>
128            <property name="buddy">
129             <cstring>inreplyto_edit</cstring>
130            </property>
131           </widget>
132          </item>
133          <item row="3" column="1">
134           <widget class="QLineEdit" name="inreplyto_edit">
135            <property name="toolTip">
136             <string>Message identifier to reply to, for threading</string>
137            </property>
138           </widget>
139          </item>
140          <item row="4" column="0">
141           <widget class="QLabel" name="flag_label">
142            <property name="text">
143             <string>Flag:</string>
144            </property>
145            <property name="buddy">
146             <cstring>flag_edit</cstring>
147            </property>
148           </widget>
149          </item>
150          <item row="4" column="1">
151           <widget class="QComboBox" name="flag_edit">
152            <property name="sizePolicy">
153             <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
154              <horstretch>0</horstretch>
155              <verstretch>0</verstretch>
156             </sizepolicy>
157            </property>
158            <property name="editable">
159             <bool>true</bool>
160            </property>
161            <property name="insertPolicy">
162             <enum>QComboBox::InsertAtTop</enum>
163            </property>
164           </widget>
165          </item>
166         </layout>
167        </widget>
168       </item>
169       <item row="0" column="1">
170        <widget class="QGroupBox" name="options_edit">
171         <property name="sizePolicy">
172          <sizepolicy hsizetype="Maximum" vsizetype="Preferred">
173           <horstretch>0</horstretch>
174           <verstretch>0</verstretch>
175          </sizepolicy>
176         </property>
177         <property name="title">
178          <string/>
179         </property>
180         <layout class="QVBoxLayout" name="verticalLayout_4">
181          <item>
182           <widget class="QFrame" name="patch_frame">
183            <property name="frameShape">
184             <enum>QFrame::NoFrame</enum>
185            </property>
186            <property name="frameShadow">
187             <enum>QFrame::Raised</enum>
188            </property>
189            <layout class="QVBoxLayout" name="verticalLayout">
190             <item>
191              <widget class="QRadioButton" name="hgpatch_radio">
192               <property name="whatsThis">
193                <string>Hg patches (as generated by export command) are compatible with most patch programs.  They include a header which contains the most important changeset metadata.</string>
194               </property>
195               <property name="text">
196                <string>Send changesets as Hg patches</string>
197               </property>
198              </widget>
199             </item>
200             <item>
201              <widget class="QRadioButton" name="gitpatch_radio">
202               <property name="whatsThis">
203                <string>Git patches can describe binary files, copies, and permission changes, but recipients may not be able to use them if they are not using git or Mercurial.</string>
204               </property>
205               <property name="text">
206                <string>Use extended (git) patch format</string>
207               </property>
208              </widget>
209             </item>
210             <item>
211              <widget class="QRadioButton" name="plainpatch_radio">
212               <property name="whatsThis">
213                <string>Stripping Mercurial header removes username and parent information.  Only useful if recipient is not using Mercurial (and does not like to see the headers).</string>
214               </property>
215               <property name="text">
216                <string>Plain, do not prepend Hg header</string>
217               </property>
218              </widget>
219             </item>
220             <item>
221              <widget class="QRadioButton" name="bundle_radio">
222               <property name="whatsThis">
223                <string>Bundles store complete changesets in binary form. Upstream users can pull from them. This is the safest way to send changes to recipient Mercurial users.</string>
224               </property>
225               <property name="text">
226                <string>Send single binary bundle, not patches</string>
227               </property>
228              </widget>
229             </item>
230            </layout>
231           </widget>
232          </item>
233          <item>
234           <widget class="QFrame" name="extra_frame">
235            <property name="frameShape">
236             <enum>QFrame::NoFrame</enum>
237            </property>
238            <property name="frameShadow">
239             <enum>QFrame::Raised</enum>
240            </property>
241            <layout class="QHBoxLayout" name="horizontalLayout">
242             <item>
243              <widget class="QCheckBox" name="attach_check">
244               <property name="toolTip">
245                <string>send patches as attachments</string>
246               </property>
247               <property name="text">
248                <string>attach</string>
249               </property>
250              </widget>
251             </item>
252             <item>
253              <widget class="QCheckBox" name="inline_check">
254               <property name="toolTip">
255                <string>send patches as inline attachments</string>
256               </property>
257               <property name="text">
258                <string>inline</string>
259               </property>
260              </widget>
261             </item>
262             <item>
263              <widget class="QCheckBox" name="diffstat_check">
264               <property name="toolTip">
265                <string>add diffstat output to messages</string>
266               </property>
267               <property name="text">
268                <string>diffstat</string>
269               </property>
270              </widget>
271             </item>
272             <item>
273              <spacer name="extra_spacer">
274               <property name="orientation">
275                <enum>Qt::Horizontal</enum>
276               </property>
277               <property name="sizeHint" stdset="0">
278                <size>
279                 <width>40</width>
280                 <height>20</height>
281                </size>
282               </property>
283              </spacer>
284             </item>
285            </layout>
286           </widget>
287          </item>
288         </layout>
289        </widget>
290       </item>
291       <item row="1" column="0" colspan="2">
292        <widget class="QCheckBox" name="writeintro_check">
293         <property name="whatsThis">
294          <string>Patch series description is sent in initial summary email with [PATCH 0 of N] subject.  It should describe the effects of the entire patch series.  When emailing a bundle, these fields make up the message subject and body. Flags is a comma separated list of tags which are inserted into the message subject prefix.</string>
295         </property>
296         <property name="text">
297          <string>Write patch series (bundle) description</string>
298         </property>
299        </widget>
300       </item>
301       <item row="2" column="0" colspan="2">
302        <widget class="QSplitter" name="intro_changesets_splitter">
303         <property name="orientation">
304          <enum>Qt::Vertical</enum>
305         </property>
306         <widget class="QGroupBox" name="intro_box">
307          <property name="title">
308           <string/>
309          </property>
310          <layout class="QVBoxLayout" name="verticalLayout_2">
311           <item>
312            <layout class="QHBoxLayout" name="subject_layout">
313             <item>
314              <widget class="QLabel" name="subject_label">
315               <property name="text">
316                <string>Subject:</string>
317               </property>
318               <property name="buddy">
319                <cstring>subject_edit</cstring>
320               </property>
321              </widget>
322             </item>
323             <item>
324              <widget class="QLineEdit" name="subject_edit"/>
325             </item>
326            </layout>
327           </item>
328           <item>
329            <widget class="QPlainTextEdit" name="body_edit">
330             <property name="font">
331              <font>
332               <family>Monospace</family>
333              </font>
334             </property>
335            </widget>
336           </item>
337          </layout>
338         </widget>
339         <widget class="QGroupBox" name="changesets_box">
340          <property name="title">
341           <string>Changesets</string>
342          </property>
343          <layout class="QVBoxLayout" name="verticalLayout_3">
344           <item>
345            <widget class="QTreeView" name="changesets_view">
346             <property name="indentation">
347              <number>0</number>
348             </property>
349             <property name="rootIsDecorated">
350              <bool>false</bool>
351             </property>
352             <property name="itemsExpandable">
353              <bool>false</bool>
354             </property>
355            </widget>
356           </item>
357          </layout>
358         </widget>
359        </widget>
360       </item>
361      </layout>
362     </widget>
363     <widget class="QWidget" name="preview_tab">
364      <attribute name="title">
365       <string>Preview</string>
366      </attribute>
367      <layout class="QGridLayout" name="gridLayout_2">
368       <item row="0" column="0">
369        <widget class="QsciScintilla" name="preview_edit"/>
370       </item>
371      </layout>
372     </widget>
373    </widget>
374   </item>
375   <item>
376    <layout class="QHBoxLayout" name="dialogbuttons_layout">
377     <item>
378      <widget class="QPushButton" name="settings_button">
379       <property name="toolTip">
380        <string extracomment="Configure email settings"/>
381       </property>
382       <property name="text">
383        <string>&amp;Settings</string>
384       </property>
385       <property name="default">
386        <bool>false</bool>
387       </property>
388      </widget>
389     </item>
390     <item>
391      <spacer name="horizontalSpacer">
392       <property name="orientation">
393        <enum>Qt::Horizontal</enum>
394       </property>
395       <property name="sizeHint" stdset="0">
396        <size>
397         <width>25</width>
398         <height>19</height>
399        </size>
400       </property>
401      </spacer>
402     </item>
403     <item>
404      <widget class="QPushButton" name="send_button">
405       <property name="enabled">
406        <bool>false</bool>
407       </property>
408       <property name="text">
409        <string>Send &amp;Email</string>
410       </property>
411       <property name="default">
412        <bool>false</bool>
413       </property>
414      </widget>
415     </item>
416     <item>
417      <widget class="QPushButton" name="close_button">
418       <property name="enabled">
419        <bool>true</bool>
420       </property>
421       <property name="text">
422        <string>&amp;Close</string>
423       </property>
424       <property name="default">
425        <bool>true</bool>
426       </property>
427      </widget>
428     </item>
429    </layout>
430   </item>
431  </layout>
432 </widget>
433 <customwidgets>
434  <customwidget>
435   <class>QsciScintilla</class>
436   <extends>QFrame</extends>
437   <header>Qsci/qsciscintilla.h</header>
438  </customwidget>
439 </customwidgets>
440 <tabstops>
441  <tabstop>main_tabs</tabstop>
442  <tabstop>to_edit</tabstop>
443  <tabstop>cc_edit</tabstop>
444  <tabstop>from_edit</tabstop>
445  <tabstop>inreplyto_edit</tabstop>
446  <tabstop>flag_edit</tabstop>
447  <tabstop>hgpatch_radio</tabstop>
448  <tabstop>gitpatch_radio</tabstop>
449  <tabstop>plainpatch_radio</tabstop>
450  <tabstop>bundle_radio</tabstop>
451  <tabstop>attach_check</tabstop>
452  <tabstop>inline_check</tabstop>
453  <tabstop>diffstat_check</tabstop>
454  <tabstop>writeintro_check</tabstop>
455  <tabstop>subject_edit</tabstop>
456  <tabstop>body_edit</tabstop>
457  <tabstop>changesets_view</tabstop>
458  <tabstop>send_button</tabstop>
459  <tabstop>preview_edit</tabstop>
460  <tabstop>settings_button</tabstop>
461 </tabstops>
462 <resources/>
463 <connections>
464  <connection>
465   <sender>writeintro_check</sender>
466   <signal>toggled(bool)</signal>
467   <receiver>intro_box</receiver>
468   <slot>setVisible(bool)</slot>
469   <hints>
470    <hint type="sourcelabel">
471     <x>129</x>
472     <y>222</y>
473    </hint>
474    <hint type="destinationlabel">
475     <x>133</x>
476     <y>252</y>
477    </hint>
478   </hints>
479  </connection>
480  <connection>
481   <sender>send_button</sender>
482   <signal>clicked()</signal>
483   <receiver>EmailDialog</receiver>
484   <slot>accept()</slot>
485   <hints>
486    <hint type="sourcelabel">
487     <x>641</x>
488     <y>501</y>
489    </hint>
490    <hint type="destinationlabel">
491     <x>528</x>
492     <y>506</y>
493    </hint>
494   </hints>
495  </connection>
496  <connection>
497   <sender>close_button</sender>
498   <signal>clicked()</signal>
499   <receiver>EmailDialog</receiver>
500   <slot>close()</slot>
501   <hints>
502    <hint type="sourcelabel">
503     <x>641</x>
504     <y>501</y>
505    </hint>
506    <hint type="destinationlabel">
507     <x>528</x>
508     <y>506</y>
509    </hint>
510   </hints>
511  </connection>
512  <connection>
513   <sender>writeintro_check</sender>
514   <signal>toggled(bool)</signal>
515   <receiver>subject_edit</receiver>
516   <slot>setFocus()</slot>
517   <hints>
518    <hint type="sourcelabel">
519     <x>86</x>
520     <y>214</y>
521    </hint>
522    <hint type="destinationlabel">
523     <x>177</x>
524     <y>244</y>
525    </hint>
526   </hints>
527  </connection>
528 </connections>
529</ui>