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

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

eric ide

mercurial