Documentation/Source/eric5.UI.EmailDialog.html

changeset 17
edde1fe80b3e
child 21
b88a0e6268bd
equal deleted inserted replaced
16:892c1787d666 17:edde1fe80b3e
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'>
4 <html><head>
5 <title>eric5.UI.EmailDialog</title>
6 <style>
7 b'body {\n background:white;\n margin: 0em 1em 10em 1em;\n color: black;\n}\n\nh1 { color: white; background: #4FA4FF; }\nh2 { color: white; background: #4FA4FF; }\nh3 { color: white; background: #00557F; }\nh4 { color: white; background: #00557F; }\n \na { color: #AA5500; }\n'
8 </style>
9 </head>
10 <body><a NAME="top" ID="top"></a>
11 <h1>eric5.UI.EmailDialog</h1>
12 <p>
13 &#77;&#111;&#100;&#117;&#108;&#101; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#100;&#105;&#97;&#108;&#111;&#103; &#116;&#111; &#115;&#101;&#110;&#100; &#98;&#117;&#103; &#114;&#101;&#112;&#111;&#114;&#116;&#115;.
14 </p>
15 <h3>Global Attributes</h3>
16 <table>
17 <tr><td>None</td></tr>
18 </table>
19 <h3>Classes</h3>
20 <table>
21 <tr>
22 <td><a href="#EmailDialog">EmailDialog</a></td>
23 <td>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#100;&#105;&#97;&#108;&#111;&#103; &#116;&#111; &#115;&#101;&#110;&#100; &#98;&#117;&#103; &#114;&#101;&#112;&#111;&#114;&#116;&#115;.</td>
24 </tr>
25 </table>
26 <h3>Functions</h3>
27 <table>
28 <tr><td>None</td></tr>
29 </table>
30 <hr /><hr />
31 <a NAME="EmailDialog" ID="EmailDialog"></a>
32 <h2>EmailDialog</h2>
33 <p>
34 &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#100;&#105;&#97;&#108;&#111;&#103; &#116;&#111; &#115;&#101;&#110;&#100; &#98;&#117;&#103; &#114;&#101;&#112;&#111;&#114;&#116;&#115;.
35 </p>
36 <h3>Derived from</h3>
37 QDialog, Ui_EmailDialog
38 <h3>Class Attributes</h3>
39 <table>
40 <tr><td>None</td></tr>
41 </table>
42 <h3>Methods</h3>
43 <table>
44 <tr>
45 <td><a href="#EmailDialog.__init__">EmailDialog</a></td>
46 <td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td>
47 </tr><tr>
48 <td><a href="#EmailDialog.__createMultipartMail">__createMultipartMail</a></td>
49 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#114;&#101;&#97;&#116;&#101; &#97; &#109;&#117;&#108;&#116;&#105;&#112;&#97;&#114;&#116; &#109;&#97;&#105;&#108; &#109;&#101;&#115;&#115;&#97;&#103;&#101;.</td>
50 </tr><tr>
51 <td><a href="#EmailDialog.__createSimpleMail">__createSimpleMail</a></td>
52 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#114;&#101;&#97;&#116;&#101; &#97; &#115;&#105;&#109;&#112;&#108;&#101; &#109;&#97;&#105;&#108; &#109;&#101;&#115;&#115;&#97;&#103;&#101;.</td>
53 </tr><tr>
54 <td><a href="#EmailDialog.__sendmail">__sendmail</a></td>
55 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#97;&#99;&#116;&#117;&#97;&#108;&#108;y &#115;&#101;&#110;&#100; &#116;&#104;&#101; &#109;&#101;&#115;&#115;&#97;&#103;&#101;.</td>
56 </tr><tr>
57 <td><a href="#EmailDialog.attachFile">attachFile</a></td>
58 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#97;&#100;&#100; &#97;&#110; &#97;&#116;&#116;&#97;&#99;&#104;&#109;&#101;&#110;&#116;.</td>
59 </tr><tr>
60 <td><a href="#EmailDialog.keyPressEvent">keyPressEvent</a></td>
61 <td>&#82;&#101;-&#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#101;&#100; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#117;&#115;&#101;&#114; &#112;&#114;&#101;&#115;&#115;&#105;&#110;&#103; &#116;&#104;&#101; &#101;&#115;&#99;&#97;&#112;&#101; &#107;&#101;y.</td>
62 </tr><tr>
63 <td><a href="#EmailDialog.on_addButton_clicked">on_addButton_clicked</a></td>
64 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#65;&#100;&#100;...</td>
65 </tr><tr>
66 <td><a href="#EmailDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td>
67 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#99;&#97;&#108;&#108;&#101;&#100; &#98;y &#97; &#98;&#117;&#116;&#116;&#111;&#110; &#111;&#102; &#116;&#104;&#101; &#98;&#117;&#116;&#116;&#111;&#110; &#98;&#111;x &#99;&#108;&#105;&#99;&#107;&#101;&#100;.</td>
68 </tr><tr>
69 <td><a href="#EmailDialog.on_buttonBox_rejected">on_buttonBox_rejected</a></td>
70 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#114;&#101;&#106;&#101;&#99;&#116;&#101;&#100; &#115;&#105;&#103;&#110;&#97;&#108; &#111;&#102; &#116;&#104;&#101; &#98;&#117;&#116;&#116;&#111;&#110; &#98;&#111;x.</td>
71 </tr><tr>
72 <td><a href="#EmailDialog.on_deleteButton_clicked">on_deleteButton_clicked</a></td>
73 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#68;&#101;&#108;&#101;&#116;&#101; &#98;&#117;&#116;&#116;&#111;&#110;.</td>
74 </tr><tr>
75 <td><a href="#EmailDialog.on_message_textChanged">on_message_textChanged</a></td>
76 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#116;&#101;x&#116;&#67;&#104;&#97;&#110;&#103;&#101;&#100; &#115;&#105;&#103;&#110;&#97;&#108; &#111;&#102; &#116;&#104;&#101; &#109;&#101;&#115;&#115;&#97;&#103;&#101; &#101;&#100;&#105;&#116;.</td>
77 </tr><tr>
78 <td><a href="#EmailDialog.on_sendButton_clicked">on_sendButton_clicked</a></td>
79 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#115;&#101;&#110;&#100; &#116;&#104;&#101; &#101;&#109;&#97;&#105;&#108; &#109;&#101;&#115;&#115;&#97;&#103;&#101;.</td>
80 </tr><tr>
81 <td><a href="#EmailDialog.on_subject_textChanged">on_subject_textChanged</a></td>
82 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#116;&#101;x&#116;&#67;&#104;&#97;&#110;&#103;&#101;&#100; &#115;&#105;&#103;&#110;&#97;&#108; &#111;&#102; &#116;&#104;&#101; &#115;&#117;&#98;&#106;&#101;&#99;&#116; &#101;&#100;&#105;&#116;.</td>
83 </tr>
84 </table>
85 <a NAME="EmailDialog.__init__" ID="EmailDialog.__init__"></a>
86 <h4>EmailDialog (Constructor)</h4>
87 <b>EmailDialog</b>(<i>mode = "bug", parent = None</i>)
88 <p>
89 &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;
90 </p><dl>
91 <dt><i>mode</i></dt>
92 <dd>
93 &#109;&#111;&#100;&#101; &#111;&#102; &#116;&#104;&#105;&#115; &#100;&#105;&#97;&#108;&#111;&#103; (&#115;&#116;&#114;&#105;&#110;&#103;, "&#98;&#117;&#103;" &#111;&#114; "&#102;&#101;&#97;&#116;&#117;&#114;&#101;")
94 </dd><dt><i>parent</i></dt>
95 <dd>
96 &#112;&#97;&#114;&#101;&#110;&#116; w&#105;&#100;&#103;&#101;&#116; &#111;&#102; &#116;&#104;&#105;&#115; &#100;&#105;&#97;&#108;&#111;&#103; (&#81;&#87;&#105;&#100;&#103;&#101;&#116;)
97 </dd>
98 </dl><a NAME="EmailDialog.__createMultipartMail" ID="EmailDialog.__createMultipartMail"></a>
99 <h4>EmailDialog.__createMultipartMail</h4>
100 <b>__createMultipartMail</b>(<i></i>)
101 <p>
102 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#114;&#101;&#97;&#116;&#101; &#97; &#109;&#117;&#108;&#116;&#105;&#112;&#97;&#114;&#116; &#109;&#97;&#105;&#108; &#109;&#101;&#115;&#115;&#97;&#103;&#101;.
103 </p><dl>
104 <dt>Returns:</dt>
105 <dd>
106 &#115;&#116;&#114;&#105;&#110;&#103; &#99;&#111;&#110;&#116;&#97;&#105;&#110;&#105;&#110;&#103; &#116;&#104;&#101; &#109;&#97;&#105;&#108; &#109;&#101;&#115;&#115;&#97;&#103;&#101;
107 </dd>
108 </dl><a NAME="EmailDialog.__createSimpleMail" ID="EmailDialog.__createSimpleMail"></a>
109 <h4>EmailDialog.__createSimpleMail</h4>
110 <b>__createSimpleMail</b>(<i></i>)
111 <p>
112 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#114;&#101;&#97;&#116;&#101; &#97; &#115;&#105;&#109;&#112;&#108;&#101; &#109;&#97;&#105;&#108; &#109;&#101;&#115;&#115;&#97;&#103;&#101;.
113 </p><dl>
114 <dt>Returns:</dt>
115 <dd>
116 &#115;&#116;&#114;&#105;&#110;&#103; &#99;&#111;&#110;&#116;&#97;&#105;&#110;&#105;&#110;&#103; &#116;&#104;&#101; &#109;&#97;&#105;&#108; &#109;&#101;&#115;&#115;&#97;&#103;&#101;
117 </dd>
118 </dl><a NAME="EmailDialog.__sendmail" ID="EmailDialog.__sendmail"></a>
119 <h4>EmailDialog.__sendmail</h4>
120 <b>__sendmail</b>(<i>msg</i>)
121 <p>
122 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#97;&#99;&#116;&#117;&#97;&#108;&#108;y &#115;&#101;&#110;&#100; &#116;&#104;&#101; &#109;&#101;&#115;&#115;&#97;&#103;&#101;.
123 </p><dl>
124 <dt><i>msg</i></dt>
125 <dd>
126 &#116;&#104;&#101; &#109;&#101;&#115;&#115;&#97;&#103;&#101; &#116;&#111; &#98;&#101; &#115;&#101;&#110;&#116; (&#115;&#116;&#114;&#105;&#110;&#103;)
127 </dd>
128 </dl><dl>
129 <dt>Returns:</dt>
130 <dd>
131 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#115;&#117;&#99;&#99;&#101;&#115;&#115; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;)
132 </dd>
133 </dl><a NAME="EmailDialog.attachFile" ID="EmailDialog.attachFile"></a>
134 <h4>EmailDialog.attachFile</h4>
135 <b>attachFile</b>(<i>fname, deleteFile</i>)
136 <p>
137 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#97;&#100;&#100; &#97;&#110; &#97;&#116;&#116;&#97;&#99;&#104;&#109;&#101;&#110;&#116;.
138 </p><dl>
139 <dt><i>fname</i></dt>
140 <dd>
141 &#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#102;&#105;&#108;&#101; &#116;&#111; &#98;&#101; &#97;&#116;&#116;&#97;&#99;&#104;&#101;&#100; (&#115;&#116;&#114;&#105;&#110;&#103;)
142 </dd><dt><i>deleteFile</i></dt>
143 <dd>
144 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#116;&#111; &#100;&#101;&#108;&#101;&#116;&#101; &#116;&#104;&#101; &#102;&#105;&#108;&#101; &#97;&#102;&#116;&#101;&#114; &#105;&#116; &#104;&#97;&#115;
145 &#98;&#101;&#101;&#110; &#115;&#101;&#110;&#116; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;)
146 </dd>
147 </dl><a NAME="EmailDialog.keyPressEvent" ID="EmailDialog.keyPressEvent"></a>
148 <h4>EmailDialog.keyPressEvent</h4>
149 <b>keyPressEvent</b>(<i>ev</i>)
150 <p>
151 &#82;&#101;-&#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#101;&#100; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#117;&#115;&#101;&#114; &#112;&#114;&#101;&#115;&#115;&#105;&#110;&#103; &#116;&#104;&#101; &#101;&#115;&#99;&#97;&#112;&#101; &#107;&#101;y.
152 </p><dl>
153 <dt><i>ev</i></dt>
154 <dd>
155 &#107;&#101;y &#101;v&#101;&#110;&#116; (&#81;&#75;&#101;y&#69;v&#101;&#110;&#116;)
156 </dd>
157 </dl><a NAME="EmailDialog.on_addButton_clicked" ID="EmailDialog.on_addButton_clicked"></a>
158 <h4>EmailDialog.on_addButton_clicked</h4>
159 <b>on_addButton_clicked</b>(<i></i>)
160 <p>
161 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#65;&#100;&#100;... &#98;&#117;&#116;&#116;&#111;&#110;.
162 </p><a NAME="EmailDialog.on_buttonBox_clicked" ID="EmailDialog.on_buttonBox_clicked"></a>
163 <h4>EmailDialog.on_buttonBox_clicked</h4>
164 <b>on_buttonBox_clicked</b>(<i>button</i>)
165 <p>
166 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#99;&#97;&#108;&#108;&#101;&#100; &#98;y &#97; &#98;&#117;&#116;&#116;&#111;&#110; &#111;&#102; &#116;&#104;&#101; &#98;&#117;&#116;&#116;&#111;&#110; &#98;&#111;x &#99;&#108;&#105;&#99;&#107;&#101;&#100;.
167 </p><dl>
168 <dt><i>button</i></dt>
169 <dd>
170 &#98;&#117;&#116;&#116;&#111;&#110; &#116;&#104;&#97;&#116; w&#97;&#115; &#99;&#108;&#105;&#99;&#107;&#101;&#100; (&#81;&#65;&#98;&#115;&#116;&#114;&#97;&#99;&#116;&#66;&#117;&#116;&#116;&#111;&#110;)
171 </dd>
172 </dl><a NAME="EmailDialog.on_buttonBox_rejected" ID="EmailDialog.on_buttonBox_rejected"></a>
173 <h4>EmailDialog.on_buttonBox_rejected</h4>
174 <b>on_buttonBox_rejected</b>(<i></i>)
175 <p>
176 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#114;&#101;&#106;&#101;&#99;&#116;&#101;&#100; &#115;&#105;&#103;&#110;&#97;&#108; &#111;&#102; &#116;&#104;&#101; &#98;&#117;&#116;&#116;&#111;&#110; &#98;&#111;x.
177 </p><a NAME="EmailDialog.on_deleteButton_clicked" ID="EmailDialog.on_deleteButton_clicked"></a>
178 <h4>EmailDialog.on_deleteButton_clicked</h4>
179 <b>on_deleteButton_clicked</b>(<i></i>)
180 <p>
181 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#68;&#101;&#108;&#101;&#116;&#101; &#98;&#117;&#116;&#116;&#111;&#110;.
182 </p><a NAME="EmailDialog.on_message_textChanged" ID="EmailDialog.on_message_textChanged"></a>
183 <h4>EmailDialog.on_message_textChanged</h4>
184 <b>on_message_textChanged</b>(<i></i>)
185 <p>
186 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#116;&#101;x&#116;&#67;&#104;&#97;&#110;&#103;&#101;&#100; &#115;&#105;&#103;&#110;&#97;&#108; &#111;&#102; &#116;&#104;&#101; &#109;&#101;&#115;&#115;&#97;&#103;&#101; &#101;&#100;&#105;&#116;.
187 </p><dl>
188 <dt><i>txt</i></dt>
189 <dd>
190 &#99;&#104;&#97;&#110;&#103;&#101;&#100; &#116;&#101;x&#116; (&#115;&#116;&#114;&#105;&#110;&#103;)
191 </dd>
192 </dl><a NAME="EmailDialog.on_sendButton_clicked" ID="EmailDialog.on_sendButton_clicked"></a>
193 <h4>EmailDialog.on_sendButton_clicked</h4>
194 <b>on_sendButton_clicked</b>(<i></i>)
195 <p>
196 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#115;&#101;&#110;&#100; &#116;&#104;&#101; &#101;&#109;&#97;&#105;&#108; &#109;&#101;&#115;&#115;&#97;&#103;&#101;.
197 </p><a NAME="EmailDialog.on_subject_textChanged" ID="EmailDialog.on_subject_textChanged"></a>
198 <h4>EmailDialog.on_subject_textChanged</h4>
199 <b>on_subject_textChanged</b>(<i>txt</i>)
200 <p>
201 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#116;&#101;x&#116;&#67;&#104;&#97;&#110;&#103;&#101;&#100; &#115;&#105;&#103;&#110;&#97;&#108; &#111;&#102; &#116;&#104;&#101; &#115;&#117;&#98;&#106;&#101;&#99;&#116; &#101;&#100;&#105;&#116;.
202 </p><dl>
203 <dt><i>txt</i></dt>
204 <dd>
205 &#99;&#104;&#97;&#110;&#103;&#101;&#100; &#116;&#101;x&#116; (&#115;&#116;&#114;&#105;&#110;&#103;)
206 </dd>
207 </dl>
208 <div align="right"><a href="#top">Up</a></div>
209 <hr />
210 </body></html>

eric ide

mercurial