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

changeset 35
20bea809ae09
parent 6
fe575423760e
child 41
f7634f688a52
equal deleted inserted replaced
34:525dc29b6a22 35:20bea809ae09
16 16
17 a { color: #BA6D36; } 17 a { color: #BA6D36; }
18 18
19 </style> 19 </style>
20 </head> 20 </head>
21 <body><a NAME="top" ID="top"></a> 21 <body>
22 <a NAME="top" ID="top"></a>
22 <h1>Plugin_Wizard_DataUriEncoder.WizardDataUriEncoder.DataUriEncoderWizardDialog</h1> 23 <h1>Plugin_Wizard_DataUriEncoder.WizardDataUriEncoder.DataUriEncoderWizardDialog</h1>
24
23 <p> 25 <p>
24 Module implementing the base64 data URI encoder wizard dialog. 26 Module implementing the base64 data URI encoder wizard dialog.
25 </p> 27 </p>
26 <h3>Global Attributes</h3> 28 <h3>Global Attributes</h3>
27 <table> 29
28 <tr><td>Python2Template</td></tr><tr><td>Python3Template</td></tr> 30 <table>
31 <tr><td>Python3Template</td></tr>
29 </table> 32 </table>
30 <h3>Classes</h3> 33 <h3>Classes</h3>
31 <table> 34
35 <table>
36
32 <tr> 37 <tr>
33 <td><a href="#DataUriEncoderWizardDialog">DataUriEncoderWizardDialog</a></td> 38 <td><a href="#DataUriEncoderWizardDialog">DataUriEncoderWizardDialog</a></td>
34 <td>Class implementing the base64 data URI encoder wizard dialog.</td> 39 <td>Class implementing the base64 data URI encoder wizard dialog.</td>
35 </tr> 40 </tr>
36 </table> 41 </table>
37 <h3>Functions</h3> 42 <h3>Functions</h3>
38 <table> 43
39 <tr><td>None</td></tr> 44 <table>
40 </table> 45 <tr><td>None</td></tr>
41 <hr /><hr /> 46 </table>
47 <hr />
48 <hr />
42 <a NAME="DataUriEncoderWizardDialog" ID="DataUriEncoderWizardDialog"></a> 49 <a NAME="DataUriEncoderWizardDialog" ID="DataUriEncoderWizardDialog"></a>
43 <h2>DataUriEncoderWizardDialog</h2> 50 <h2>DataUriEncoderWizardDialog</h2>
51
44 <p> 52 <p>
45 Class implementing the base64 data URI encoder wizard dialog. 53 Class implementing the base64 data URI encoder wizard dialog.
46 </p> 54 </p>
47 <h3>Derived from</h3> 55 <h3>Derived from</h3>
48 QDialog, Ui_DataUriEncoderWizardDialog 56 QDialog, Ui_DataUriEncoderWizardDialog
49 <h3>Class Attributes</h3> 57 <h3>Class Attributes</h3>
58
50 <table> 59 <table>
51 <tr><td>None</td></tr> 60 <tr><td>None</td></tr>
52 </table> 61 </table>
53 <h3>Class Methods</h3> 62 <h3>Class Methods</h3>
63
54 <table> 64 <table>
55 <tr><td>None</td></tr> 65 <tr><td>None</td></tr>
56 </table> 66 </table>
57 <h3>Methods</h3> 67 <h3>Methods</h3>
58 <table> 68
69 <table>
70
59 <tr> 71 <tr>
60 <td><a href="#DataUriEncoderWizardDialog.__init__">DataUriEncoderWizardDialog</a></td> 72 <td><a href="#DataUriEncoderWizardDialog.__init__">DataUriEncoderWizardDialog</a></td>
61 <td>Constructor</td> 73 <td>Constructor</td>
62 </tr><tr> 74 </tr>
75 <tr>
63 <td><a href="#DataUriEncoderWizardDialog.__askMime">__askMime</a></td> 76 <td><a href="#DataUriEncoderWizardDialog.__askMime">__askMime</a></td>
64 <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>
65 </tr><tr> 78 </tr>
79 <tr>
66 <td><a href="#DataUriEncoderWizardDialog.__getStartDir">__getStartDir</a></td> 80 <td><a href="#DataUriEncoderWizardDialog.__getStartDir">__getStartDir</a></td>
67 <td>Private method to get the start directory for selection dialogs.</td> 81 <td>Private method to get the start directory for selection dialogs.</td>
68 </tr><tr> 82 </tr>
83 <tr>
69 <td><a href="#DataUriEncoderWizardDialog.getCode">getCode</a></td> 84 <td><a href="#DataUriEncoderWizardDialog.getCode">getCode</a></td>
70 <td>Public method to get the code.</td> 85 <td>Public method to get the code.</td>
71 </tr><tr> 86 </tr>
87 <tr>
72 <td><a href="#DataUriEncoderWizardDialog.on_copyButton_clicked">on_copyButton_clicked</a></td> 88 <td><a href="#DataUriEncoderWizardDialog.on_copyButton_clicked">on_copyButton_clicked</a></td>
73 <td>Private slot to copy the output to the clipboard.</td> 89 <td>Private slot to copy the output to the clipboard.</td>
74 </tr><tr> 90 </tr>
91 <tr>
75 <td><a href="#DataUriEncoderWizardDialog.on_embeddingComboBox_currentIndexChanged">on_embeddingComboBox_currentIndexChanged</a></td> 92 <td><a href="#DataUriEncoderWizardDialog.on_embeddingComboBox_currentIndexChanged">on_embeddingComboBox_currentIndexChanged</a></td>
76 <td>Private slot to handle the selection of an embedding method.</td> 93 <td>Private slot to handle the selection of an embedding method.</td>
77 </tr><tr> 94 </tr>
95 <tr>
78 <td><a href="#DataUriEncoderWizardDialog.on_encodeButton_clicked">on_encodeButton_clicked</a></td> 96 <td><a href="#DataUriEncoderWizardDialog.on_encodeButton_clicked">on_encodeButton_clicked</a></td>
79 <td>Private slot to encode the contents of the given file.</td> 97 <td>Private slot to encode the contents of the given file.</td>
80 </tr><tr> 98 </tr>
99 <tr>
81 <td><a href="#DataUriEncoderWizardDialog.on_fileButton_clicked">on_fileButton_clicked</a></td> 100 <td><a href="#DataUriEncoderWizardDialog.on_fileButton_clicked">on_fileButton_clicked</a></td>
82 <td>Private slot to select the file to be encoded via a selection dialog.</td> 101 <td>Private slot to select the file to be encoded via a selection dialog.</td>
83 </tr><tr> 102 </tr>
103 <tr>
84 <td><a href="#DataUriEncoderWizardDialog.on_fileEdit_textChanged">on_fileEdit_textChanged</a></td> 104 <td><a href="#DataUriEncoderWizardDialog.on_fileEdit_textChanged">on_fileEdit_textChanged</a></td>
85 <td>Private slot to handle the editing of the file name.</td> 105 <td>Private slot to handle the editing of the file name.</td>
86 </tr><tr> 106 </tr>
107 <tr>
87 <td><a href="#DataUriEncoderWizardDialog.on_outputTextEdit_textChanged">on_outputTextEdit_textChanged</a></td> 108 <td><a href="#DataUriEncoderWizardDialog.on_outputTextEdit_textChanged">on_outputTextEdit_textChanged</a></td>
88 <td>Private slot to handle the existence of some output text.</td> 109 <td>Private slot to handle the existence of some output text.</td>
89 </tr> 110 </tr>
90 </table> 111 </table>
91 <h3>Static Methods</h3> 112 <h3>Static Methods</h3>
92 <table> 113
93 <tr><td>None</td></tr> 114 <table>
94 </table> 115 <tr><td>None</td></tr>
116 </table>
117
95 <a NAME="DataUriEncoderWizardDialog.__init__" ID="DataUriEncoderWizardDialog.__init__"></a> 118 <a NAME="DataUriEncoderWizardDialog.__init__" ID="DataUriEncoderWizardDialog.__init__"></a>
96 <h4>DataUriEncoderWizardDialog (Constructor)</h4> 119 <h4>DataUriEncoderWizardDialog (Constructor)</h4>
97 <b>DataUriEncoderWizardDialog</b>(<i>parent=None</i>) 120 <b>DataUriEncoderWizardDialog</b>(<i>parent=None</i>)
121
98 <p> 122 <p>
99 Constructor 123 Constructor
100 </p><dl> 124 </p>
125 <dl>
126
101 <dt><i>parent</i></dt> 127 <dt><i>parent</i></dt>
102 <dd> 128 <dd>
103 reference to the parent widget (QWidget) 129 reference to the parent widget (QWidget)
104 </dd> 130 </dd>
105 </dl><a NAME="DataUriEncoderWizardDialog.__askMime" ID="DataUriEncoderWizardDialog.__askMime"></a> 131 </dl>
132 <a NAME="DataUriEncoderWizardDialog.__askMime" ID="DataUriEncoderWizardDialog.__askMime"></a>
106 <h4>DataUriEncoderWizardDialog.__askMime</h4> 133 <h4>DataUriEncoderWizardDialog.__askMime</h4>
107 <b>__askMime</b>(<i></i>) 134 <b>__askMime</b>(<i></i>)
135
108 <p> 136 <p>
109 Private method to get the mime type from the user. 137 Private method to get the mime type from the user.
110 </p><dl> 138 </p>
139 <dl>
111 <dt>Returns:</dt> 140 <dt>Returns:</dt>
112 <dd> 141 <dd>
113 entered mime type (string) 142 entered mime type (string)
114 </dd> 143 </dd>
115 </dl><a NAME="DataUriEncoderWizardDialog.__getStartDir" ID="DataUriEncoderWizardDialog.__getStartDir"></a> 144 </dl>
145 <a NAME="DataUriEncoderWizardDialog.__getStartDir" ID="DataUriEncoderWizardDialog.__getStartDir"></a>
116 <h4>DataUriEncoderWizardDialog.__getStartDir</h4> 146 <h4>DataUriEncoderWizardDialog.__getStartDir</h4>
117 <b>__getStartDir</b>(<i></i>) 147 <b>__getStartDir</b>(<i></i>)
148
118 <p> 149 <p>
119 Private method to get the start directory for selection dialogs. 150 Private method to get the start directory for selection dialogs.
120 </p><dl> 151 </p>
152 <dl>
121 <dt>Returns:</dt> 153 <dt>Returns:</dt>
122 <dd> 154 <dd>
123 start directory (string) 155 start directory (string)
124 </dd> 156 </dd>
125 </dl><a NAME="DataUriEncoderWizardDialog.getCode" ID="DataUriEncoderWizardDialog.getCode"></a> 157 </dl>
158 <a NAME="DataUriEncoderWizardDialog.getCode" ID="DataUriEncoderWizardDialog.getCode"></a>
126 <h4>DataUriEncoderWizardDialog.getCode</h4> 159 <h4>DataUriEncoderWizardDialog.getCode</h4>
127 <b>getCode</b>(<i></i>) 160 <b>getCode</b>(<i></i>)
161
128 <p> 162 <p>
129 Public method to get the code. 163 Public method to get the code.
130 </p><dl> 164 </p>
165 <dl>
131 <dt>Returns:</dt> 166 <dt>Returns:</dt>
132 <dd> 167 <dd>
133 generated code (string) 168 generated code (string)
134 </dd> 169 </dd>
135 </dl><a NAME="DataUriEncoderWizardDialog.on_copyButton_clicked" ID="DataUriEncoderWizardDialog.on_copyButton_clicked"></a> 170 </dl>
171 <a NAME="DataUriEncoderWizardDialog.on_copyButton_clicked" ID="DataUriEncoderWizardDialog.on_copyButton_clicked"></a>
136 <h4>DataUriEncoderWizardDialog.on_copyButton_clicked</h4> 172 <h4>DataUriEncoderWizardDialog.on_copyButton_clicked</h4>
137 <b>on_copyButton_clicked</b>(<i></i>) 173 <b>on_copyButton_clicked</b>(<i></i>)
174
138 <p> 175 <p>
139 Private slot to copy the output to the clipboard. 176 Private slot to copy the output to the clipboard.
140 </p><a NAME="DataUriEncoderWizardDialog.on_embeddingComboBox_currentIndexChanged" ID="DataUriEncoderWizardDialog.on_embeddingComboBox_currentIndexChanged"></a> 177 </p>
178 <a NAME="DataUriEncoderWizardDialog.on_embeddingComboBox_currentIndexChanged" ID="DataUriEncoderWizardDialog.on_embeddingComboBox_currentIndexChanged"></a>
141 <h4>DataUriEncoderWizardDialog.on_embeddingComboBox_currentIndexChanged</h4> 179 <h4>DataUriEncoderWizardDialog.on_embeddingComboBox_currentIndexChanged</h4>
142 <b>on_embeddingComboBox_currentIndexChanged</b>(<i>index</i>) 180 <b>on_embeddingComboBox_currentIndexChanged</b>(<i>index</i>)
181
143 <p> 182 <p>
144 Private slot to handle the selection of an embedding method. 183 Private slot to handle the selection of an embedding method.
145 </p><dl> 184 </p>
185 <dl>
186
146 <dt><i>index</i></dt> 187 <dt><i>index</i></dt>
147 <dd> 188 <dd>
148 index of the selected entry (integer) 189 index of the selected entry (integer)
149 </dd> 190 </dd>
150 </dl><a NAME="DataUriEncoderWizardDialog.on_encodeButton_clicked" ID="DataUriEncoderWizardDialog.on_encodeButton_clicked"></a> 191 </dl>
192 <a NAME="DataUriEncoderWizardDialog.on_encodeButton_clicked" ID="DataUriEncoderWizardDialog.on_encodeButton_clicked"></a>
151 <h4>DataUriEncoderWizardDialog.on_encodeButton_clicked</h4> 193 <h4>DataUriEncoderWizardDialog.on_encodeButton_clicked</h4>
152 <b>on_encodeButton_clicked</b>(<i></i>) 194 <b>on_encodeButton_clicked</b>(<i></i>)
195
153 <p> 196 <p>
154 Private slot to encode the contents of the given file. 197 Private slot to encode the contents of the given file.
155 </p><a NAME="DataUriEncoderWizardDialog.on_fileButton_clicked" ID="DataUriEncoderWizardDialog.on_fileButton_clicked"></a> 198 </p>
199 <a NAME="DataUriEncoderWizardDialog.on_fileButton_clicked" ID="DataUriEncoderWizardDialog.on_fileButton_clicked"></a>
156 <h4>DataUriEncoderWizardDialog.on_fileButton_clicked</h4> 200 <h4>DataUriEncoderWizardDialog.on_fileButton_clicked</h4>
157 <b>on_fileButton_clicked</b>(<i></i>) 201 <b>on_fileButton_clicked</b>(<i></i>)
202
158 <p> 203 <p>
159 Private slot to select the file to be encoded via a selection dialog. 204 Private slot to select the file to be encoded via a selection dialog.
160 </p><a NAME="DataUriEncoderWizardDialog.on_fileEdit_textChanged" ID="DataUriEncoderWizardDialog.on_fileEdit_textChanged"></a> 205 </p>
206 <a NAME="DataUriEncoderWizardDialog.on_fileEdit_textChanged" ID="DataUriEncoderWizardDialog.on_fileEdit_textChanged"></a>
161 <h4>DataUriEncoderWizardDialog.on_fileEdit_textChanged</h4> 207 <h4>DataUriEncoderWizardDialog.on_fileEdit_textChanged</h4>
162 <b>on_fileEdit_textChanged</b>(<i>txt</i>) 208 <b>on_fileEdit_textChanged</b>(<i>txt</i>)
209
163 <p> 210 <p>
164 Private slot to handle the editing of the file name. 211 Private slot to handle the editing of the file name.
165 </p><dl> 212 </p>
213 <dl>
214
166 <dt><i>txt</i></dt> 215 <dt><i>txt</i></dt>
167 <dd> 216 <dd>
168 current file name (string) 217 current file name (string)
169 </dd> 218 </dd>
170 </dl><a NAME="DataUriEncoderWizardDialog.on_outputTextEdit_textChanged" ID="DataUriEncoderWizardDialog.on_outputTextEdit_textChanged"></a> 219 </dl>
220 <a NAME="DataUriEncoderWizardDialog.on_outputTextEdit_textChanged" ID="DataUriEncoderWizardDialog.on_outputTextEdit_textChanged"></a>
171 <h4>DataUriEncoderWizardDialog.on_outputTextEdit_textChanged</h4> 221 <h4>DataUriEncoderWizardDialog.on_outputTextEdit_textChanged</h4>
172 <b>on_outputTextEdit_textChanged</b>(<i></i>) 222 <b>on_outputTextEdit_textChanged</b>(<i></i>)
223
173 <p> 224 <p>
174 Private slot to handle the existence of some output text. 225 Private slot to handle the existence of some output text.
175 </p> 226 </p>
176 <div align="right"><a href="#top">Up</a></div> 227 <div align="right"><a href="#top">Up</a></div>
177 <hr /> 228 <hr />

eric ide

mercurial