Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9.2, 1.9.3, and 2.0

hgemail: migrate tooltip messages from hgtk

Longer text is placed as whatsThis message, because Qt doesn't prefer it
for toolTip. It also make whatsThis button visible on titlebar.

Changeset 6aa43f617231

Parent 3d455aaabe18

by Yuya Nishihara

Changes to 2 files · Browse files at 6aa43f617231 Showing diff from parent 3d455aaabe18 Diff from another changeset...

 
21
22
23
24
25
26
27
 
21
22
23
 
24
25
26
@@ -21,7 +21,6 @@
  """Dialog for sending patches via email"""   def __init__(self, ui, repo, revs, parent=None):   super(EmailDialog, self).__init__(parent) - self.setWindowFlags(self.windowFlags() & ~Qt.WindowContextHelpButtonHint)   self._ui = ui   self._repo = repo  
 
131
132
133
134
 
 
 
 
 
135
136
137
 
185
186
187
 
 
 
188
189
190
 
192
193
194
 
 
 
195
196
197
 
199
200
201
 
 
 
202
203
204
 
206
207
208
 
 
 
209
210
211
 
225
226
227
 
 
 
228
229
230
 
232
233
234
 
 
 
235
236
237
 
239
240
241
 
 
 
242
243
244
 
265
266
267
 
 
 
268
269
270
 
131
132
133
 
134
135
136
137
138
139
140
141
 
189
190
191
192
193
194
195
196
197
 
199
200
201
202
203
204
205
206
207
 
209
210
211
212
213
214
215
216
217
 
219
220
221
222
223
224
225
226
227
 
241
242
243
244
245
246
247
248
249
 
251
252
253
254
255
256
257
258
259
 
261
262
263
264
265
266
267
268
269
 
290
291
292
293
294
295
296
297
298
@@ -131,7 +131,11 @@
  </widget>   </item>   <item row="3" column="1"> - <widget class="QLineEdit" name="inreplyto_edit"/> + <widget class="QLineEdit" name="inreplyto_edit"> + <property name="toolTip"> + <string>Message identifier to reply to, for threading</string> + </property> + </widget>   </item>   <item row="4" column="0">   <widget class="QLabel" name="flag_label"> @@ -185,6 +189,9 @@
  <layout class="QVBoxLayout" name="verticalLayout">   <item>   <widget class="QRadioButton" name="hgpatch_radio"> + <property name="whatsThis"> + <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> + </property>   <property name="text">   <string>Send changesets as Hg patches</string>   </property> @@ -192,6 +199,9 @@
  </item>   <item>   <widget class="QRadioButton" name="gitpatch_radio"> + <property name="whatsThis"> + <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> + </property>   <property name="text">   <string>Use extended (git) patch format</string>   </property> @@ -199,6 +209,9 @@
  </item>   <item>   <widget class="QRadioButton" name="plainpatch_radio"> + <property name="whatsThis"> + <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> + </property>   <property name="text">   <string>Plain, do not prepend Hg header</string>   </property> @@ -206,6 +219,9 @@
  </item>   <item>   <widget class="QRadioButton" name="bundle_radio"> + <property name="whatsThis"> + <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> + </property>   <property name="text">   <string>Send single binary bundle, not patches</string>   </property> @@ -225,6 +241,9 @@
  <layout class="QHBoxLayout" name="horizontalLayout">   <item>   <widget class="QCheckBox" name="attach_check"> + <property name="toolTip"> + <string>send patches as attachments</string> + </property>   <property name="text">   <string>attach</string>   </property> @@ -232,6 +251,9 @@
  </item>   <item>   <widget class="QCheckBox" name="inline_check"> + <property name="toolTip"> + <string>send patches as inline attachments</string> + </property>   <property name="text">   <string>inline</string>   </property> @@ -239,6 +261,9 @@
  </item>   <item>   <widget class="QCheckBox" name="diffstat_check"> + <property name="toolTip"> + <string>add diffstat output to messages</string> + </property>   <property name="text">   <string>diffstat</string>   </property> @@ -265,6 +290,9 @@
  </item>   <item row="1" column="0" colspan="2">   <widget class="QCheckBox" name="writeintro_check"> + <property name="whatsThis"> + <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> + </property>   <property name="text">   <string>Write patch series (bundle) description</string>   </property>