Module implementing a dialog to send bug reports.
None |
EmailDialog | Class implementing a dialog to send bug reports. |
_encode_base64 | Function to encode the message's payload in Base64. |
Class implementing a dialog to send bug reports.
None |
None |
EmailDialog | Constructor |
__createMultipartMail | Private method to create a multipart mail message. |
__createSimpleMail | Private method to create a simple mail message. |
__encodedHeader | Private method to create a correctly encoded mail header. |
__encodedText | Private method to create a MIMEText message with correct encoding. |
__sendmail | Private method to actually send the message. |
attachFile | Public method to add an attachment. |
keyPressEvent | Protected method to handle the user pressing the escape key. |
on_addButton_clicked | Private slot to handle the Add... |
on_buttonBox_clicked | Private slot called by a button of the button box clicked. |
on_buttonBox_rejected | Private slot to handle the rejected signal of the button box. |
on_deleteButton_clicked | Private slot to handle the Delete button. |
on_message_textChanged | Private slot to handle the textChanged signal of the message edit. |
on_sendButton_clicked | Private slot to send the email message. |
on_subject_textChanged | Private slot to handle the textChanged signal of the subject edit. |
None |
Constructor
Private method to create a multipart mail message.
Private method to create a simple mail message.
Private method to create a correctly encoded mail header.
Private method to create a MIMEText message with correct encoding.
Private method to actually send the message.
Public method to add an attachment.
Protected method to handle the user pressing the escape key.
Private slot to handle the Add... button.
Private slot called by a button of the button box clicked.
Private slot to handle the rejected signal of the button box.
Private slot to handle the Delete button.
Private slot to handle the textChanged signal of the message edit.
Private slot to send the email message.
Private slot to handle the textChanged signal of the subject edit.
Function to encode the message's payload in Base64.
Note: It adds an appropriate Content-Transfer-Encoding header.