eric6/Documentation/Source/eric6.E5Gui.E5PathPicker.html

changeset 7273
391d6b7b1eff
parent 6942
2602857055c5
child 7631
2c7ccb4484bf
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.E5Gui.E5PathPicker</h1> 23 <h1>eric6.E5Gui.E5PathPicker</h1>
24
23 <p> 25 <p>
24 Module implementing a path picker widget. 26 Module implementing a path picker widget.
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="#E5ComboPathPicker">E5ComboPathPicker</a></td> 38 <td><a href="#E5ComboPathPicker">E5ComboPathPicker</a></td>
34 <td>Class implementing a path picker widget consisting of a combobox and a tool button to open a file dialog.</td> 39 <td>Class implementing a path picker widget consisting of a combobox and a tool button to open a file dialog.</td>
35 </tr><tr> 40 </tr>
41 <tr>
36 <td><a href="#E5PathPicker">E5PathPicker</a></td> 42 <td><a href="#E5PathPicker">E5PathPicker</a></td>
37 <td>Class implementing a path picker widget consisting of a line edit and a tool button to open a file dialog.</td> 43 <td>Class implementing a path picker widget consisting of a line edit and a tool button to open a file dialog.</td>
38 </tr><tr> 44 </tr>
45 <tr>
39 <td><a href="#E5PathPickerBase">E5PathPickerBase</a></td> 46 <td><a href="#E5PathPickerBase">E5PathPickerBase</a></td>
40 <td>Class implementing the base of a path picker widget consisting of a line edit or combo box and a tool button to open a file dialog.</td> 47 <td>Class implementing the base of a path picker widget consisting of a line edit or combo box and a tool button to open a file dialog.</td>
41 </tr><tr> 48 </tr>
49 <tr>
42 <td><a href="#E5PathPickerModes">E5PathPickerModes</a></td> 50 <td><a href="#E5PathPickerModes">E5PathPickerModes</a></td>
43 <td>Class implementing the path picker modes.</td> 51 <td>Class implementing the path picker modes.</td>
44 </tr> 52 </tr>
45 </table> 53 </table>
46 <h3>Functions</h3> 54 <h3>Functions</h3>
47 <table> 55
48 <tr><td>None</td></tr> 56 <table>
49 </table> 57 <tr><td>None</td></tr>
50 <hr /><hr /> 58 </table>
59 <hr />
60 <hr />
51 <a NAME="E5ComboPathPicker" ID="E5ComboPathPicker"></a> 61 <a NAME="E5ComboPathPicker" ID="E5ComboPathPicker"></a>
52 <h2>E5ComboPathPicker</h2> 62 <h2>E5ComboPathPicker</h2>
63
53 <p> 64 <p>
54 Class implementing a path picker widget consisting of a combobox and a 65 Class implementing a path picker widget consisting of a combobox and a
55 tool button to open a file dialog. 66 tool button to open a file dialog.
56 </p> 67 </p>
57 <h3>Derived from</h3> 68 <h3>Derived from</h3>
58 E5PathPickerBase 69 E5PathPickerBase
59 <h3>Class Attributes</h3> 70 <h3>Class Attributes</h3>
71
60 <table> 72 <table>
61 <tr><td>None</td></tr> 73 <tr><td>None</td></tr>
62 </table> 74 </table>
63 <h3>Class Methods</h3> 75 <h3>Class Methods</h3>
76
64 <table> 77 <table>
65 <tr><td>None</td></tr> 78 <tr><td>None</td></tr>
66 </table> 79 </table>
67 <h3>Methods</h3> 80 <h3>Methods</h3>
68 <table> 81
82 <table>
83
69 <tr> 84 <tr>
70 <td><a href="#E5ComboPathPicker.__init__">E5ComboPathPicker</a></td> 85 <td><a href="#E5ComboPathPicker.__init__">E5ComboPathPicker</a></td>
71 <td>Constructor</td> 86 <td>Constructor</td>
72 </tr><tr> 87 </tr>
88 <tr>
73 <td><a href="#E5ComboPathPicker.getPathItems">getPathItems</a></td> 89 <td><a href="#E5ComboPathPicker.getPathItems">getPathItems</a></td>
74 <td>Public method to get the list of remembered paths.</td> 90 <td>Public method to get the list of remembered paths.</td>
75 </tr> 91 </tr>
76 </table> 92 </table>
77 <h3>Static Methods</h3> 93 <h3>Static Methods</h3>
78 <table> 94
79 <tr><td>None</td></tr> 95 <table>
80 </table> 96 <tr><td>None</td></tr>
97 </table>
98
81 <a NAME="E5ComboPathPicker.__init__" ID="E5ComboPathPicker.__init__"></a> 99 <a NAME="E5ComboPathPicker.__init__" ID="E5ComboPathPicker.__init__"></a>
82 <h4>E5ComboPathPicker (Constructor)</h4> 100 <h4>E5ComboPathPicker (Constructor)</h4>
83 <b>E5ComboPathPicker</b>(<i>parent=None</i>) 101 <b>E5ComboPathPicker</b>(<i>parent=None</i>)
102
84 <p> 103 <p>
85 Constructor 104 Constructor
86 </p><dl> 105 </p>
106 <dl>
107
87 <dt><i>parent</i> (QWidget)</dt> 108 <dt><i>parent</i> (QWidget)</dt>
88 <dd> 109 <dd>
89 reference to the parent widget 110 reference to the parent widget
90 </dd> 111 </dd>
91 </dl><a NAME="E5ComboPathPicker.getPathItems" ID="E5ComboPathPicker.getPathItems"></a> 112 </dl>
113 <a NAME="E5ComboPathPicker.getPathItems" ID="E5ComboPathPicker.getPathItems"></a>
92 <h4>E5ComboPathPicker.getPathItems</h4> 114 <h4>E5ComboPathPicker.getPathItems</h4>
93 <b>getPathItems</b>(<i></i>) 115 <b>getPathItems</b>(<i></i>)
116
94 <p> 117 <p>
95 Public method to get the list of remembered paths. 118 Public method to get the list of remembered paths.
96 </p><dl> 119 </p>
120 <dl>
97 <dt>Returns:</dt> 121 <dt>Returns:</dt>
98 <dd> 122 <dd>
99 list od remembered paths 123 list od remembered paths
100 </dd> 124 </dd>
101 </dl><dl> 125 </dl>
126 <dl>
102 <dt>Return Type:</dt> 127 <dt>Return Type:</dt>
103 <dd> 128 <dd>
104 list of str 129 list of str
105 </dd> 130 </dd>
106 </dl> 131 </dl>
107 <div align="right"><a href="#top">Up</a></div> 132 <div align="right"><a href="#top">Up</a></div>
108 <hr /><hr /> 133 <hr />
134 <hr />
109 <a NAME="E5PathPicker" ID="E5PathPicker"></a> 135 <a NAME="E5PathPicker" ID="E5PathPicker"></a>
110 <h2>E5PathPicker</h2> 136 <h2>E5PathPicker</h2>
137
111 <p> 138 <p>
112 Class implementing a path picker widget consisting of a line edit and a 139 Class implementing a path picker widget consisting of a line edit and a
113 tool button to open a file dialog. 140 tool button to open a file dialog.
114 </p> 141 </p>
115 <h3>Derived from</h3> 142 <h3>Derived from</h3>
116 E5PathPickerBase 143 E5PathPickerBase
117 <h3>Class Attributes</h3> 144 <h3>Class Attributes</h3>
145
118 <table> 146 <table>
119 <tr><td>None</td></tr> 147 <tr><td>None</td></tr>
120 </table> 148 </table>
121 <h3>Class Methods</h3> 149 <h3>Class Methods</h3>
150
122 <table> 151 <table>
123 <tr><td>None</td></tr> 152 <tr><td>None</td></tr>
124 </table> 153 </table>
125 <h3>Methods</h3> 154 <h3>Methods</h3>
126 <table> 155
156 <table>
157
127 <tr> 158 <tr>
128 <td><a href="#E5PathPicker.__init__">E5PathPicker</a></td> 159 <td><a href="#E5PathPicker.__init__">E5PathPicker</a></td>
129 <td>Constructor</td> 160 <td>Constructor</td>
130 </tr> 161 </tr>
131 </table> 162 </table>
132 <h3>Static Methods</h3> 163 <h3>Static Methods</h3>
133 <table> 164
134 <tr><td>None</td></tr> 165 <table>
135 </table> 166 <tr><td>None</td></tr>
167 </table>
168
136 <a NAME="E5PathPicker.__init__" ID="E5PathPicker.__init__"></a> 169 <a NAME="E5PathPicker.__init__" ID="E5PathPicker.__init__"></a>
137 <h4>E5PathPicker (Constructor)</h4> 170 <h4>E5PathPicker (Constructor)</h4>
138 <b>E5PathPicker</b>(<i>parent=None</i>) 171 <b>E5PathPicker</b>(<i>parent=None</i>)
172
139 <p> 173 <p>
140 Constructor 174 Constructor
141 </p><dl> 175 </p>
176 <dl>
177
142 <dt><i>parent</i> (QWidget)</dt> 178 <dt><i>parent</i> (QWidget)</dt>
143 <dd> 179 <dd>
144 reference to the parent widget 180 reference to the parent widget
145 </dd> 181 </dd>
146 </dl> 182 </dl>
147 <div align="right"><a href="#top">Up</a></div> 183 <div align="right"><a href="#top">Up</a></div>
148 <hr /><hr /> 184 <hr />
185 <hr />
149 <a NAME="E5PathPickerBase" ID="E5PathPickerBase"></a> 186 <a NAME="E5PathPickerBase" ID="E5PathPickerBase"></a>
150 <h2>E5PathPickerBase</h2> 187 <h2>E5PathPickerBase</h2>
188
151 <p> 189 <p>
152 Class implementing the base of a path picker widget consisting of a 190 Class implementing the base of a path picker widget consisting of a
153 line edit or combo box and a tool button to open a file dialog. 191 line edit or combo box and a tool button to open a file dialog.
154 </p><h3>Signals</h3> 192 </p>
155 <dl> 193 <h3>Signals</h3>
194 <dl>
195
156 <dt>aboutToShowPathPickerDialog</dt> 196 <dt>aboutToShowPathPickerDialog</dt>
157 <dd> 197 <dd>
158 emitted before the file dialog is shown 198 emitted before the file dialog is shown
159 </dd><dt>editTextChanged(path)</dt> 199 </dd>
200 <dt>editTextChanged(path)</dt>
160 <dd> 201 <dd>
161 emitted when the entered path has changed 202 emitted when the entered path has changed
162 (combo box based widget) 203 (combo box based widget)
163 </dd><dt>pathSelected(path)</dt> 204 </dd>
205 <dt>pathSelected(path)</dt>
164 <dd> 206 <dd>
165 emitted after a path has been selected via the 207 emitted after a path has been selected via the
166 file dialog 208 file dialog
167 </dd><dt>pickerButtonClicked</dt> 209 </dd>
210 <dt>pickerButtonClicked</dt>
168 <dd> 211 <dd>
169 emitted when the picker button was pressed and 212 emitted when the picker button was pressed and
170 the widget mode is custom 213 the widget mode is custom
171 </dd><dt>textChanged(path)</dt> 214 </dd>
215 <dt>textChanged(path)</dt>
172 <dd> 216 <dd>
173 emitted when the entered path has changed 217 emitted when the entered path has changed
174 (line edit based widget) 218 (line edit based widget)
175 </dd> 219 </dd>
176 </dl> 220 </dl>
177 <h3>Derived from</h3> 221 <h3>Derived from</h3>
178 QWidget 222 QWidget
179 <h3>Class Attributes</h3> 223 <h3>Class Attributes</h3>
224
180 <table> 225 <table>
181 <tr><td>DefaultMode</td></tr> 226 <tr><td>DefaultMode</td></tr>
182 </table> 227 </table>
183 <h3>Class Methods</h3> 228 <h3>Class Methods</h3>
229
184 <table> 230 <table>
185 <tr><td>None</td></tr> 231 <tr><td>None</td></tr>
186 </table> 232 </table>
187 <h3>Methods</h3> 233 <h3>Methods</h3>
188 <table> 234
235 <table>
236
189 <tr> 237 <tr>
190 <td><a href="#E5PathPickerBase.__init__">E5PathPickerBase</a></td> 238 <td><a href="#E5PathPickerBase.__init__">E5PathPickerBase</a></td>
191 <td>Constructor</td> 239 <td>Constructor</td>
192 </tr><tr> 240 </tr>
241 <tr>
193 <td><a href="#E5PathPickerBase.__pathEdited">__pathEdited</a></td> 242 <td><a href="#E5PathPickerBase.__pathEdited">__pathEdited</a></td>
194 <td>Private slot handling editing of the path.</td> 243 <td>Private slot handling editing of the path.</td>
195 </tr><tr> 244 </tr>
245 <tr>
196 <td><a href="#E5PathPickerBase.__showPathPickerDialog">__showPathPickerDialog</a></td> 246 <td><a href="#E5PathPickerBase.__showPathPickerDialog">__showPathPickerDialog</a></td>
197 <td>Private slot to show the path picker dialog.</td> 247 <td>Private slot to show the path picker dialog.</td>
198 </tr><tr> 248 </tr>
249 <tr>
199 <td><a href="#E5PathPickerBase._editorText">_editorText</a></td> 250 <td><a href="#E5PathPickerBase._editorText">_editorText</a></td>
200 <td>Protected method to get the text of the editor.</td> 251 <td>Protected method to get the text of the editor.</td>
201 </tr><tr> 252 </tr>
253 <tr>
202 <td><a href="#E5PathPickerBase._setEditorText">_setEditorText</a></td> 254 <td><a href="#E5PathPickerBase._setEditorText">_setEditorText</a></td>
203 <td>Protected method to set the text of the editor.</td> 255 <td>Protected method to set the text of the editor.</td>
204 </tr><tr> 256 </tr>
257 <tr>
205 <td><a href="#E5PathPickerBase.addItem">addItem</a></td> 258 <td><a href="#E5PathPickerBase.addItem">addItem</a></td>
206 <td>Public method to add a paths to the current list.</td> 259 <td>Public method to add a paths to the current list.</td>
207 </tr><tr> 260 </tr>
261 <tr>
208 <td><a href="#E5PathPickerBase.addItems">addItems</a></td> 262 <td><a href="#E5PathPickerBase.addItems">addItems</a></td>
209 <td>Public method to add paths to the current list.</td> 263 <td>Public method to add paths to the current list.</td>
210 </tr><tr> 264 </tr>
265 <tr>
211 <td><a href="#E5PathPickerBase.buttonToolTip">buttonToolTip</a></td> 266 <td><a href="#E5PathPickerBase.buttonToolTip">buttonToolTip</a></td>
212 <td>Public method to get the tool button tool tip.</td> 267 <td>Public method to get the tool button tool tip.</td>
213 </tr><tr> 268 </tr>
269 <tr>
214 <td><a href="#E5PathPickerBase.clear">clear</a></td> 270 <td><a href="#E5PathPickerBase.clear">clear</a></td>
215 <td>Public method to clear the current path or list of paths.</td> 271 <td>Public method to clear the current path or list of paths.</td>
216 </tr><tr> 272 </tr>
273 <tr>
217 <td><a href="#E5PathPickerBase.clearEditText">clearEditText</a></td> 274 <td><a href="#E5PathPickerBase.clearEditText">clearEditText</a></td>
218 <td>Public method to clear the current path.</td> 275 <td>Public method to clear the current path.</td>
219 </tr><tr> 276 </tr>
277 <tr>
220 <td><a href="#E5PathPickerBase.currentText">currentText</a></td> 278 <td><a href="#E5PathPickerBase.currentText">currentText</a></td>
221 <td>Public method to get the current path.</td> 279 <td>Public method to get the current path.</td>
222 </tr><tr> 280 </tr>
281 <tr>
223 <td><a href="#E5PathPickerBase.defaultDirectory">defaultDirectory</a></td> 282 <td><a href="#E5PathPickerBase.defaultDirectory">defaultDirectory</a></td>
224 <td>Public method to get the default directory.</td> 283 <td>Public method to get the default directory.</td>
225 </tr><tr> 284 </tr>
285 <tr>
226 <td><a href="#E5PathPickerBase.editorEnabled">editorEnabled</a></td> 286 <td><a href="#E5PathPickerBase.editorEnabled">editorEnabled</a></td>
227 <td>Public method to get the path editor's enabled state.</td> 287 <td>Public method to get the path editor's enabled state.</td>
228 </tr><tr> 288 </tr>
289 <tr>
229 <td><a href="#E5PathPickerBase.editorToolTip">editorToolTip</a></td> 290 <td><a href="#E5PathPickerBase.editorToolTip">editorToolTip</a></td>
230 <td>Public method to get the editor tool tip.</td> 291 <td>Public method to get the editor tool tip.</td>
231 </tr><tr> 292 </tr>
293 <tr>
232 <td><a href="#E5PathPickerBase.filters">filters</a></td> 294 <td><a href="#E5PathPickerBase.filters">filters</a></td>
233 <td>Public methods to get the filter string.</td> 295 <td>Public methods to get the filter string.</td>
234 </tr><tr> 296 </tr>
297 <tr>
235 <td><a href="#E5PathPickerBase.firstPath">firstPath</a></td> 298 <td><a href="#E5PathPickerBase.firstPath">firstPath</a></td>
236 <td>Public method to get the first path of a list of entered paths.</td> 299 <td>Public method to get the first path of a list of entered paths.</td>
237 </tr><tr> 300 </tr>
301 <tr>
238 <td><a href="#E5PathPickerBase.isPickerEnabled">isPickerEnabled</a></td> 302 <td><a href="#E5PathPickerBase.isPickerEnabled">isPickerEnabled</a></td>
239 <td>Public method to get the file dialog button enabled state.</td> 303 <td>Public method to get the file dialog button enabled state.</td>
240 </tr><tr> 304 </tr>
305 <tr>
241 <td><a href="#E5PathPickerBase.isReadOnly">isReadOnly</a></td> 306 <td><a href="#E5PathPickerBase.isReadOnly">isReadOnly</a></td>
242 <td>Public method to check the path picker for read only mode.</td> 307 <td>Public method to check the path picker for read only mode.</td>
243 </tr><tr> 308 </tr>
309 <tr>
244 <td><a href="#E5PathPickerBase.lastPath">lastPath</a></td> 310 <td><a href="#E5PathPickerBase.lastPath">lastPath</a></td>
245 <td>Public method to get the last path of a list of entered paths.</td> 311 <td>Public method to get the last path of a list of entered paths.</td>
246 </tr><tr> 312 </tr>
313 <tr>
247 <td><a href="#E5PathPickerBase.mode">mode</a></td> 314 <td><a href="#E5PathPickerBase.mode">mode</a></td>
248 <td>Public method to get the path picker mode.</td> 315 <td>Public method to get the path picker mode.</td>
249 </tr><tr> 316 </tr>
317 <tr>
250 <td><a href="#E5PathPickerBase.path">path</a></td> 318 <td><a href="#E5PathPickerBase.path">path</a></td>
251 <td>Public method to get the current path.</td> 319 <td>Public method to get the current path.</td>
252 </tr><tr> 320 </tr>
321 <tr>
253 <td><a href="#E5PathPickerBase.paths">paths</a></td> 322 <td><a href="#E5PathPickerBase.paths">paths</a></td>
254 <td>Public method to get the list of entered paths.</td> 323 <td>Public method to get the list of entered paths.</td>
255 </tr><tr> 324 </tr>
325 <tr>
256 <td><a href="#E5PathPickerBase.setButtonToolTip">setButtonToolTip</a></td> 326 <td><a href="#E5PathPickerBase.setButtonToolTip">setButtonToolTip</a></td>
257 <td>Public method to set the tool button tool tip.</td> 327 <td>Public method to set the tool button tool tip.</td>
258 </tr><tr> 328 </tr>
329 <tr>
259 <td><a href="#E5PathPickerBase.setCurrentIndex">setCurrentIndex</a></td> 330 <td><a href="#E5PathPickerBase.setCurrentIndex">setCurrentIndex</a></td>
260 <td>Public slot to set the current index.</td> 331 <td>Public slot to set the current index.</td>
261 </tr><tr> 332 </tr>
333 <tr>
262 <td><a href="#E5PathPickerBase.setDefaultDirectory">setDefaultDirectory</a></td> 334 <td><a href="#E5PathPickerBase.setDefaultDirectory">setDefaultDirectory</a></td>
263 <td>Public method to set the default directory.</td> 335 <td>Public method to set the default directory.</td>
264 </tr><tr> 336 </tr>
337 <tr>
265 <td><a href="#E5PathPickerBase.setEditText">setEditText</a></td> 338 <td><a href="#E5PathPickerBase.setEditText">setEditText</a></td>
266 <td>Public method to set the current path.</td> 339 <td>Public method to set the current path.</td>
267 </tr><tr> 340 </tr>
341 <tr>
268 <td><a href="#E5PathPickerBase.setEditorEnabled">setEditorEnabled</a></td> 342 <td><a href="#E5PathPickerBase.setEditorEnabled">setEditorEnabled</a></td>
269 <td>Public method to set the path editor's enabled state.</td> 343 <td>Public method to set the path editor's enabled state.</td>
270 </tr><tr> 344 </tr>
345 <tr>
271 <td><a href="#E5PathPickerBase.setEditorToolTip">setEditorToolTip</a></td> 346 <td><a href="#E5PathPickerBase.setEditorToolTip">setEditorToolTip</a></td>
272 <td>Public method to set the editor tool tip.</td> 347 <td>Public method to set the editor tool tip.</td>
273 </tr><tr> 348 </tr>
349 <tr>
274 <td><a href="#E5PathPickerBase.setFilters">setFilters</a></td> 350 <td><a href="#E5PathPickerBase.setFilters">setFilters</a></td>
275 <td>Public method to set the filters for the path picker dialog.</td> 351 <td>Public method to set the filters for the path picker dialog.</td>
276 </tr><tr> 352 </tr>
353 <tr>
277 <td><a href="#E5PathPickerBase.setInsertPolicy">setInsertPolicy</a></td> 354 <td><a href="#E5PathPickerBase.setInsertPolicy">setInsertPolicy</a></td>
278 <td>Public method to set the insertion policy of the combo box.</td> 355 <td>Public method to set the insertion policy of the combo box.</td>
279 </tr><tr> 356 </tr>
357 <tr>
280 <td><a href="#E5PathPickerBase.setMode">setMode</a></td> 358 <td><a href="#E5PathPickerBase.setMode">setMode</a></td>
281 <td>Public method to set the path picker mode.</td> 359 <td>Public method to set the path picker mode.</td>
282 </tr><tr> 360 </tr>
361 <tr>
283 <td><a href="#E5PathPickerBase.setNameFilters">setNameFilters</a></td> 362 <td><a href="#E5PathPickerBase.setNameFilters">setNameFilters</a></td>
284 <td>Public method to set the name filters for the completer.</td> 363 <td>Public method to set the name filters for the completer.</td>
285 </tr><tr> 364 </tr>
365 <tr>
286 <td><a href="#E5PathPickerBase.setPath">setPath</a></td> 366 <td><a href="#E5PathPickerBase.setPath">setPath</a></td>
287 <td>Public method to set the current path.</td> 367 <td>Public method to set the current path.</td>
288 </tr><tr> 368 </tr>
369 <tr>
289 <td><a href="#E5PathPickerBase.setPathsList">setPathsList</a></td> 370 <td><a href="#E5PathPickerBase.setPathsList">setPathsList</a></td>
290 <td>Public method to set the paths list.</td> 371 <td>Public method to set the paths list.</td>
291 </tr><tr> 372 </tr>
373 <tr>
292 <td><a href="#E5PathPickerBase.setPickerEnabled">setPickerEnabled</a></td> 374 <td><a href="#E5PathPickerBase.setPickerEnabled">setPickerEnabled</a></td>
293 <td>Public method to set the enabled state of the file dialog button.</td> 375 <td>Public method to set the enabled state of the file dialog button.</td>
294 </tr><tr> 376 </tr>
377 <tr>
295 <td><a href="#E5PathPickerBase.setReadOnly">setReadOnly</a></td> 378 <td><a href="#E5PathPickerBase.setReadOnly">setReadOnly</a></td>
296 <td>Public method to set the path picker to read only mode.</td> 379 <td>Public method to set the path picker to read only mode.</td>
297 </tr><tr> 380 </tr>
381 <tr>
298 <td><a href="#E5PathPickerBase.setSizeAdjustPolicy">setSizeAdjustPolicy</a></td> 382 <td><a href="#E5PathPickerBase.setSizeAdjustPolicy">setSizeAdjustPolicy</a></td>
299 <td>Public method to set the size adjust policy of the combo box.</td> 383 <td>Public method to set the size adjust policy of the combo box.</td>
300 </tr><tr> 384 </tr>
385 <tr>
301 <td><a href="#E5PathPickerBase.setText">setText</a></td> 386 <td><a href="#E5PathPickerBase.setText">setText</a></td>
302 <td>Public method to set the current path.</td> 387 <td>Public method to set the current path.</td>
303 </tr><tr> 388 </tr>
389 <tr>
304 <td><a href="#E5PathPickerBase.setWindowTitle">setWindowTitle</a></td> 390 <td><a href="#E5PathPickerBase.setWindowTitle">setWindowTitle</a></td>
305 <td>Public method to set the path picker dialog window title.</td> 391 <td>Public method to set the path picker dialog window title.</td>
306 </tr><tr> 392 </tr>
393 <tr>
307 <td><a href="#E5PathPickerBase.text">text</a></td> 394 <td><a href="#E5PathPickerBase.text">text</a></td>
308 <td>Public method to get the current path.</td> 395 <td>Public method to get the current path.</td>
309 </tr><tr> 396 </tr>
397 <tr>
310 <td><a href="#E5PathPickerBase.windowTitle">windowTitle</a></td> 398 <td><a href="#E5PathPickerBase.windowTitle">windowTitle</a></td>
311 <td>Public method to get the path picker dialog's window title.</td> 399 <td>Public method to get the path picker dialog's window title.</td>
312 </tr> 400 </tr>
313 </table> 401 </table>
314 <h3>Static Methods</h3> 402 <h3>Static Methods</h3>
315 <table> 403
316 <tr><td>None</td></tr> 404 <table>
317 </table> 405 <tr><td>None</td></tr>
406 </table>
407
318 <a NAME="E5PathPickerBase.__init__" ID="E5PathPickerBase.__init__"></a> 408 <a NAME="E5PathPickerBase.__init__" ID="E5PathPickerBase.__init__"></a>
319 <h4>E5PathPickerBase (Constructor)</h4> 409 <h4>E5PathPickerBase (Constructor)</h4>
320 <b>E5PathPickerBase</b>(<i>parent=None, useLineEdit=True</i>) 410 <b>E5PathPickerBase</b>(<i>parent=None, useLineEdit=True</i>)
411
321 <p> 412 <p>
322 Constructor 413 Constructor
323 </p><dl> 414 </p>
415 <dl>
416
324 <dt><i>parent</i> (QWidget)</dt> 417 <dt><i>parent</i> (QWidget)</dt>
325 <dd> 418 <dd>
326 reference to the parent widget 419 reference to the parent widget
327 </dd><dt><i>useLineEdit</i> (bool)</dt> 420 </dd>
421 <dt><i>useLineEdit</i> (bool)</dt>
328 <dd> 422 <dd>
329 flag indicating the use of a line edit 423 flag indicating the use of a line edit
330 </dd> 424 </dd>
331 </dl><a NAME="E5PathPickerBase.__pathEdited" ID="E5PathPickerBase.__pathEdited"></a> 425 </dl>
426 <a NAME="E5PathPickerBase.__pathEdited" ID="E5PathPickerBase.__pathEdited"></a>
332 <h4>E5PathPickerBase.__pathEdited</h4> 427 <h4>E5PathPickerBase.__pathEdited</h4>
333 <b>__pathEdited</b>(<i>path</i>) 428 <b>__pathEdited</b>(<i>path</i>)
429
334 <p> 430 <p>
335 Private slot handling editing of the path. 431 Private slot handling editing of the path.
336 </p><dl> 432 </p>
433 <dl>
434
337 <dt><i>path</i> (str)</dt> 435 <dt><i>path</i> (str)</dt>
338 <dd> 436 <dd>
339 current text of the path line edit 437 current text of the path line edit
340 </dd> 438 </dd>
341 </dl><a NAME="E5PathPickerBase.__showPathPickerDialog" ID="E5PathPickerBase.__showPathPickerDialog"></a> 439 </dl>
440 <a NAME="E5PathPickerBase.__showPathPickerDialog" ID="E5PathPickerBase.__showPathPickerDialog"></a>
342 <h4>E5PathPickerBase.__showPathPickerDialog</h4> 441 <h4>E5PathPickerBase.__showPathPickerDialog</h4>
343 <b>__showPathPickerDialog</b>(<i></i>) 442 <b>__showPathPickerDialog</b>(<i></i>)
443
344 <p> 444 <p>
345 Private slot to show the path picker dialog. 445 Private slot to show the path picker dialog.
346 </p><a NAME="E5PathPickerBase._editorText" ID="E5PathPickerBase._editorText"></a> 446 </p>
447 <a NAME="E5PathPickerBase._editorText" ID="E5PathPickerBase._editorText"></a>
347 <h4>E5PathPickerBase._editorText</h4> 448 <h4>E5PathPickerBase._editorText</h4>
348 <b>_editorText</b>(<i></i>) 449 <b>_editorText</b>(<i></i>)
450
349 <p> 451 <p>
350 Protected method to get the text of the editor. 452 Protected method to get the text of the editor.
351 </p><dl> 453 </p>
454 <dl>
352 <dt>Returns:</dt> 455 <dt>Returns:</dt>
353 <dd> 456 <dd>
354 text of the editor 457 text of the editor
355 </dd> 458 </dd>
356 </dl><dl> 459 </dl>
460 <dl>
357 <dt>Return Type:</dt> 461 <dt>Return Type:</dt>
358 <dd> 462 <dd>
359 str 463 str
360 </dd> 464 </dd>
361 </dl><a NAME="E5PathPickerBase._setEditorText" ID="E5PathPickerBase._setEditorText"></a> 465 </dl>
466 <a NAME="E5PathPickerBase._setEditorText" ID="E5PathPickerBase._setEditorText"></a>
362 <h4>E5PathPickerBase._setEditorText</h4> 467 <h4>E5PathPickerBase._setEditorText</h4>
363 <b>_setEditorText</b>(<i>text</i>) 468 <b>_setEditorText</b>(<i>text</i>)
469
364 <p> 470 <p>
365 Protected method to set the text of the editor. 471 Protected method to set the text of the editor.
366 </p><dl> 472 </p>
473 <dl>
474
367 <dt><i>text</i> (str)</dt> 475 <dt><i>text</i> (str)</dt>
368 <dd> 476 <dd>
369 text to set 477 text to set
370 </dd> 478 </dd>
371 </dl><a NAME="E5PathPickerBase.addItem" ID="E5PathPickerBase.addItem"></a> 479 </dl>
480 <a NAME="E5PathPickerBase.addItem" ID="E5PathPickerBase.addItem"></a>
372 <h4>E5PathPickerBase.addItem</h4> 481 <h4>E5PathPickerBase.addItem</h4>
373 <b>addItem</b>(<i>path</i>) 482 <b>addItem</b>(<i>path</i>)
483
374 <p> 484 <p>
375 Public method to add a paths to the current list. 485 Public method to add a paths to the current list.
376 </p><dl> 486 </p>
487 <dl>
488
377 <dt><i>path</i> (str)</dt> 489 <dt><i>path</i> (str)</dt>
378 <dd> 490 <dd>
379 path to add 491 path to add
380 </dd> 492 </dd>
381 </dl><a NAME="E5PathPickerBase.addItems" ID="E5PathPickerBase.addItems"></a> 493 </dl>
494 <a NAME="E5PathPickerBase.addItems" ID="E5PathPickerBase.addItems"></a>
382 <h4>E5PathPickerBase.addItems</h4> 495 <h4>E5PathPickerBase.addItems</h4>
383 <b>addItems</b>(<i>pathsList</i>) 496 <b>addItems</b>(<i>pathsList</i>)
497
384 <p> 498 <p>
385 Public method to add paths to the current list. 499 Public method to add paths to the current list.
386 </p><dl> 500 </p>
501 <dl>
502
387 <dt><i>pathsList</i> (list of str)</dt> 503 <dt><i>pathsList</i> (list of str)</dt>
388 <dd> 504 <dd>
389 list of paths to add 505 list of paths to add
390 </dd> 506 </dd>
391 </dl><a NAME="E5PathPickerBase.buttonToolTip" ID="E5PathPickerBase.buttonToolTip"></a> 507 </dl>
508 <a NAME="E5PathPickerBase.buttonToolTip" ID="E5PathPickerBase.buttonToolTip"></a>
392 <h4>E5PathPickerBase.buttonToolTip</h4> 509 <h4>E5PathPickerBase.buttonToolTip</h4>
393 <b>buttonToolTip</b>(<i></i>) 510 <b>buttonToolTip</b>(<i></i>)
511
394 <p> 512 <p>
395 Public method to get the tool button tool tip. 513 Public method to get the tool button tool tip.
396 </p><dl> 514 </p>
515 <dl>
397 <dt>Returns:</dt> 516 <dt>Returns:</dt>
398 <dd> 517 <dd>
399 tool tip text 518 tool tip text
400 </dd> 519 </dd>
401 </dl><dl> 520 </dl>
521 <dl>
402 <dt>Return Type:</dt> 522 <dt>Return Type:</dt>
403 <dd> 523 <dd>
404 str 524 str
405 </dd> 525 </dd>
406 </dl><a NAME="E5PathPickerBase.clear" ID="E5PathPickerBase.clear"></a> 526 </dl>
527 <a NAME="E5PathPickerBase.clear" ID="E5PathPickerBase.clear"></a>
407 <h4>E5PathPickerBase.clear</h4> 528 <h4>E5PathPickerBase.clear</h4>
408 <b>clear</b>(<i></i>) 529 <b>clear</b>(<i></i>)
530
409 <p> 531 <p>
410 Public method to clear the current path or list of paths. 532 Public method to clear the current path or list of paths.
411 </p><a NAME="E5PathPickerBase.clearEditText" ID="E5PathPickerBase.clearEditText"></a> 533 </p>
534 <a NAME="E5PathPickerBase.clearEditText" ID="E5PathPickerBase.clearEditText"></a>
412 <h4>E5PathPickerBase.clearEditText</h4> 535 <h4>E5PathPickerBase.clearEditText</h4>
413 <b>clearEditText</b>(<i></i>) 536 <b>clearEditText</b>(<i></i>)
537
414 <p> 538 <p>
415 Public method to clear the current path. 539 Public method to clear the current path.
416 </p><a NAME="E5PathPickerBase.currentText" ID="E5PathPickerBase.currentText"></a> 540 </p>
541 <a NAME="E5PathPickerBase.currentText" ID="E5PathPickerBase.currentText"></a>
417 <h4>E5PathPickerBase.currentText</h4> 542 <h4>E5PathPickerBase.currentText</h4>
418 <b>currentText</b>(<i>toNative=True</i>) 543 <b>currentText</b>(<i>toNative=True</i>)
544
419 <p> 545 <p>
420 Public method to get the current path. 546 Public method to get the current path.
421 </p><dl> 547 </p>
548 <dl>
549
422 <dt><i>toNative</i> (bool)</dt> 550 <dt><i>toNative</i> (bool)</dt>
423 <dd> 551 <dd>
424 flag indicating to convert the path into 552 flag indicating to convert the path into
425 a native format 553 a native format
426 </dd> 554 </dd>
427 </dl><dl> 555 </dl>
556 <dl>
428 <dt>Returns:</dt> 557 <dt>Returns:</dt>
429 <dd> 558 <dd>
430 current path 559 current path
431 </dd> 560 </dd>
432 </dl><dl> 561 </dl>
562 <dl>
433 <dt>Return Type:</dt> 563 <dt>Return Type:</dt>
434 <dd> 564 <dd>
435 str 565 str
436 </dd> 566 </dd>
437 </dl><a NAME="E5PathPickerBase.defaultDirectory" ID="E5PathPickerBase.defaultDirectory"></a> 567 </dl>
568 <a NAME="E5PathPickerBase.defaultDirectory" ID="E5PathPickerBase.defaultDirectory"></a>
438 <h4>E5PathPickerBase.defaultDirectory</h4> 569 <h4>E5PathPickerBase.defaultDirectory</h4>
439 <b>defaultDirectory</b>(<i></i>) 570 <b>defaultDirectory</b>(<i></i>)
571
440 <p> 572 <p>
441 Public method to get the default directory. 573 Public method to get the default directory.
442 </p><dl> 574 </p>
575 <dl>
443 <dt>Returns:</dt> 576 <dt>Returns:</dt>
444 <dd> 577 <dd>
445 default directory 578 default directory
446 </dd> 579 </dd>
447 </dl><dl> 580 </dl>
581 <dl>
448 <dt>Return Type:</dt> 582 <dt>Return Type:</dt>
449 <dd> 583 <dd>
450 str 584 str
451 </dd> 585 </dd>
452 </dl><a NAME="E5PathPickerBase.editorEnabled" ID="E5PathPickerBase.editorEnabled"></a> 586 </dl>
587 <a NAME="E5PathPickerBase.editorEnabled" ID="E5PathPickerBase.editorEnabled"></a>
453 <h4>E5PathPickerBase.editorEnabled</h4> 588 <h4>E5PathPickerBase.editorEnabled</h4>
454 <b>editorEnabled</b>(<i></i>) 589 <b>editorEnabled</b>(<i></i>)
590
455 <p> 591 <p>
456 Public method to get the path editor's enabled state. 592 Public method to get the path editor's enabled state.
457 </p><dl> 593 </p>
594 <dl>
458 <dt>Returns:</dt> 595 <dt>Returns:</dt>
459 <dd> 596 <dd>
460 flag indicating the enabled state 597 flag indicating the enabled state
461 </dd> 598 </dd>
462 </dl><dl> 599 </dl>
600 <dl>
463 <dt>Return Type:</dt> 601 <dt>Return Type:</dt>
464 <dd> 602 <dd>
465 bool 603 bool
466 </dd> 604 </dd>
467 </dl><a NAME="E5PathPickerBase.editorToolTip" ID="E5PathPickerBase.editorToolTip"></a> 605 </dl>
606 <a NAME="E5PathPickerBase.editorToolTip" ID="E5PathPickerBase.editorToolTip"></a>
468 <h4>E5PathPickerBase.editorToolTip</h4> 607 <h4>E5PathPickerBase.editorToolTip</h4>
469 <b>editorToolTip</b>(<i></i>) 608 <b>editorToolTip</b>(<i></i>)
609
470 <p> 610 <p>
471 Public method to get the editor tool tip. 611 Public method to get the editor tool tip.
472 </p><dl> 612 </p>
613 <dl>
473 <dt>Returns:</dt> 614 <dt>Returns:</dt>
474 <dd> 615 <dd>
475 tool tip text 616 tool tip text
476 </dd> 617 </dd>
477 </dl><dl> 618 </dl>
619 <dl>
478 <dt>Return Type:</dt> 620 <dt>Return Type:</dt>
479 <dd> 621 <dd>
480 str 622 str
481 </dd> 623 </dd>
482 </dl><a NAME="E5PathPickerBase.filters" ID="E5PathPickerBase.filters"></a> 624 </dl>
625 <a NAME="E5PathPickerBase.filters" ID="E5PathPickerBase.filters"></a>
483 <h4>E5PathPickerBase.filters</h4> 626 <h4>E5PathPickerBase.filters</h4>
484 <b>filters</b>(<i></i>) 627 <b>filters</b>(<i></i>)
628
485 <p> 629 <p>
486 Public methods to get the filter string. 630 Public methods to get the filter string.
487 </p><dl> 631 </p>
632 <dl>
488 <dt>Returns:</dt> 633 <dt>Returns:</dt>
489 <dd> 634 <dd>
490 filter string 635 filter string
491 </dd> 636 </dd>
492 </dl><dl> 637 </dl>
638 <dl>
493 <dt>Return Type:</dt> 639 <dt>Return Type:</dt>
494 <dd> 640 <dd>
495 str 641 str
496 </dd> 642 </dd>
497 </dl><a NAME="E5PathPickerBase.firstPath" ID="E5PathPickerBase.firstPath"></a> 643 </dl>
644 <a NAME="E5PathPickerBase.firstPath" ID="E5PathPickerBase.firstPath"></a>
498 <h4>E5PathPickerBase.firstPath</h4> 645 <h4>E5PathPickerBase.firstPath</h4>
499 <b>firstPath</b>(<i>toNative=True</i>) 646 <b>firstPath</b>(<i>toNative=True</i>)
647
500 <p> 648 <p>
501 Public method to get the first path of a list of entered paths. 649 Public method to get the first path of a list of entered paths.
502 </p><dl> 650 </p>
651 <dl>
652
503 <dt><i>toNative</i> (bool)</dt> 653 <dt><i>toNative</i> (bool)</dt>
504 <dd> 654 <dd>
505 flag indicating to convert the path into 655 flag indicating to convert the path into
506 a native format 656 a native format
507 </dd> 657 </dd>
508 </dl><dl> 658 </dl>
659 <dl>
509 <dt>Returns:</dt> 660 <dt>Returns:</dt>
510 <dd> 661 <dd>
511 first path 662 first path
512 </dd> 663 </dd>
513 </dl><dl> 664 </dl>
665 <dl>
514 <dt>Return Type:</dt> 666 <dt>Return Type:</dt>
515 <dd> 667 <dd>
516 str 668 str
517 </dd> 669 </dd>
518 </dl><a NAME="E5PathPickerBase.isPickerEnabled" ID="E5PathPickerBase.isPickerEnabled"></a> 670 </dl>
671 <a NAME="E5PathPickerBase.isPickerEnabled" ID="E5PathPickerBase.isPickerEnabled"></a>
519 <h4>E5PathPickerBase.isPickerEnabled</h4> 672 <h4>E5PathPickerBase.isPickerEnabled</h4>
520 <b>isPickerEnabled</b>(<i></i>) 673 <b>isPickerEnabled</b>(<i></i>)
674
521 <p> 675 <p>
522 Public method to get the file dialog button enabled state. 676 Public method to get the file dialog button enabled state.
523 </p><dl> 677 </p>
678 <dl>
524 <dt>Returns:</dt> 679 <dt>Returns:</dt>
525 <dd> 680 <dd>
526 flag indicating the enabled state 681 flag indicating the enabled state
527 </dd> 682 </dd>
528 </dl><dl> 683 </dl>
684 <dl>
529 <dt>Return Type:</dt> 685 <dt>Return Type:</dt>
530 <dd> 686 <dd>
531 bool 687 bool
532 </dd> 688 </dd>
533 </dl><a NAME="E5PathPickerBase.isReadOnly" ID="E5PathPickerBase.isReadOnly"></a> 689 </dl>
690 <a NAME="E5PathPickerBase.isReadOnly" ID="E5PathPickerBase.isReadOnly"></a>
534 <h4>E5PathPickerBase.isReadOnly</h4> 691 <h4>E5PathPickerBase.isReadOnly</h4>
535 <b>isReadOnly</b>(<i></i>) 692 <b>isReadOnly</b>(<i></i>)
693
536 <p> 694 <p>
537 Public method to check the path picker for read only mode. 695 Public method to check the path picker for read only mode.
538 </p><dl> 696 </p>
697 <dl>
539 <dt>Returns:</dt> 698 <dt>Returns:</dt>
540 <dd> 699 <dd>
541 flg indicating read only mode 700 flg indicating read only mode
542 </dd> 701 </dd>
543 </dl><dl> 702 </dl>
703 <dl>
544 <dt>Return Type:</dt> 704 <dt>Return Type:</dt>
545 <dd> 705 <dd>
546 bool 706 bool
547 </dd> 707 </dd>
548 </dl><a NAME="E5PathPickerBase.lastPath" ID="E5PathPickerBase.lastPath"></a> 708 </dl>
709 <a NAME="E5PathPickerBase.lastPath" ID="E5PathPickerBase.lastPath"></a>
549 <h4>E5PathPickerBase.lastPath</h4> 710 <h4>E5PathPickerBase.lastPath</h4>
550 <b>lastPath</b>(<i>toNative=True</i>) 711 <b>lastPath</b>(<i>toNative=True</i>)
712
551 <p> 713 <p>
552 Public method to get the last path of a list of entered paths. 714 Public method to get the last path of a list of entered paths.
553 </p><dl> 715 </p>
716 <dl>
717
554 <dt><i>toNative</i> (bool)</dt> 718 <dt><i>toNative</i> (bool)</dt>
555 <dd> 719 <dd>
556 flag indicating to convert the path into 720 flag indicating to convert the path into
557 a native format 721 a native format
558 </dd> 722 </dd>
559 </dl><dl> 723 </dl>
724 <dl>
560 <dt>Returns:</dt> 725 <dt>Returns:</dt>
561 <dd> 726 <dd>
562 last path 727 last path
563 </dd> 728 </dd>
564 </dl><dl> 729 </dl>
730 <dl>
565 <dt>Return Type:</dt> 731 <dt>Return Type:</dt>
566 <dd> 732 <dd>
567 str 733 str
568 </dd> 734 </dd>
569 </dl><a NAME="E5PathPickerBase.mode" ID="E5PathPickerBase.mode"></a> 735 </dl>
736 <a NAME="E5PathPickerBase.mode" ID="E5PathPickerBase.mode"></a>
570 <h4>E5PathPickerBase.mode</h4> 737 <h4>E5PathPickerBase.mode</h4>
571 <b>mode</b>(<i></i>) 738 <b>mode</b>(<i></i>)
739
572 <p> 740 <p>
573 Public method to get the path picker mode. 741 Public method to get the path picker mode.
574 </p><dl> 742 </p>
743 <dl>
575 <dt>Returns:</dt> 744 <dt>Returns:</dt>
576 <dd> 745 <dd>
577 path picker mode 746 path picker mode
578 </dd> 747 </dd>
579 </dl><dl> 748 </dl>
749 <dl>
580 <dt>Return Type:</dt> 750 <dt>Return Type:</dt>
581 <dd> 751 <dd>
582 E5PathPickerModes 752 E5PathPickerModes
583 </dd> 753 </dd>
584 </dl><a NAME="E5PathPickerBase.path" ID="E5PathPickerBase.path"></a> 754 </dl>
755 <a NAME="E5PathPickerBase.path" ID="E5PathPickerBase.path"></a>
585 <h4>E5PathPickerBase.path</h4> 756 <h4>E5PathPickerBase.path</h4>
586 <b>path</b>(<i>toNative=True</i>) 757 <b>path</b>(<i>toNative=True</i>)
758
587 <p> 759 <p>
588 Public method to get the current path. 760 Public method to get the current path.
589 </p><dl> 761 </p>
762 <dl>
763
590 <dt><i>toNative</i> (bool)</dt> 764 <dt><i>toNative</i> (bool)</dt>
591 <dd> 765 <dd>
592 flag indicating to convert the path into 766 flag indicating to convert the path into
593 a native format 767 a native format
594 </dd> 768 </dd>
595 </dl><dl> 769 </dl>
770 <dl>
596 <dt>Returns:</dt> 771 <dt>Returns:</dt>
597 <dd> 772 <dd>
598 current path 773 current path
599 </dd> 774 </dd>
600 </dl><dl> 775 </dl>
776 <dl>
601 <dt>Return Type:</dt> 777 <dt>Return Type:</dt>
602 <dd> 778 <dd>
603 str 779 str
604 </dd> 780 </dd>
605 </dl><a NAME="E5PathPickerBase.paths" ID="E5PathPickerBase.paths"></a> 781 </dl>
782 <a NAME="E5PathPickerBase.paths" ID="E5PathPickerBase.paths"></a>
606 <h4>E5PathPickerBase.paths</h4> 783 <h4>E5PathPickerBase.paths</h4>
607 <b>paths</b>(<i>toNative=True</i>) 784 <b>paths</b>(<i>toNative=True</i>)
785
608 <p> 786 <p>
609 Public method to get the list of entered paths. 787 Public method to get the list of entered paths.
610 </p><dl> 788 </p>
789 <dl>
790
611 <dt><i>toNative</i> (bool)</dt> 791 <dt><i>toNative</i> (bool)</dt>
612 <dd> 792 <dd>
613 flag indicating to convert the path into 793 flag indicating to convert the path into
614 a native format 794 a native format
615 </dd> 795 </dd>
616 </dl><dl> 796 </dl>
797 <dl>
617 <dt>Returns:</dt> 798 <dt>Returns:</dt>
618 <dd> 799 <dd>
619 entered paths 800 entered paths
620 </dd> 801 </dd>
621 </dl><dl> 802 </dl>
803 <dl>
622 <dt>Return Type:</dt> 804 <dt>Return Type:</dt>
623 <dd> 805 <dd>
624 list of str 806 list of str
625 </dd> 807 </dd>
626 </dl><a NAME="E5PathPickerBase.setButtonToolTip" ID="E5PathPickerBase.setButtonToolTip"></a> 808 </dl>
809 <a NAME="E5PathPickerBase.setButtonToolTip" ID="E5PathPickerBase.setButtonToolTip"></a>
627 <h4>E5PathPickerBase.setButtonToolTip</h4> 810 <h4>E5PathPickerBase.setButtonToolTip</h4>
628 <b>setButtonToolTip</b>(<i>tooltip</i>) 811 <b>setButtonToolTip</b>(<i>tooltip</i>)
812
629 <p> 813 <p>
630 Public method to set the tool button tool tip. 814 Public method to set the tool button tool tip.
631 </p><dl> 815 </p>
816 <dl>
817
632 <dt><i>tooltip</i> (str)</dt> 818 <dt><i>tooltip</i> (str)</dt>
633 <dd> 819 <dd>
634 text to be set as a tool tip 820 text to be set as a tool tip
635 </dd> 821 </dd>
636 </dl><a NAME="E5PathPickerBase.setCurrentIndex" ID="E5PathPickerBase.setCurrentIndex"></a> 822 </dl>
823 <a NAME="E5PathPickerBase.setCurrentIndex" ID="E5PathPickerBase.setCurrentIndex"></a>
637 <h4>E5PathPickerBase.setCurrentIndex</h4> 824 <h4>E5PathPickerBase.setCurrentIndex</h4>
638 <b>setCurrentIndex</b>(<i>index</i>) 825 <b>setCurrentIndex</b>(<i>index</i>)
826
639 <p> 827 <p>
640 Public slot to set the current index. 828 Public slot to set the current index.
641 </p><dl> 829 </p>
830 <dl>
831
642 <dt><i>index</i> (int)</dt> 832 <dt><i>index</i> (int)</dt>
643 <dd> 833 <dd>
644 index of the item to set current 834 index of the item to set current
645 </dd> 835 </dd>
646 </dl><a NAME="E5PathPickerBase.setDefaultDirectory" ID="E5PathPickerBase.setDefaultDirectory"></a> 836 </dl>
837 <a NAME="E5PathPickerBase.setDefaultDirectory" ID="E5PathPickerBase.setDefaultDirectory"></a>
647 <h4>E5PathPickerBase.setDefaultDirectory</h4> 838 <h4>E5PathPickerBase.setDefaultDirectory</h4>
648 <b>setDefaultDirectory</b>(<i>directory</i>) 839 <b>setDefaultDirectory</b>(<i>directory</i>)
840
649 <p> 841 <p>
650 Public method to set the default directory. 842 Public method to set the default directory.
651 </p><dl> 843 </p>
844 <dl>
845
652 <dt><i>directory</i> (str)</dt> 846 <dt><i>directory</i> (str)</dt>
653 <dd> 847 <dd>
654 default directory 848 default directory
655 </dd> 849 </dd>
656 </dl><a NAME="E5PathPickerBase.setEditText" ID="E5PathPickerBase.setEditText"></a> 850 </dl>
851 <a NAME="E5PathPickerBase.setEditText" ID="E5PathPickerBase.setEditText"></a>
657 <h4>E5PathPickerBase.setEditText</h4> 852 <h4>E5PathPickerBase.setEditText</h4>
658 <b>setEditText</b>(<i>path, toNative=True</i>) 853 <b>setEditText</b>(<i>path, toNative=True</i>)
854
659 <p> 855 <p>
660 Public method to set the current path. 856 Public method to set the current path.
661 </p><dl> 857 </p>
858 <dl>
859
662 <dt><i>path</i> (str)</dt> 860 <dt><i>path</i> (str)</dt>
663 <dd> 861 <dd>
664 path to be set 862 path to be set
665 </dd><dt><i>toNative</i> (bool)</dt> 863 </dd>
864 <dt><i>toNative</i> (bool)</dt>
666 <dd> 865 <dd>
667 flag indicating to convert the path into 866 flag indicating to convert the path into
668 a native format 867 a native format
669 </dd> 868 </dd>
670 </dl><a NAME="E5PathPickerBase.setEditorEnabled" ID="E5PathPickerBase.setEditorEnabled"></a> 869 </dl>
870 <a NAME="E5PathPickerBase.setEditorEnabled" ID="E5PathPickerBase.setEditorEnabled"></a>
671 <h4>E5PathPickerBase.setEditorEnabled</h4> 871 <h4>E5PathPickerBase.setEditorEnabled</h4>
672 <b>setEditorEnabled</b>(<i>enable</i>) 872 <b>setEditorEnabled</b>(<i>enable</i>)
873
673 <p> 874 <p>
674 Public method to set the path editor's enabled state. 875 Public method to set the path editor's enabled state.
675 </p><dl> 876 </p>
877 <dl>
878
676 <dt><i>enable</i> (bool)</dt> 879 <dt><i>enable</i> (bool)</dt>
677 <dd> 880 <dd>
678 flag indicating the enable state 881 flag indicating the enable state
679 </dd> 882 </dd>
680 </dl><a NAME="E5PathPickerBase.setEditorToolTip" ID="E5PathPickerBase.setEditorToolTip"></a> 883 </dl>
884 <a NAME="E5PathPickerBase.setEditorToolTip" ID="E5PathPickerBase.setEditorToolTip"></a>
681 <h4>E5PathPickerBase.setEditorToolTip</h4> 885 <h4>E5PathPickerBase.setEditorToolTip</h4>
682 <b>setEditorToolTip</b>(<i>tooltip</i>) 886 <b>setEditorToolTip</b>(<i>tooltip</i>)
887
683 <p> 888 <p>
684 Public method to set the editor tool tip. 889 Public method to set the editor tool tip.
685 </p><dl> 890 </p>
891 <dl>
892
686 <dt><i>tooltip</i> (str)</dt> 893 <dt><i>tooltip</i> (str)</dt>
687 <dd> 894 <dd>
688 text to be set as a tool tip 895 text to be set as a tool tip
689 </dd> 896 </dd>
690 </dl><a NAME="E5PathPickerBase.setFilters" ID="E5PathPickerBase.setFilters"></a> 897 </dl>
898 <a NAME="E5PathPickerBase.setFilters" ID="E5PathPickerBase.setFilters"></a>
691 <h4>E5PathPickerBase.setFilters</h4> 899 <h4>E5PathPickerBase.setFilters</h4>
692 <b>setFilters</b>(<i>filters</i>) 900 <b>setFilters</b>(<i>filters</i>)
901
693 <p> 902 <p>
694 Public method to set the filters for the path picker dialog. 903 Public method to set the filters for the path picker dialog.
695 </p><p> 904 </p>
905 <p>
696 Note: Multiple filters must be separated by ';;'. 906 Note: Multiple filters must be separated by ';;'.
697 </p><dl> 907 </p>
908 <dl>
909
698 <dt><i>filters</i> (str)</dt> 910 <dt><i>filters</i> (str)</dt>
699 <dd> 911 <dd>
700 string containing the file filters 912 string containing the file filters
701 </dd> 913 </dd>
702 </dl><a NAME="E5PathPickerBase.setInsertPolicy" ID="E5PathPickerBase.setInsertPolicy"></a> 914 </dl>
915 <a NAME="E5PathPickerBase.setInsertPolicy" ID="E5PathPickerBase.setInsertPolicy"></a>
703 <h4>E5PathPickerBase.setInsertPolicy</h4> 916 <h4>E5PathPickerBase.setInsertPolicy</h4>
704 <b>setInsertPolicy</b>(<i>policy</i>) 917 <b>setInsertPolicy</b>(<i>policy</i>)
918
705 <p> 919 <p>
706 Public method to set the insertion policy of the combo box. 920 Public method to set the insertion policy of the combo box.
707 </p><dl> 921 </p>
922 <dl>
923
708 <dt><i>policy</i> (QComboBox.InsertPolicy)</dt> 924 <dt><i>policy</i> (QComboBox.InsertPolicy)</dt>
709 <dd> 925 <dd>
710 insertion policy 926 insertion policy
711 </dd> 927 </dd>
712 </dl><a NAME="E5PathPickerBase.setMode" ID="E5PathPickerBase.setMode"></a> 928 </dl>
929 <a NAME="E5PathPickerBase.setMode" ID="E5PathPickerBase.setMode"></a>
713 <h4>E5PathPickerBase.setMode</h4> 930 <h4>E5PathPickerBase.setMode</h4>
714 <b>setMode</b>(<i>mode</i>) 931 <b>setMode</b>(<i>mode</i>)
932
715 <p> 933 <p>
716 Public method to set the path picker mode. 934 Public method to set the path picker mode.
717 </p><dl> 935 </p>
936 <dl>
937
718 <dt><i>mode</i> (E5PathPickerModes)</dt> 938 <dt><i>mode</i> (E5PathPickerModes)</dt>
719 <dd> 939 <dd>
720 picker mode 940 picker mode
721 </dd> 941 </dd>
722 </dl><a NAME="E5PathPickerBase.setNameFilters" ID="E5PathPickerBase.setNameFilters"></a> 942 </dl>
943 <a NAME="E5PathPickerBase.setNameFilters" ID="E5PathPickerBase.setNameFilters"></a>
723 <h4>E5PathPickerBase.setNameFilters</h4> 944 <h4>E5PathPickerBase.setNameFilters</h4>
724 <b>setNameFilters</b>(<i>filters</i>) 945 <b>setNameFilters</b>(<i>filters</i>)
946
725 <p> 947 <p>
726 Public method to set the name filters for the completer. 948 Public method to set the name filters for the completer.
727 </p><dl> 949 </p>
950 <dl>
951
728 <dt><i>filters</i> (list of str)</dt> 952 <dt><i>filters</i> (list of str)</dt>
729 <dd> 953 <dd>
730 list of file name filters 954 list of file name filters
731 </dd> 955 </dd>
732 </dl><a NAME="E5PathPickerBase.setPath" ID="E5PathPickerBase.setPath"></a> 956 </dl>
957 <a NAME="E5PathPickerBase.setPath" ID="E5PathPickerBase.setPath"></a>
733 <h4>E5PathPickerBase.setPath</h4> 958 <h4>E5PathPickerBase.setPath</h4>
734 <b>setPath</b>(<i>path, toNative=True</i>) 959 <b>setPath</b>(<i>path, toNative=True</i>)
960
735 <p> 961 <p>
736 Public method to set the current path. 962 Public method to set the current path.
737 </p><dl> 963 </p>
964 <dl>
965
738 <dt><i>path</i> (str)</dt> 966 <dt><i>path</i> (str)</dt>
739 <dd> 967 <dd>
740 path to be set 968 path to be set
741 </dd><dt><i>toNative</i> (bool)</dt> 969 </dd>
970 <dt><i>toNative</i> (bool)</dt>
742 <dd> 971 <dd>
743 flag indicating to convert the path into 972 flag indicating to convert the path into
744 a native format 973 a native format
745 </dd> 974 </dd>
746 </dl><a NAME="E5PathPickerBase.setPathsList" ID="E5PathPickerBase.setPathsList"></a> 975 </dl>
976 <a NAME="E5PathPickerBase.setPathsList" ID="E5PathPickerBase.setPathsList"></a>
747 <h4>E5PathPickerBase.setPathsList</h4> 977 <h4>E5PathPickerBase.setPathsList</h4>
748 <b>setPathsList</b>(<i>pathsList</i>) 978 <b>setPathsList</b>(<i>pathsList</i>)
979
749 <p> 980 <p>
750 Public method to set the paths list. 981 Public method to set the paths list.
751 </p><dl> 982 </p>
983 <dl>
984
752 <dt><i>pathsList</i> (list of str)</dt> 985 <dt><i>pathsList</i> (list of str)</dt>
753 <dd> 986 <dd>
754 list of paths 987 list of paths
755 </dd> 988 </dd>
756 </dl><a NAME="E5PathPickerBase.setPickerEnabled" ID="E5PathPickerBase.setPickerEnabled"></a> 989 </dl>
990 <a NAME="E5PathPickerBase.setPickerEnabled" ID="E5PathPickerBase.setPickerEnabled"></a>
757 <h4>E5PathPickerBase.setPickerEnabled</h4> 991 <h4>E5PathPickerBase.setPickerEnabled</h4>
758 <b>setPickerEnabled</b>(<i>enable</i>) 992 <b>setPickerEnabled</b>(<i>enable</i>)
993
759 <p> 994 <p>
760 Public method to set the enabled state of the file dialog button. 995 Public method to set the enabled state of the file dialog button.
761 </p><dl> 996 </p>
997 <dl>
998
762 <dt><i>enable</i> (bool)</dt> 999 <dt><i>enable</i> (bool)</dt>
763 <dd> 1000 <dd>
764 flag indicating the enabled state 1001 flag indicating the enabled state
765 </dd> 1002 </dd>
766 </dl><a NAME="E5PathPickerBase.setReadOnly" ID="E5PathPickerBase.setReadOnly"></a> 1003 </dl>
1004 <a NAME="E5PathPickerBase.setReadOnly" ID="E5PathPickerBase.setReadOnly"></a>
767 <h4>E5PathPickerBase.setReadOnly</h4> 1005 <h4>E5PathPickerBase.setReadOnly</h4>
768 <b>setReadOnly</b>(<i>readOnly</i>) 1006 <b>setReadOnly</b>(<i>readOnly</i>)
1007
769 <p> 1008 <p>
770 Public method to set the path picker to read only mode. 1009 Public method to set the path picker to read only mode.
771 </p><dl> 1010 </p>
1011 <dl>
1012
772 <dt><i>readOnly</i> (bool)</dt> 1013 <dt><i>readOnly</i> (bool)</dt>
773 <dd> 1014 <dd>
774 flag indicating read only mode 1015 flag indicating read only mode
775 </dd> 1016 </dd>
776 </dl><a NAME="E5PathPickerBase.setSizeAdjustPolicy" ID="E5PathPickerBase.setSizeAdjustPolicy"></a> 1017 </dl>
1018 <a NAME="E5PathPickerBase.setSizeAdjustPolicy" ID="E5PathPickerBase.setSizeAdjustPolicy"></a>
777 <h4>E5PathPickerBase.setSizeAdjustPolicy</h4> 1019 <h4>E5PathPickerBase.setSizeAdjustPolicy</h4>
778 <b>setSizeAdjustPolicy</b>(<i>policy</i>) 1020 <b>setSizeAdjustPolicy</b>(<i>policy</i>)
1021
779 <p> 1022 <p>
780 Public method to set the size adjust policy of the combo box. 1023 Public method to set the size adjust policy of the combo box.
781 </p><dl> 1024 </p>
1025 <dl>
1026
782 <dt><i>policy</i> (QComboBox.SizeAdjustPolicy)</dt> 1027 <dt><i>policy</i> (QComboBox.SizeAdjustPolicy)</dt>
783 <dd> 1028 <dd>
784 size adjust policy 1029 size adjust policy
785 </dd> 1030 </dd>
786 </dl><a NAME="E5PathPickerBase.setText" ID="E5PathPickerBase.setText"></a> 1031 </dl>
1032 <a NAME="E5PathPickerBase.setText" ID="E5PathPickerBase.setText"></a>
787 <h4>E5PathPickerBase.setText</h4> 1033 <h4>E5PathPickerBase.setText</h4>
788 <b>setText</b>(<i>path, toNative=True</i>) 1034 <b>setText</b>(<i>path, toNative=True</i>)
1035
789 <p> 1036 <p>
790 Public method to set the current path. 1037 Public method to set the current path.
791 </p><dl> 1038 </p>
1039 <dl>
1040
792 <dt><i>path</i> (str)</dt> 1041 <dt><i>path</i> (str)</dt>
793 <dd> 1042 <dd>
794 path to be set 1043 path to be set
795 </dd><dt><i>toNative</i> (bool)</dt> 1044 </dd>
1045 <dt><i>toNative</i> (bool)</dt>
796 <dd> 1046 <dd>
797 flag indicating to convert the path into 1047 flag indicating to convert the path into
798 a native format 1048 a native format
799 </dd> 1049 </dd>
800 </dl><a NAME="E5PathPickerBase.setWindowTitle" ID="E5PathPickerBase.setWindowTitle"></a> 1050 </dl>
1051 <a NAME="E5PathPickerBase.setWindowTitle" ID="E5PathPickerBase.setWindowTitle"></a>
801 <h4>E5PathPickerBase.setWindowTitle</h4> 1052 <h4>E5PathPickerBase.setWindowTitle</h4>
802 <b>setWindowTitle</b>(<i>title</i>) 1053 <b>setWindowTitle</b>(<i>title</i>)
1054
803 <p> 1055 <p>
804 Public method to set the path picker dialog window title. 1056 Public method to set the path picker dialog window title.
805 </p><dl> 1057 </p>
1058 <dl>
1059
806 <dt><i>title</i> (str)</dt> 1060 <dt><i>title</i> (str)</dt>
807 <dd> 1061 <dd>
808 window title 1062 window title
809 </dd> 1063 </dd>
810 </dl><a NAME="E5PathPickerBase.text" ID="E5PathPickerBase.text"></a> 1064 </dl>
1065 <a NAME="E5PathPickerBase.text" ID="E5PathPickerBase.text"></a>
811 <h4>E5PathPickerBase.text</h4> 1066 <h4>E5PathPickerBase.text</h4>
812 <b>text</b>(<i>toNative=True</i>) 1067 <b>text</b>(<i>toNative=True</i>)
1068
813 <p> 1069 <p>
814 Public method to get the current path. 1070 Public method to get the current path.
815 </p><dl> 1071 </p>
1072 <dl>
1073
816 <dt><i>toNative</i> (bool)</dt> 1074 <dt><i>toNative</i> (bool)</dt>
817 <dd> 1075 <dd>
818 flag indicating to convert the path into 1076 flag indicating to convert the path into
819 a native format 1077 a native format
820 </dd> 1078 </dd>
821 </dl><dl> 1079 </dl>
1080 <dl>
822 <dt>Returns:</dt> 1081 <dt>Returns:</dt>
823 <dd> 1082 <dd>
824 current path 1083 current path
825 </dd> 1084 </dd>
826 </dl><dl> 1085 </dl>
1086 <dl>
827 <dt>Return Type:</dt> 1087 <dt>Return Type:</dt>
828 <dd> 1088 <dd>
829 str 1089 str
830 </dd> 1090 </dd>
831 </dl><a NAME="E5PathPickerBase.windowTitle" ID="E5PathPickerBase.windowTitle"></a> 1091 </dl>
1092 <a NAME="E5PathPickerBase.windowTitle" ID="E5PathPickerBase.windowTitle"></a>
832 <h4>E5PathPickerBase.windowTitle</h4> 1093 <h4>E5PathPickerBase.windowTitle</h4>
833 <b>windowTitle</b>(<i></i>) 1094 <b>windowTitle</b>(<i></i>)
1095
834 <p> 1096 <p>
835 Public method to get the path picker dialog's window title. 1097 Public method to get the path picker dialog's window title.
836 </p><dl> 1098 </p>
1099 <dl>
837 <dt>Returns:</dt> 1100 <dt>Returns:</dt>
838 <dd> 1101 <dd>
839 window title 1102 window title
840 </dd> 1103 </dd>
841 </dl><dl> 1104 </dl>
1105 <dl>
842 <dt>Return Type:</dt> 1106 <dt>Return Type:</dt>
843 <dd> 1107 <dd>
844 str 1108 str
845 </dd> 1109 </dd>
846 </dl> 1110 </dl>
847 <div align="right"><a href="#top">Up</a></div> 1111 <div align="right"><a href="#top">Up</a></div>
848 <hr /><hr /> 1112 <hr />
1113 <hr />
849 <a NAME="E5PathPickerModes" ID="E5PathPickerModes"></a> 1114 <a NAME="E5PathPickerModes" ID="E5PathPickerModes"></a>
850 <h2>E5PathPickerModes</h2> 1115 <h2>E5PathPickerModes</h2>
1116
851 <p> 1117 <p>
852 Class implementing the path picker modes. 1118 Class implementing the path picker modes.
853 </p> 1119 </p>
854 <h3>Derived from</h3> 1120 <h3>Derived from</h3>
855 Enum 1121 Enum
856 <h3>Class Attributes</h3> 1122 <h3>Class Attributes</h3>
1123
857 <table> 1124 <table>
858 <tr><td>CustomMode</td></tr><tr><td>DirectoryMode</td></tr><tr><td>DirectoryShowFilesMode</td></tr><tr><td>NoMode</td></tr><tr><td>OpenFileMode</td></tr><tr><td>OpenFilesMode</td></tr><tr><td>SaveFileEnsureExtensionMode</td></tr><tr><td>SaveFileMode</td></tr><tr><td>SaveFileOverwriteMode</td></tr> 1125 <tr><td>CustomMode</td></tr><tr><td>DirectoryMode</td></tr><tr><td>DirectoryShowFilesMode</td></tr><tr><td>NoMode</td></tr><tr><td>OpenFileMode</td></tr><tr><td>OpenFilesMode</td></tr><tr><td>SaveFileEnsureExtensionMode</td></tr><tr><td>SaveFileMode</td></tr><tr><td>SaveFileOverwriteMode</td></tr>
859 </table> 1126 </table>
860 <h3>Class Methods</h3> 1127 <h3>Class Methods</h3>
1128
861 <table> 1129 <table>
862 <tr><td>None</td></tr> 1130 <tr><td>None</td></tr>
863 </table> 1131 </table>
864 <h3>Methods</h3> 1132 <h3>Methods</h3>
1133
865 <table> 1134 <table>
866 <tr><td>None</td></tr> 1135 <tr><td>None</td></tr>
867 </table> 1136 </table>
868 <h3>Static Methods</h3> 1137 <h3>Static Methods</h3>
1138
869 <table> 1139 <table>
870 <tr><td>None</td></tr> 1140 <tr><td>None</td></tr>
871 </table> 1141 </table>
872 1142
873 <div align="right"><a href="#top">Up</a></div> 1143 <div align="right"><a href="#top">Up</a></div>

eric ide

mercurial