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

changeset 7273
391d6b7b1eff
parent 7232
0b840f7ed593
child 7635
0cdead130a81
equal deleted inserted replaced
7272:1779dc278077 7273:391d6b7b1eff
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>eric6.Plugins.WizardPlugins.FileDialogWizard.FileDialogWizardDialog</h1> 23 <h1>eric6.Plugins.WizardPlugins.FileDialogWizard.FileDialogWizardDialog</h1>
24
23 <p> 25 <p>
24 Module implementing the file dialog wizard dialog. 26 Module implementing the file dialog wizard dialog.
25 </p> 27 </p>
26 <h3>Global Attributes</h3> 28 <h3>Global Attributes</h3>
29
27 <table> 30 <table>
28 <tr><td>None</td></tr> 31 <tr><td>None</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="#FileDialogWizardDialog">FileDialogWizardDialog</a></td> 38 <td><a href="#FileDialogWizardDialog">FileDialogWizardDialog</a></td>
34 <td>Class implementing the color dialog wizard dialog.</td> 39 <td>Class implementing the color dialog 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="FileDialogWizardDialog" ID="FileDialogWizardDialog"></a> 49 <a NAME="FileDialogWizardDialog" ID="FileDialogWizardDialog"></a>
43 <h2>FileDialogWizardDialog</h2> 50 <h2>FileDialogWizardDialog</h2>
51
44 <p> 52 <p>
45 Class implementing the color dialog wizard dialog. 53 Class implementing the color dialog wizard dialog.
46 </p><p> 54 </p>
55 <p>
47 It displays a dialog for entering the parameters for the 56 It displays a dialog for entering the parameters for the
48 E5FileDialog or QFileDialog code generator. 57 E5FileDialog or QFileDialog code generator.
49 </p> 58 </p>
50 <h3>Derived from</h3> 59 <h3>Derived from</h3>
51 QDialog, Ui_FileDialogWizardDialog 60 QDialog, Ui_FileDialogWizardDialog
52 <h3>Class Attributes</h3> 61 <h3>Class Attributes</h3>
62
53 <table> 63 <table>
54 <tr><td>None</td></tr> 64 <tr><td>None</td></tr>
55 </table> 65 </table>
56 <h3>Class Methods</h3> 66 <h3>Class Methods</h3>
67
57 <table> 68 <table>
58 <tr><td>None</td></tr> 69 <tr><td>None</td></tr>
59 </table> 70 </table>
60 <h3>Methods</h3> 71 <h3>Methods</h3>
61 <table> 72
73 <table>
74
62 <tr> 75 <tr>
63 <td><a href="#FileDialogWizardDialog.__init__">FileDialogWizardDialog</a></td> 76 <td><a href="#FileDialogWizardDialog.__init__">FileDialogWizardDialog</a></td>
64 <td>Constructor</td> 77 <td>Constructor</td>
65 </tr><tr> 78 </tr>
79 <tr>
66 <td><a href="#FileDialogWizardDialog.__adjustOptions">__adjustOptions</a></td> 80 <td><a href="#FileDialogWizardDialog.__adjustOptions">__adjustOptions</a></td>
67 <td>Private method to adjust the file dialog options.</td> 81 <td>Private method to adjust the file dialog options.</td>
68 </tr><tr> 82 </tr>
83 <tr>
69 <td><a href="#FileDialogWizardDialog.__prepareSchemesList">__prepareSchemesList</a></td> 84 <td><a href="#FileDialogWizardDialog.__prepareSchemesList">__prepareSchemesList</a></td>
70 <td>Private method to prepare the list of supported schemes.</td> 85 <td>Private method to prepare the list of supported schemes.</td>
71 </tr><tr> 86 </tr>
87 <tr>
72 <td><a href="#FileDialogWizardDialog.__toggleConfirmCheckBox">__toggleConfirmCheckBox</a></td> 88 <td><a href="#FileDialogWizardDialog.__toggleConfirmCheckBox">__toggleConfirmCheckBox</a></td>
73 <td>Private slot to enable/disable the confirmation check box.</td> 89 <td>Private slot to enable/disable the confirmation check box.</td>
74 </tr><tr> 90 </tr>
91 <tr>
75 <td><a href="#FileDialogWizardDialog.__toggleGroupsAndTest">__toggleGroupsAndTest</a></td> 92 <td><a href="#FileDialogWizardDialog.__toggleGroupsAndTest">__toggleGroupsAndTest</a></td>
76 <td>Private slot to enable/disable certain groups and the test button.</td> 93 <td>Private slot to enable/disable certain groups and the test button.</td>
77 </tr><tr> 94 </tr>
95 <tr>
78 <td><a href="#FileDialogWizardDialog.__toggleInitialFilterAndResult">__toggleInitialFilterAndResult</a></td> 96 <td><a href="#FileDialogWizardDialog.__toggleInitialFilterAndResult">__toggleInitialFilterAndResult</a></td>
79 <td>Private slot to enable/disable the initial filter elements and the results entries.</td> 97 <td>Private slot to enable/disable the initial filter elements and the results entries.</td>
80 </tr><tr> 98 </tr>
99 <tr>
81 <td><a href="#FileDialogWizardDialog.getCode">getCode</a></td> 100 <td><a href="#FileDialogWizardDialog.getCode">getCode</a></td>
82 <td>Public method to get the source code for Qt4 and Qt5.</td> 101 <td>Public method to get the source code for Qt4 and Qt5.</td>
83 </tr><tr> 102 </tr>
103 <tr>
84 <td><a href="#FileDialogWizardDialog.on_bTest_clicked">on_bTest_clicked</a></td> 104 <td><a href="#FileDialogWizardDialog.on_bTest_clicked">on_bTest_clicked</a></td>
85 <td>Private method to test the selected options.</td> 105 <td>Private method to test the selected options.</td>
86 </tr><tr> 106 </tr>
107 <tr>
87 <td><a href="#FileDialogWizardDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> 108 <td><a href="#FileDialogWizardDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td>
88 <td>Private slot called by a button of the button box clicked.</td> 109 <td>Private slot called by a button of the button box clicked.</td>
89 </tr><tr> 110 </tr>
111 <tr>
90 <td><a href="#FileDialogWizardDialog.on_pyqtComboBox_currentIndexChanged">on_pyqtComboBox_currentIndexChanged</a></td> 112 <td><a href="#FileDialogWizardDialog.on_pyqtComboBox_currentIndexChanged">on_pyqtComboBox_currentIndexChanged</a></td>
91 <td>Private slot to setup the dialog for the selected PyQt variant.</td> 113 <td>Private slot to setup the dialog for the selected PyQt variant.</td>
92 </tr> 114 </tr>
93 </table> 115 </table>
94 <h3>Static Methods</h3> 116 <h3>Static Methods</h3>
95 <table> 117
96 <tr><td>None</td></tr> 118 <table>
97 </table> 119 <tr><td>None</td></tr>
120 </table>
121
98 <a NAME="FileDialogWizardDialog.__init__" ID="FileDialogWizardDialog.__init__"></a> 122 <a NAME="FileDialogWizardDialog.__init__" ID="FileDialogWizardDialog.__init__"></a>
99 <h4>FileDialogWizardDialog (Constructor)</h4> 123 <h4>FileDialogWizardDialog (Constructor)</h4>
100 <b>FileDialogWizardDialog</b>(<i>dialogVariant, parent=None</i>) 124 <b>FileDialogWizardDialog</b>(<i>dialogVariant, parent=None</i>)
125
101 <p> 126 <p>
102 Constructor 127 Constructor
103 </p><dl> 128 </p>
129 <dl>
130
104 <dt><i>dialogVariant</i> (int)</dt> 131 <dt><i>dialogVariant</i> (int)</dt>
105 <dd> 132 <dd>
106 variant of the file dialog to be generated 133 variant of the file dialog to be generated
107 (-1 = E5FileDialog, 0 = unknown, 4 = PyQt4, 5 = PyQt5) 134 (-1 = E5FileDialog, 0 = unknown, 4 = PyQt4, 5 = PyQt5)
108 </dd><dt><i>parent</i> (QWidget)</dt> 135 </dd>
136 <dt><i>parent</i> (QWidget)</dt>
109 <dd> 137 <dd>
110 parent widget 138 parent widget
111 </dd> 139 </dd>
112 </dl><a NAME="FileDialogWizardDialog.__adjustOptions" ID="FileDialogWizardDialog.__adjustOptions"></a> 140 </dl>
141 <a NAME="FileDialogWizardDialog.__adjustOptions" ID="FileDialogWizardDialog.__adjustOptions"></a>
113 <h4>FileDialogWizardDialog.__adjustOptions</h4> 142 <h4>FileDialogWizardDialog.__adjustOptions</h4>
114 <b>__adjustOptions</b>(<i>options</i>) 143 <b>__adjustOptions</b>(<i>options</i>)
144
115 <p> 145 <p>
116 Private method to adjust the file dialog options. 146 Private method to adjust the file dialog options.
117 </p><dl> 147 </p>
148 <dl>
149
118 <dt><i>options</i></dt> 150 <dt><i>options</i></dt>
119 <dd> 151 <dd>
120 file dialog options (QFileDialog.Options) 152 file dialog options (QFileDialog.Options)
121 </dd> 153 </dd>
122 </dl><dl> 154 </dl>
155 <dl>
123 <dt>Returns:</dt> 156 <dt>Returns:</dt>
124 <dd> 157 <dd>
125 modified options (QFileDialog.Options) 158 modified options (QFileDialog.Options)
126 </dd> 159 </dd>
127 </dl><a NAME="FileDialogWizardDialog.__prepareSchemesList" ID="FileDialogWizardDialog.__prepareSchemesList"></a> 160 </dl>
161 <a NAME="FileDialogWizardDialog.__prepareSchemesList" ID="FileDialogWizardDialog.__prepareSchemesList"></a>
128 <h4>FileDialogWizardDialog.__prepareSchemesList</h4> 162 <h4>FileDialogWizardDialog.__prepareSchemesList</h4>
129 <b>__prepareSchemesList</b>(<i></i>) 163 <b>__prepareSchemesList</b>(<i></i>)
164
130 <p> 165 <p>
131 Private method to prepare the list of supported schemes. 166 Private method to prepare the list of supported schemes.
132 </p><dl> 167 </p>
168 <dl>
133 <dt>Returns:</dt> 169 <dt>Returns:</dt>
134 <dd> 170 <dd>
135 string representation of the supported schemes 171 string representation of the supported schemes
136 </dd> 172 </dd>
137 </dl><dl> 173 </dl>
174 <dl>
138 <dt>Return Type:</dt> 175 <dt>Return Type:</dt>
139 <dd> 176 <dd>
140 str 177 str
141 </dd> 178 </dd>
142 </dl><a NAME="FileDialogWizardDialog.__toggleConfirmCheckBox" ID="FileDialogWizardDialog.__toggleConfirmCheckBox"></a> 179 </dl>
180 <a NAME="FileDialogWizardDialog.__toggleConfirmCheckBox" ID="FileDialogWizardDialog.__toggleConfirmCheckBox"></a>
143 <h4>FileDialogWizardDialog.__toggleConfirmCheckBox</h4> 181 <h4>FileDialogWizardDialog.__toggleConfirmCheckBox</h4>
144 <b>__toggleConfirmCheckBox</b>(<i></i>) 182 <b>__toggleConfirmCheckBox</b>(<i></i>)
183
145 <p> 184 <p>
146 Private slot to enable/disable the confirmation check box. 185 Private slot to enable/disable the confirmation check box.
147 </p><a NAME="FileDialogWizardDialog.__toggleGroupsAndTest" ID="FileDialogWizardDialog.__toggleGroupsAndTest"></a> 186 </p>
187 <a NAME="FileDialogWizardDialog.__toggleGroupsAndTest" ID="FileDialogWizardDialog.__toggleGroupsAndTest"></a>
148 <h4>FileDialogWizardDialog.__toggleGroupsAndTest</h4> 188 <h4>FileDialogWizardDialog.__toggleGroupsAndTest</h4>
149 <b>__toggleGroupsAndTest</b>(<i></i>) 189 <b>__toggleGroupsAndTest</b>(<i></i>)
190
150 <p> 191 <p>
151 Private slot to enable/disable certain groups and the test button. 192 Private slot to enable/disable certain groups and the test button.
152 </p><a NAME="FileDialogWizardDialog.__toggleInitialFilterAndResult" ID="FileDialogWizardDialog.__toggleInitialFilterAndResult"></a> 193 </p>
194 <a NAME="FileDialogWizardDialog.__toggleInitialFilterAndResult" ID="FileDialogWizardDialog.__toggleInitialFilterAndResult"></a>
153 <h4>FileDialogWizardDialog.__toggleInitialFilterAndResult</h4> 195 <h4>FileDialogWizardDialog.__toggleInitialFilterAndResult</h4>
154 <b>__toggleInitialFilterAndResult</b>(<i>checkedId</i>) 196 <b>__toggleInitialFilterAndResult</b>(<i>checkedId</i>)
197
155 <p> 198 <p>
156 Private slot to enable/disable the initial filter elements and the 199 Private slot to enable/disable the initial filter elements and the
157 results entries. 200 results entries.
158 </p><dl> 201 </p>
202 <dl>
203
159 <dt><i>checkedId</i></dt> 204 <dt><i>checkedId</i></dt>
160 <dd> 205 <dd>
161 id of the clicked button (integer) 206 id of the clicked button (integer)
162 </dd> 207 </dd>
163 </dl><a NAME="FileDialogWizardDialog.getCode" ID="FileDialogWizardDialog.getCode"></a> 208 </dl>
209 <a NAME="FileDialogWizardDialog.getCode" ID="FileDialogWizardDialog.getCode"></a>
164 <h4>FileDialogWizardDialog.getCode</h4> 210 <h4>FileDialogWizardDialog.getCode</h4>
165 <b>getCode</b>(<i>indLevel, indString</i>) 211 <b>getCode</b>(<i>indLevel, indString</i>)
212
166 <p> 213 <p>
167 Public method to get the source code for Qt4 and Qt5. 214 Public method to get the source code for Qt4 and Qt5.
168 </p><dl> 215 </p>
216 <dl>
217
169 <dt><i>indLevel</i></dt> 218 <dt><i>indLevel</i></dt>
170 <dd> 219 <dd>
171 indentation level (int) 220 indentation level (int)
172 </dd><dt><i>indString</i></dt> 221 </dd>
222 <dt><i>indString</i></dt>
173 <dd> 223 <dd>
174 string used for indentation (space or tab) (string) 224 string used for indentation (space or tab) (string)
175 </dd> 225 </dd>
176 </dl><dl> 226 </dl>
227 <dl>
177 <dt>Returns:</dt> 228 <dt>Returns:</dt>
178 <dd> 229 <dd>
179 generated code (string) 230 generated code (string)
180 </dd> 231 </dd>
181 </dl><a NAME="FileDialogWizardDialog.on_bTest_clicked" ID="FileDialogWizardDialog.on_bTest_clicked"></a> 232 </dl>
233 <a NAME="FileDialogWizardDialog.on_bTest_clicked" ID="FileDialogWizardDialog.on_bTest_clicked"></a>
182 <h4>FileDialogWizardDialog.on_bTest_clicked</h4> 234 <h4>FileDialogWizardDialog.on_bTest_clicked</h4>
183 <b>on_bTest_clicked</b>(<i></i>) 235 <b>on_bTest_clicked</b>(<i></i>)
236
184 <p> 237 <p>
185 Private method to test the selected options. 238 Private method to test the selected options.
186 </p><a NAME="FileDialogWizardDialog.on_buttonBox_clicked" ID="FileDialogWizardDialog.on_buttonBox_clicked"></a> 239 </p>
240 <a NAME="FileDialogWizardDialog.on_buttonBox_clicked" ID="FileDialogWizardDialog.on_buttonBox_clicked"></a>
187 <h4>FileDialogWizardDialog.on_buttonBox_clicked</h4> 241 <h4>FileDialogWizardDialog.on_buttonBox_clicked</h4>
188 <b>on_buttonBox_clicked</b>(<i>button</i>) 242 <b>on_buttonBox_clicked</b>(<i>button</i>)
243
189 <p> 244 <p>
190 Private slot called by a button of the button box clicked. 245 Private slot called by a button of the button box clicked.
191 </p><dl> 246 </p>
247 <dl>
248
192 <dt><i>button</i></dt> 249 <dt><i>button</i></dt>
193 <dd> 250 <dd>
194 button that was clicked (QAbstractButton) 251 button that was clicked (QAbstractButton)
195 </dd> 252 </dd>
196 </dl><a NAME="FileDialogWizardDialog.on_pyqtComboBox_currentIndexChanged" ID="FileDialogWizardDialog.on_pyqtComboBox_currentIndexChanged"></a> 253 </dl>
254 <a NAME="FileDialogWizardDialog.on_pyqtComboBox_currentIndexChanged" ID="FileDialogWizardDialog.on_pyqtComboBox_currentIndexChanged"></a>
197 <h4>FileDialogWizardDialog.on_pyqtComboBox_currentIndexChanged</h4> 255 <h4>FileDialogWizardDialog.on_pyqtComboBox_currentIndexChanged</h4>
198 <b>on_pyqtComboBox_currentIndexChanged</b>(<i>txt</i>) 256 <b>on_pyqtComboBox_currentIndexChanged</b>(<i>txt</i>)
257
199 <p> 258 <p>
200 Private slot to setup the dialog for the selected PyQt variant. 259 Private slot to setup the dialog for the selected PyQt variant.
201 </p><dl> 260 </p>
261 <dl>
262
202 <dt><i>txt</i></dt> 263 <dt><i>txt</i></dt>
203 <dd> 264 <dd>
204 text of the selected combo box entry (string) 265 text of the selected combo box entry (string)
205 </dd> 266 </dd>
206 </dl> 267 </dl>

eric ide

mercurial