1
<?xml version="1.0" encoding="utf-8"?>
2
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
3
'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
5
<title>eric4.UI.EmailDialog</title>
9
margin: 0em 1em 10em 1em;
13
h1 { color: white; background: #4FA4FF; }
14
h2 { color: white; background: #4FA4FF; }
15
h3 { color: white; background: #00557F; }
16
h4 { color: white; background: #00557F; }
22
<body><a NAME="top" ID="top"></a>
23
<h1>eric4.UI.EmailDialog</h1>
25
Module implementing a dialog to send bug reports.
30
<td><a href="#EmailDialog">EmailDialog</a></td>
31
<td>Class implementing a dialog to send bug reports.</td>
36
<tr><td>None</td></tr>
39
<a NAME="EmailDialog" ID="EmailDialog"></a>
42
Class implementing a dialog to send bug reports.
45
QDialog, Ui_EmailDialog
49
<td><a href="#EmailDialog.__init__">EmailDialog</a></td>
52
<td><a href="#EmailDialog.__createMultipartMail">__createMultipartMail</a></td>
53
<td>Private method to create a multipart mail message.</td>
55
<td><a href="#EmailDialog.__createSimpleMail">__createSimpleMail</a></td>
56
<td>Private method to create a simple mail message.</td>
58
<td><a href="#EmailDialog.__sendmail">__sendmail</a></td>
59
<td>Private method to actually send the message.</td>
61
<td><a href="#EmailDialog.keyPressEvent">keyPressEvent</a></td>
62
<td>Re-implemented to handle the user pressing the escape key.</td>
64
<td><a href="#EmailDialog.on_addButton_clicked">on_addButton_clicked</a></td>
65
<td>Private slot to handle the Add...</td>
67
<td><a href="#EmailDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td>
68
<td>Private slot called by a button of the button box clicked.</td>
70
<td><a href="#EmailDialog.on_buttonBox_rejected">on_buttonBox_rejected</a></td>
71
<td>Private slot to handle the rejected signal of the button box.</td>
73
<td><a href="#EmailDialog.on_deleteButton_clicked">on_deleteButton_clicked</a></td>
74
<td>Private slot to handle the Delete button.</td>
76
<td><a href="#EmailDialog.on_message_textChanged">on_message_textChanged</a></td>
77
<td>Private slot to handle the textChanged signal of the message edit.</td>
79
<td><a href="#EmailDialog.on_sendButton_clicked">on_sendButton_clicked</a></td>
80
<td>Private slot to send the email message.</td>
82
<td><a href="#EmailDialog.on_subject_textChanged">on_subject_textChanged</a></td>
83
<td>Private slot to handle the textChanged signal of the subject edit.</td>
86
<p><a NAME="EmailDialog.__init__" ID="EmailDialog.__init__"></a>
87
<h4>EmailDialog (Constructor)</h4>
88
<b>EmailDialog</b>(<i>parent=None</i>)
92
<dt><i>parent</i></dt>
94
parent widget of this dialog (QWidget)
96
</dl><a NAME="EmailDialog.__createMultipartMail" ID="EmailDialog.__createMultipartMail"></a>
97
<h4>EmailDialog.__createMultipartMail</h4>
98
<b>__createMultipartMail</b>(<i></i>)
100
Private method to create a multipart mail message.
104
string containing the mail message
106
</dl><a NAME="EmailDialog.__createSimpleMail" ID="EmailDialog.__createSimpleMail"></a>
107
<h4>EmailDialog.__createSimpleMail</h4>
108
<b>__createSimpleMail</b>(<i></i>)
110
Private method to create a simple mail message.
114
string containing the mail message
116
</dl><a NAME="EmailDialog.__sendmail" ID="EmailDialog.__sendmail"></a>
117
<h4>EmailDialog.__sendmail</h4>
118
<b>__sendmail</b>(<i>msg</i>)
120
Private method to actually send the message.
124
the message to be sent (string)
129
flag indicating success (boolean)
131
</dl><a NAME="EmailDialog.keyPressEvent" ID="EmailDialog.keyPressEvent"></a>
132
<h4>EmailDialog.keyPressEvent</h4>
133
<b>keyPressEvent</b>(<i>ev</i>)
135
Re-implemented to handle the user pressing the escape key.
139
key event (QKeyEvent)
141
</dl><a NAME="EmailDialog.on_addButton_clicked" ID="EmailDialog.on_addButton_clicked"></a>
142
<h4>EmailDialog.on_addButton_clicked</h4>
143
<b>on_addButton_clicked</b>(<i></i>)
145
Private slot to handle the Add... button.
146
</p><a NAME="EmailDialog.on_buttonBox_clicked" ID="EmailDialog.on_buttonBox_clicked"></a>
147
<h4>EmailDialog.on_buttonBox_clicked</h4>
148
<b>on_buttonBox_clicked</b>(<i>button</i>)
150
Private slot called by a button of the button box clicked.
152
<dt><i>button</i></dt>
154
button that was clicked (QAbstractButton)
156
</dl><a NAME="EmailDialog.on_buttonBox_rejected" ID="EmailDialog.on_buttonBox_rejected"></a>
157
<h4>EmailDialog.on_buttonBox_rejected</h4>
158
<b>on_buttonBox_rejected</b>(<i></i>)
160
Private slot to handle the rejected signal of the button box.
161
</p><a NAME="EmailDialog.on_deleteButton_clicked" ID="EmailDialog.on_deleteButton_clicked"></a>
162
<h4>EmailDialog.on_deleteButton_clicked</h4>
163
<b>on_deleteButton_clicked</b>(<i></i>)
165
Private slot to handle the Delete button.
166
</p><a NAME="EmailDialog.on_message_textChanged" ID="EmailDialog.on_message_textChanged"></a>
167
<h4>EmailDialog.on_message_textChanged</h4>
168
<b>on_message_textChanged</b>(<i></i>)
170
Private slot to handle the textChanged signal of the message edit.
174
changed text (QString)
176
</dl><a NAME="EmailDialog.on_sendButton_clicked" ID="EmailDialog.on_sendButton_clicked"></a>
177
<h4>EmailDialog.on_sendButton_clicked</h4>
178
<b>on_sendButton_clicked</b>(<i></i>)
180
Private slot to send the email message.
181
</p><a NAME="EmailDialog.on_subject_textChanged" ID="EmailDialog.on_subject_textChanged"></a>
182
<h4>EmailDialog.on_subject_textChanged</h4>
183
<b>on_subject_textChanged</b>(<i>txt</i>)
185
Private slot to handle the textChanged signal of the subject edit.
189
changed text (QString)
192
<div align="right"><a href="#top">Up</a></div>
b'\\ No newline at end of file'