eric7/Documentation/Source/eric7.Plugins.WizardPlugins.FileDialogWizard.FileDialogWizardDialog.html

branch
eric7
changeset 8372
e0227a7c850e
child 8465
59bb8fdeef1b
equal deleted inserted replaced
8371:d6062691d424 8372:e0227a7c850e
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.Plugins.WizardPlugins.FileDialogWizard.FileDialogWizardDialog</title>
4 <meta charset="UTF-8">
5 <style>
6 body {
7 background: #EDECE6;
8 margin: 0em 1em 10em 1em;
9 color: black;
10 }
11
12 h1 { color: white; background: #85774A; }
13 h2 { color: white; background: #85774A; }
14 h3 { color: white; background: #9D936E; }
15 h4 { color: white; background: #9D936E; }
16
17 a { color: #BA6D36; }
18
19 </style>
20 </head>
21 <body>
22 <a NAME="top" ID="top"></a>
23 <h1>eric7.Plugins.WizardPlugins.FileDialogWizard.FileDialogWizardDialog</h1>
24
25 <p>
26 Module implementing the file dialog wizard dialog.
27 </p>
28 <h3>Global Attributes</h3>
29
30 <table>
31 <tr><td>None</td></tr>
32 </table>
33 <h3>Classes</h3>
34
35 <table>
36
37 <tr>
38 <td><a href="#FileDialogWizardDialog">FileDialogWizardDialog</a></td>
39 <td>Class implementing the color dialog wizard dialog.</td>
40 </tr>
41 </table>
42 <h3>Functions</h3>
43
44 <table>
45 <tr><td>None</td></tr>
46 </table>
47 <hr />
48 <hr />
49 <a NAME="FileDialogWizardDialog" ID="FileDialogWizardDialog"></a>
50 <h2>FileDialogWizardDialog</h2>
51
52 <p>
53 Class implementing the color dialog wizard dialog.
54 </p>
55 <p>
56 It displays a dialog for entering the parameters for the
57 EricFileDialog or QFileDialog code generator.
58 </p>
59 <h3>Derived from</h3>
60 QDialog, Ui_FileDialogWizardDialog
61 <h3>Class Attributes</h3>
62
63 <table>
64 <tr><td>None</td></tr>
65 </table>
66 <h3>Class Methods</h3>
67
68 <table>
69 <tr><td>None</td></tr>
70 </table>
71 <h3>Methods</h3>
72
73 <table>
74
75 <tr>
76 <td><a href="#FileDialogWizardDialog.__init__">FileDialogWizardDialog</a></td>
77 <td>Constructor</td>
78 </tr>
79 <tr>
80 <td><a href="#FileDialogWizardDialog.__adjustOptions">__adjustOptions</a></td>
81 <td>Private method to adjust the file dialog options.</td>
82 </tr>
83 <tr>
84 <td><a href="#FileDialogWizardDialog.__prepareSchemesList">__prepareSchemesList</a></td>
85 <td>Private method to prepare the list of supported schemes.</td>
86 </tr>
87 <tr>
88 <td><a href="#FileDialogWizardDialog.__toggleConfirmCheckBox">__toggleConfirmCheckBox</a></td>
89 <td>Private slot to enable/disable the confirmation check box.</td>
90 </tr>
91 <tr>
92 <td><a href="#FileDialogWizardDialog.__toggleGroupsAndTest">__toggleGroupsAndTest</a></td>
93 <td>Private slot to enable/disable certain groups and the test button.</td>
94 </tr>
95 <tr>
96 <td><a href="#FileDialogWizardDialog.__toggleInitialFilterAndResult">__toggleInitialFilterAndResult</a></td>
97 <td>Private slot to enable/disable the initial filter elements and the results entries.</td>
98 </tr>
99 <tr>
100 <td><a href="#FileDialogWizardDialog.getCode">getCode</a></td>
101 <td>Public method to get the source code for Qt5.</td>
102 </tr>
103 <tr>
104 <td><a href="#FileDialogWizardDialog.on_bTest_clicked">on_bTest_clicked</a></td>
105 <td>Private method to test the selected options.</td>
106 </tr>
107 <tr>
108 <td><a href="#FileDialogWizardDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td>
109 <td>Private slot called by a button of the button box clicked.</td>
110 </tr>
111 <tr>
112 <td><a href="#FileDialogWizardDialog.on_pyqtComboBox_currentIndexChanged">on_pyqtComboBox_currentIndexChanged</a></td>
113 <td>Private slot to setup the dialog for the selected PyQt variant.</td>
114 </tr>
115 </table>
116 <h3>Static Methods</h3>
117
118 <table>
119 <tr><td>None</td></tr>
120 </table>
121
122 <a NAME="FileDialogWizardDialog.__init__" ID="FileDialogWizardDialog.__init__"></a>
123 <h4>FileDialogWizardDialog (Constructor)</h4>
124 <b>FileDialogWizardDialog</b>(<i>dialogVariant, parent=None</i>)
125
126 <p>
127 Constructor
128 </p>
129 <dl>
130
131 <dt><i>dialogVariant</i> (int)</dt>
132 <dd>
133 variant of the file dialog to be generated
134 (-1 = EricFileDialog, 0 = unknown, 5 = PyQt5)
135 </dd>
136 <dt><i>parent</i> (QWidget)</dt>
137 <dd>
138 parent widget
139 </dd>
140 </dl>
141 <a NAME="FileDialogWizardDialog.__adjustOptions" ID="FileDialogWizardDialog.__adjustOptions"></a>
142 <h4>FileDialogWizardDialog.__adjustOptions</h4>
143 <b>__adjustOptions</b>(<i>options</i>)
144
145 <p>
146 Private method to adjust the file dialog options.
147 </p>
148 <dl>
149
150 <dt><i>options</i></dt>
151 <dd>
152 file dialog options (QFileDialog.Option)
153 </dd>
154 </dl>
155 <dl>
156 <dt>Return:</dt>
157 <dd>
158 modified options (QFileDialog.Option)
159 </dd>
160 </dl>
161 <a NAME="FileDialogWizardDialog.__prepareSchemesList" ID="FileDialogWizardDialog.__prepareSchemesList"></a>
162 <h4>FileDialogWizardDialog.__prepareSchemesList</h4>
163 <b>__prepareSchemesList</b>(<i></i>)
164
165 <p>
166 Private method to prepare the list of supported schemes.
167 </p>
168 <dl>
169 <dt>Return:</dt>
170 <dd>
171 string representation of the supported schemes
172 </dd>
173 </dl>
174 <dl>
175 <dt>Return Type:</dt>
176 <dd>
177 str
178 </dd>
179 </dl>
180 <a NAME="FileDialogWizardDialog.__toggleConfirmCheckBox" ID="FileDialogWizardDialog.__toggleConfirmCheckBox"></a>
181 <h4>FileDialogWizardDialog.__toggleConfirmCheckBox</h4>
182 <b>__toggleConfirmCheckBox</b>(<i></i>)
183
184 <p>
185 Private slot to enable/disable the confirmation check box.
186 </p>
187 <a NAME="FileDialogWizardDialog.__toggleGroupsAndTest" ID="FileDialogWizardDialog.__toggleGroupsAndTest"></a>
188 <h4>FileDialogWizardDialog.__toggleGroupsAndTest</h4>
189 <b>__toggleGroupsAndTest</b>(<i></i>)
190
191 <p>
192 Private slot to enable/disable certain groups and the test button.
193 </p>
194 <a NAME="FileDialogWizardDialog.__toggleInitialFilterAndResult" ID="FileDialogWizardDialog.__toggleInitialFilterAndResult"></a>
195 <h4>FileDialogWizardDialog.__toggleInitialFilterAndResult</h4>
196 <b>__toggleInitialFilterAndResult</b>(<i>checkedId</i>)
197
198 <p>
199 Private slot to enable/disable the initial filter elements and the
200 results entries.
201 </p>
202 <dl>
203
204 <dt><i>checkedId</i></dt>
205 <dd>
206 id of the clicked button (integer)
207 </dd>
208 </dl>
209 <a NAME="FileDialogWizardDialog.getCode" ID="FileDialogWizardDialog.getCode"></a>
210 <h4>FileDialogWizardDialog.getCode</h4>
211 <b>getCode</b>(<i>indLevel, indString</i>)
212
213 <p>
214 Public method to get the source code for Qt5.
215 </p>
216 <dl>
217
218 <dt><i>indLevel</i></dt>
219 <dd>
220 indentation level (int)
221 </dd>
222 <dt><i>indString</i></dt>
223 <dd>
224 string used for indentation (space or tab) (string)
225 </dd>
226 </dl>
227 <dl>
228 <dt>Return:</dt>
229 <dd>
230 generated code (string)
231 </dd>
232 </dl>
233 <a NAME="FileDialogWizardDialog.on_bTest_clicked" ID="FileDialogWizardDialog.on_bTest_clicked"></a>
234 <h4>FileDialogWizardDialog.on_bTest_clicked</h4>
235 <b>on_bTest_clicked</b>(<i></i>)
236
237 <p>
238 Private method to test the selected options.
239 </p>
240 <a NAME="FileDialogWizardDialog.on_buttonBox_clicked" ID="FileDialogWizardDialog.on_buttonBox_clicked"></a>
241 <h4>FileDialogWizardDialog.on_buttonBox_clicked</h4>
242 <b>on_buttonBox_clicked</b>(<i>button</i>)
243
244 <p>
245 Private slot called by a button of the button box clicked.
246 </p>
247 <dl>
248
249 <dt><i>button</i></dt>
250 <dd>
251 button that was clicked (QAbstractButton)
252 </dd>
253 </dl>
254 <a NAME="FileDialogWizardDialog.on_pyqtComboBox_currentIndexChanged" ID="FileDialogWizardDialog.on_pyqtComboBox_currentIndexChanged"></a>
255 <h4>FileDialogWizardDialog.on_pyqtComboBox_currentIndexChanged</h4>
256 <b>on_pyqtComboBox_currentIndexChanged</b>(<i>index</i>)
257
258 <p>
259 Private slot to setup the dialog for the selected PyQt variant.
260 </p>
261 <dl>
262
263 <dt><i>index</i> (int)</dt>
264 <dd>
265 index of the current item
266 </dd>
267 </dl>
268 <div align="right"><a href="#top">Up</a></div>
269 <hr />
270 </body></html>

eric ide

mercurial