src/eric7/Documentation/Source/eric7.EricWidgets.EricPathPickerDialog.html

branch
eric7
changeset 10784
521fd465b048
parent 10479
856476537696
equal deleted inserted replaced
10783:ccf28bec1227 10784:521fd465b048
90 <tr> 90 <tr>
91 <td><a href="#EricPathPickerDialog.setPickerPath">setPickerPath</a></td> 91 <td><a href="#EricPathPickerDialog.setPickerPath">setPickerPath</a></td>
92 <td>Public method to set the path of the path picker.</td> 92 <td>Public method to set the path of the path picker.</td>
93 </tr> 93 </tr>
94 <tr> 94 <tr>
95 <td><a href="#EricPathPickerDialog.setPickerRemote">setPickerRemote</a></td>
96 <td>Public method to set the remote mode of the path picker.</td>
97 </tr>
98 <tr>
95 <td><a href="#EricPathPickerDialog.setTitle">setTitle</a></td> 99 <td><a href="#EricPathPickerDialog.setTitle">setTitle</a></td>
96 <td>Public method to set the window title.</td> 100 <td>Public method to set the window title.</td>
97 </tr> 101 </tr>
98 </table> 102 </table>
99 103
226 <dt><i>fpath</i> (str or pathlib.Path)</dt> 230 <dt><i>fpath</i> (str or pathlib.Path)</dt>
227 <dd> 231 <dd>
228 path to be set 232 path to be set
229 </dd> 233 </dd>
230 </dl> 234 </dl>
235 <a NAME="EricPathPickerDialog.setPickerRemote" ID="EricPathPickerDialog.setPickerRemote"></a>
236 <h4>EricPathPickerDialog.setPickerRemote</h4>
237 <b>setPickerRemote</b>(<i>remote</i>)
238 <p>
239 Public method to set the remote mode of the path picker.
240 </p>
241
242 <dl>
243
244 <dt><i>remote</i> (bool)</dt>
245 <dd>
246 flag indicating the remote mode
247 </dd>
248 </dl>
231 <a NAME="EricPathPickerDialog.setTitle" ID="EricPathPickerDialog.setTitle"></a> 249 <a NAME="EricPathPickerDialog.setTitle" ID="EricPathPickerDialog.setTitle"></a>
232 <h4>EricPathPickerDialog.setTitle</h4> 250 <h4>EricPathPickerDialog.setTitle</h4>
233 <b>setTitle</b>(<i>title</i>) 251 <b>setTitle</b>(<i>title</i>)
234 <p> 252 <p>
235 Public method to set the window title. 253 Public method to set the window title.
300 <div align="right"><a href="#top">Up</a></div> 318 <div align="right"><a href="#top">Up</a></div>
301 <hr /> 319 <hr />
302 <hr /> 320 <hr />
303 <a NAME="getStrPath" ID="getStrPath"></a> 321 <a NAME="getStrPath" ID="getStrPath"></a>
304 <h2>getStrPath</h2> 322 <h2>getStrPath</h2>
305 <b>getStrPath</b>(<i>parent, title, label, mode=EricPathPickerModes.OPEN_FILE_MODE, strPath=None, defaultDirectory=None, filters=None, </i>) 323 <b>getStrPath</b>(<i>parent, title, label, mode=EricPathPickerModes.OPEN_FILE_MODE, strPath=None, defaultDirectory=None, filters=None, remote=False, </i>)
306 <p> 324 <p>
307 Function to get a file or directory path from the user. 325 Function to get a file or directory path from the user.
308 </p> 326 </p>
309 327
310 <dl> 328 <dl>
336 </dd> 354 </dd>
337 <dt><i>filters</i> (list of str (optional))</dt> 355 <dt><i>filters</i> (list of str (optional))</dt>
338 <dd> 356 <dd>
339 list of file filters (defaults to None) 357 list of file filters (defaults to None)
340 </dd> 358 </dd>
359 <dt><i>remote</i> (bool (optional))</dt>
360 <dd>
361 flag indicating the remote mode (defaults to False)
362 </dd>
341 </dl> 363 </dl>
342 <dl> 364 <dl>
343 <dt>Return:</dt> 365 <dt>Return:</dt>
344 <dd> 366 <dd>
345 tuple containing the entered path and a flag indicating that the 367 tuple containing the entered path and a flag indicating that the

eric ide

mercurial