WizardDataUriEncoder/Documentation/source/Plugin_Wizard_DataUriEncoder.WizardDataUriEncoder.DataUriEncoderWizardDialog.html

branch
eric7
changeset 44
1ab3e76972e6
parent 41
f7634f688a52
child 48
d9cd58b1e0c8
equal deleted inserted replaced
43:dbb86ed48634 44:1ab3e76972e6
26 Module implementing the base64 data URI encoder wizard dialog. 26 Module implementing the base64 data URI encoder wizard dialog.
27 </p> 27 </p>
28 <h3>Global Attributes</h3> 28 <h3>Global Attributes</h3>
29 29
30 <table> 30 <table>
31 <tr><td>Python3Template</td></tr> 31 <tr><td>DataUriTemplates</td></tr>
32 </table> 32 </table>
33 <h3>Classes</h3> 33 <h3>Classes</h3>
34 34
35 <table> 35 <table>
36 36
75 <tr> 75 <tr>
76 <td><a href="#DataUriEncoderWizardDialog.__askMime">__askMime</a></td> 76 <td><a href="#DataUriEncoderWizardDialog.__askMime">__askMime</a></td>
77 <td>Private method to get the mime type from the user.</td> 77 <td>Private method to get the mime type from the user.</td>
78 </tr> 78 </tr>
79 <tr> 79 <tr>
80 <td><a href="#DataUriEncoderWizardDialog.__getStartDir">__getStartDir</a></td>
81 <td>Private method to get the start directory for selection dialogs.</td>
82 </tr>
83 <tr>
84 <td><a href="#DataUriEncoderWizardDialog.getCode">getCode</a></td> 80 <td><a href="#DataUriEncoderWizardDialog.getCode">getCode</a></td>
85 <td>Public method to get the code.</td> 81 <td>Public method to get the code.</td>
86 </tr> 82 </tr>
87 <tr> 83 <tr>
88 <td><a href="#DataUriEncoderWizardDialog.on_copyButton_clicked">on_copyButton_clicked</a></td> 84 <td><a href="#DataUriEncoderWizardDialog.on_copyButton_clicked">on_copyButton_clicked</a></td>
95 <tr> 91 <tr>
96 <td><a href="#DataUriEncoderWizardDialog.on_encodeButton_clicked">on_encodeButton_clicked</a></td> 92 <td><a href="#DataUriEncoderWizardDialog.on_encodeButton_clicked">on_encodeButton_clicked</a></td>
97 <td>Private slot to encode the contents of the given file.</td> 93 <td>Private slot to encode the contents of the given file.</td>
98 </tr> 94 </tr>
99 <tr> 95 <tr>
100 <td><a href="#DataUriEncoderWizardDialog.on_fileButton_clicked">on_fileButton_clicked</a></td> 96 <td><a href="#DataUriEncoderWizardDialog.on_filePicker_textChanged">on_filePicker_textChanged</a></td>
101 <td>Private slot to select the file to be encoded via a selection dialog.</td>
102 </tr>
103 <tr>
104 <td><a href="#DataUriEncoderWizardDialog.on_fileEdit_textChanged">on_fileEdit_textChanged</a></td>
105 <td>Private slot to handle the editing of the file name.</td> 97 <td>Private slot to handle the editing of the file name.</td>
106 </tr> 98 </tr>
107 <tr> 99 <tr>
108 <td><a href="#DataUriEncoderWizardDialog.on_outputTextEdit_textChanged">on_outputTextEdit_textChanged</a></td> 100 <td><a href="#DataUriEncoderWizardDialog.on_outputTextEdit_textChanged">on_outputTextEdit_textChanged</a></td>
109 <td>Private slot to handle the existence of some output text.</td> 101 <td>Private slot to handle the existence of some output text.</td>
122 <p> 114 <p>
123 Constructor 115 Constructor
124 </p> 116 </p>
125 <dl> 117 <dl>
126 118
127 <dt><i>parent</i></dt> 119 <dt><i>parent</i> (QWidget)</dt>
128 <dd> 120 <dd>
129 reference to the parent widget (QWidget) 121 reference to the parent widget
130 </dd> 122 </dd>
131 </dl> 123 </dl>
132 <a NAME="DataUriEncoderWizardDialog.__askMime" ID="DataUriEncoderWizardDialog.__askMime"></a> 124 <a NAME="DataUriEncoderWizardDialog.__askMime" ID="DataUriEncoderWizardDialog.__askMime"></a>
133 <h4>DataUriEncoderWizardDialog.__askMime</h4> 125 <h4>DataUriEncoderWizardDialog.__askMime</h4>
134 <b>__askMime</b>(<i></i>) 126 <b>__askMime</b>(<i></i>)
137 Private method to get the mime type from the user. 129 Private method to get the mime type from the user.
138 </p> 130 </p>
139 <dl> 131 <dl>
140 <dt>Return:</dt> 132 <dt>Return:</dt>
141 <dd> 133 <dd>
142 entered mime type (string) 134 entered mime type
143 </dd> 135 </dd>
144 </dl> 136 </dl>
145 <a NAME="DataUriEncoderWizardDialog.__getStartDir" ID="DataUriEncoderWizardDialog.__getStartDir"></a> 137 <dl>
146 <h4>DataUriEncoderWizardDialog.__getStartDir</h4> 138 <dt>Return Type:</dt>
147 <b>__getStartDir</b>(<i></i>) 139 <dd>
148 140 str
149 <p>
150 Private method to get the start directory for selection dialogs.
151 </p>
152 <dl>
153 <dt>Return:</dt>
154 <dd>
155 start directory (string)
156 </dd> 141 </dd>
157 </dl> 142 </dl>
158 <a NAME="DataUriEncoderWizardDialog.getCode" ID="DataUriEncoderWizardDialog.getCode"></a> 143 <a NAME="DataUriEncoderWizardDialog.getCode" ID="DataUriEncoderWizardDialog.getCode"></a>
159 <h4>DataUriEncoderWizardDialog.getCode</h4> 144 <h4>DataUriEncoderWizardDialog.getCode</h4>
160 <b>getCode</b>(<i></i>) 145 <b>getCode</b>(<i></i>)
163 Public method to get the code. 148 Public method to get the code.
164 </p> 149 </p>
165 <dl> 150 <dl>
166 <dt>Return:</dt> 151 <dt>Return:</dt>
167 <dd> 152 <dd>
168 generated code (string) 153 generated code
154 </dd>
155 </dl>
156 <dl>
157 <dt>Return Type:</dt>
158 <dd>
159 str
169 </dd> 160 </dd>
170 </dl> 161 </dl>
171 <a NAME="DataUriEncoderWizardDialog.on_copyButton_clicked" ID="DataUriEncoderWizardDialog.on_copyButton_clicked"></a> 162 <a NAME="DataUriEncoderWizardDialog.on_copyButton_clicked" ID="DataUriEncoderWizardDialog.on_copyButton_clicked"></a>
172 <h4>DataUriEncoderWizardDialog.on_copyButton_clicked</h4> 163 <h4>DataUriEncoderWizardDialog.on_copyButton_clicked</h4>
173 <b>on_copyButton_clicked</b>(<i></i>) 164 <b>on_copyButton_clicked</b>(<i></i>)
182 <p> 173 <p>
183 Private slot to handle the selection of an embedding method. 174 Private slot to handle the selection of an embedding method.
184 </p> 175 </p>
185 <dl> 176 <dl>
186 177
187 <dt><i>index</i></dt> 178 <dt><i>index</i> (int)</dt>
188 <dd> 179 <dd>
189 index of the selected entry (integer) 180 index of the selected entry
190 </dd> 181 </dd>
191 </dl> 182 </dl>
192 <a NAME="DataUriEncoderWizardDialog.on_encodeButton_clicked" ID="DataUriEncoderWizardDialog.on_encodeButton_clicked"></a> 183 <a NAME="DataUriEncoderWizardDialog.on_encodeButton_clicked" ID="DataUriEncoderWizardDialog.on_encodeButton_clicked"></a>
193 <h4>DataUriEncoderWizardDialog.on_encodeButton_clicked</h4> 184 <h4>DataUriEncoderWizardDialog.on_encodeButton_clicked</h4>
194 <b>on_encodeButton_clicked</b>(<i></i>) 185 <b>on_encodeButton_clicked</b>(<i></i>)
195 186
196 <p> 187 <p>
197 Private slot to encode the contents of the given file. 188 Private slot to encode the contents of the given file.
198 </p> 189 </p>
199 <a NAME="DataUriEncoderWizardDialog.on_fileButton_clicked" ID="DataUriEncoderWizardDialog.on_fileButton_clicked"></a> 190 <a NAME="DataUriEncoderWizardDialog.on_filePicker_textChanged" ID="DataUriEncoderWizardDialog.on_filePicker_textChanged"></a>
200 <h4>DataUriEncoderWizardDialog.on_fileButton_clicked</h4> 191 <h4>DataUriEncoderWizardDialog.on_filePicker_textChanged</h4>
201 <b>on_fileButton_clicked</b>(<i></i>) 192 <b>on_filePicker_textChanged</b>(<i>txt</i>)
202
203 <p>
204 Private slot to select the file to be encoded via a selection dialog.
205 </p>
206 <a NAME="DataUriEncoderWizardDialog.on_fileEdit_textChanged" ID="DataUriEncoderWizardDialog.on_fileEdit_textChanged"></a>
207 <h4>DataUriEncoderWizardDialog.on_fileEdit_textChanged</h4>
208 <b>on_fileEdit_textChanged</b>(<i>txt</i>)
209 193
210 <p> 194 <p>
211 Private slot to handle the editing of the file name. 195 Private slot to handle the editing of the file name.
212 </p> 196 </p>
213 <dl> 197 <dl>
214 198
215 <dt><i>txt</i></dt> 199 <dt><i>txt</i> (str)</dt>
216 <dd> 200 <dd>
217 current file name (string) 201 current file name
218 </dd> 202 </dd>
219 </dl> 203 </dl>
220 <a NAME="DataUriEncoderWizardDialog.on_outputTextEdit_textChanged" ID="DataUriEncoderWizardDialog.on_outputTextEdit_textChanged"></a> 204 <a NAME="DataUriEncoderWizardDialog.on_outputTextEdit_textChanged" ID="DataUriEncoderWizardDialog.on_outputTextEdit_textChanged"></a>
221 <h4>DataUriEncoderWizardDialog.on_outputTextEdit_textChanged</h4> 205 <h4>DataUriEncoderWizardDialog.on_outputTextEdit_textChanged</h4>
222 <b>on_outputTextEdit_textChanged</b>(<i></i>) 206 <b>on_outputTextEdit_textChanged</b>(<i></i>)

eric ide

mercurial