144 <p> |
144 <p> |
145 Constructor |
145 Constructor |
146 </p> |
146 </p> |
147 <dl> |
147 <dl> |
148 |
148 |
149 <dt><i>mode</i></dt> |
149 <dt><i>mode</i> (str)</dt> |
150 <dd> |
150 <dd> |
151 mode of this dialog (string, "bug" or "feature") |
151 mode of this dialog ("bug" or "feature") |
152 </dd> |
152 </dd> |
153 <dt><i>parent</i></dt> |
153 <dt><i>parent</i> (QWidget)</dt> |
154 <dd> |
154 <dd> |
155 parent widget of this dialog (QWidget) |
155 parent widget of this dialog |
156 </dd> |
156 </dd> |
157 </dl> |
157 </dl> |
158 <a NAME="EmailDialog.__createMultipartMail" ID="EmailDialog.__createMultipartMail"></a> |
158 <a NAME="EmailDialog.__createMultipartMail" ID="EmailDialog.__createMultipartMail"></a> |
159 <h4>EmailDialog.__createMultipartMail</h4> |
159 <h4>EmailDialog.__createMultipartMail</h4> |
160 <b>__createMultipartMail</b>(<i></i>) |
160 <b>__createMultipartMail</b>(<i></i>) |
207 <p> |
207 <p> |
208 Private method to create a correctly encoded mail header. |
208 Private method to create a correctly encoded mail header. |
209 </p> |
209 </p> |
210 <dl> |
210 <dl> |
211 |
211 |
212 <dt><i>txt</i></dt> |
212 <dt><i>txt</i> (str)</dt> |
213 <dd> |
213 <dd> |
214 header text to encode (string) |
214 header text to encode |
215 </dd> |
215 </dd> |
216 </dl> |
216 </dl> |
217 <dl> |
217 <dl> |
218 <dt>Return:</dt> |
218 <dt>Return:</dt> |
219 <dd> |
219 <dd> |
220 encoded header (email.header.Header) |
220 encoded header |
|
221 </dd> |
|
222 </dl> |
|
223 <dl> |
|
224 <dt>Return Type:</dt> |
|
225 <dd> |
|
226 email.header.Header |
221 </dd> |
227 </dd> |
222 </dl> |
228 </dl> |
223 <a NAME="EmailDialog.__encodedText" ID="EmailDialog.__encodedText"></a> |
229 <a NAME="EmailDialog.__encodedText" ID="EmailDialog.__encodedText"></a> |
224 <h4>EmailDialog.__encodedText</h4> |
230 <h4>EmailDialog.__encodedText</h4> |
225 <b>__encodedText</b>(<i>txt</i>) |
231 <b>__encodedText</b>(<i>txt</i>) |
227 <p> |
233 <p> |
228 Private method to create a MIMEText message with correct encoding. |
234 Private method to create a MIMEText message with correct encoding. |
229 </p> |
235 </p> |
230 <dl> |
236 <dl> |
231 |
237 |
232 <dt><i>txt</i></dt> |
238 <dt><i>txt</i> (str)</dt> |
233 <dd> |
239 <dd> |
234 text to be put into the MIMEText object (string) |
240 text to be put into the MIMEText object |
235 </dd> |
241 </dd> |
236 </dl> |
242 </dl> |
237 <dl> |
243 <dl> |
238 <dt>Return:</dt> |
244 <dt>Return:</dt> |
239 <dd> |
245 <dd> |
240 MIMEText object |
246 MIMEText object |
|
247 </dd> |
|
248 </dl> |
|
249 <dl> |
|
250 <dt>Return Type:</dt> |
|
251 <dd> |
|
252 email.mime.text.MIMEText |
241 </dd> |
253 </dd> |
242 </dl> |
254 </dl> |
243 <a NAME="EmailDialog.__gmailSendResult" ID="EmailDialog.__gmailSendResult"></a> |
255 <a NAME="EmailDialog.__gmailSendResult" ID="EmailDialog.__gmailSendResult"></a> |
244 <h4>EmailDialog.__gmailSendResult</h4> |
256 <h4>EmailDialog.__gmailSendResult</h4> |
245 <b>__gmailSendResult</b>(<i>ok, message</i>) |
257 <b>__gmailSendResult</b>(<i>ok, message</i>) |
266 <p> |
278 <p> |
267 Private method to actually send the message. |
279 Private method to actually send the message. |
268 </p> |
280 </p> |
269 <dl> |
281 <dl> |
270 |
282 |
271 <dt><i>msg</i></dt> |
283 <dt><i>msg</i> (str)</dt> |
272 <dd> |
284 <dd> |
273 the message to be sent (string) |
285 the message to be sent |
274 </dd> |
286 </dd> |
275 </dl> |
287 </dl> |
276 <dl> |
288 <dl> |
277 <dt>Return:</dt> |
289 <dt>Return:</dt> |
278 <dd> |
290 <dd> |
279 flag indicating success (boolean) |
291 flag indicating success |
|
292 </dd> |
|
293 </dl> |
|
294 <dl> |
|
295 <dt>Return Type:</dt> |
|
296 <dd> |
|
297 bool |
280 </dd> |
298 </dd> |
281 </dl> |
299 </dl> |
282 <a NAME="EmailDialog.__sendmailGoogle" ID="EmailDialog.__sendmailGoogle"></a> |
300 <a NAME="EmailDialog.__sendmailGoogle" ID="EmailDialog.__sendmailGoogle"></a> |
283 <h4>EmailDialog.__sendmailGoogle</h4> |
301 <h4>EmailDialog.__sendmailGoogle</h4> |
284 <b>__sendmailGoogle</b>(<i>msg</i>) |
302 <b>__sendmailGoogle</b>(<i>msg</i>) |
300 <p> |
318 <p> |
301 Public method to add an attachment. |
319 Public method to add an attachment. |
302 </p> |
320 </p> |
303 <dl> |
321 <dl> |
304 |
322 |
305 <dt><i>fname</i></dt> |
323 <dt><i>fname</i> (str)</dt> |
306 <dd> |
324 <dd> |
307 name of the file to be attached (string) |
325 name of the file to be attached |
308 </dd> |
326 </dd> |
309 <dt><i>deleteFile</i></dt> |
327 <dt><i>deleteFile</i> (bool)</dt> |
310 <dd> |
328 <dd> |
311 flag indicating to delete the file after it has |
329 flag indicating to delete the file after it has |
312 been sent (boolean) |
330 been sent |
313 </dd> |
331 </dd> |
314 </dl> |
332 </dl> |
315 <a NAME="EmailDialog.keyPressEvent" ID="EmailDialog.keyPressEvent"></a> |
333 <a NAME="EmailDialog.keyPressEvent" ID="EmailDialog.keyPressEvent"></a> |
316 <h4>EmailDialog.keyPressEvent</h4> |
334 <h4>EmailDialog.keyPressEvent</h4> |
317 <b>keyPressEvent</b>(<i>ev</i>) |
335 <b>keyPressEvent</b>(<i>ev</i>) |
319 <p> |
337 <p> |
320 Protected method to handle the user pressing the escape key. |
338 Protected method to handle the user pressing the escape key. |
321 </p> |
339 </p> |
322 <dl> |
340 <dl> |
323 |
341 |
324 <dt><i>ev</i></dt> |
342 <dt><i>ev</i> (QKeyEvent)</dt> |
325 <dd> |
343 <dd> |
326 key event (QKeyEvent) |
344 key event |
327 </dd> |
345 </dd> |
328 </dl> |
346 </dl> |
329 <a NAME="EmailDialog.on_addButton_clicked" ID="EmailDialog.on_addButton_clicked"></a> |
347 <a NAME="EmailDialog.on_addButton_clicked" ID="EmailDialog.on_addButton_clicked"></a> |
330 <h4>EmailDialog.on_addButton_clicked</h4> |
348 <h4>EmailDialog.on_addButton_clicked</h4> |
331 <b>on_addButton_clicked</b>(<i></i>) |
349 <b>on_addButton_clicked</b>(<i></i>) |
340 <p> |
358 <p> |
341 Private slot called by a button of the button box clicked. |
359 Private slot called by a button of the button box clicked. |
342 </p> |
360 </p> |
343 <dl> |
361 <dl> |
344 |
362 |
345 <dt><i>button</i></dt> |
363 <dt><i>button</i> (QAbstractButton)</dt> |
346 <dd> |
364 <dd> |
347 button that was clicked (QAbstractButton) |
365 button that was clicked |
348 </dd> |
366 </dd> |
349 </dl> |
367 </dl> |
350 <a NAME="EmailDialog.on_buttonBox_rejected" ID="EmailDialog.on_buttonBox_rejected"></a> |
368 <a NAME="EmailDialog.on_buttonBox_rejected" ID="EmailDialog.on_buttonBox_rejected"></a> |
351 <h4>EmailDialog.on_buttonBox_rejected</h4> |
369 <h4>EmailDialog.on_buttonBox_rejected</h4> |
352 <b>on_buttonBox_rejected</b>(<i></i>) |
370 <b>on_buttonBox_rejected</b>(<i></i>) |