5 <link rel="stylesheet" href="styles.css"> |
5 <link rel="stylesheet" href="styles.css"> |
6 </head> |
6 </head> |
7 <body> |
7 <body> |
8 <a NAME="top" ID="top"></a> |
8 <a NAME="top" ID="top"></a> |
9 <h1>eric7.MicroPython.MicroPythonFileManagerWidget</h1> |
9 <h1>eric7.MicroPython.MicroPythonFileManagerWidget</h1> |
10 |
|
11 <p> |
10 <p> |
12 Module implementing a file manager for MicroPython devices. |
11 Module implementing a file manager for MicroPython devices. |
13 </p> |
12 </p> |
|
13 |
14 <h3>Global Attributes</h3> |
14 <h3>Global Attributes</h3> |
15 |
|
16 <table> |
15 <table> |
17 <tr><td>None</td></tr> |
16 <tr><td>None</td></tr> |
18 </table> |
17 </table> |
|
18 |
19 <h3>Classes</h3> |
19 <h3>Classes</h3> |
20 |
|
21 <table> |
20 <table> |
22 |
|
23 <tr> |
21 <tr> |
24 <td><a href="#MicroPythonFileManagerWidget">MicroPythonFileManagerWidget</a></td> |
22 <td><a href="#MicroPythonFileManagerWidget">MicroPythonFileManagerWidget</a></td> |
25 <td>Class implementing a file manager for MicroPython devices.</td> |
23 <td>Class implementing a file manager for MicroPython devices.</td> |
26 </tr> |
24 </tr> |
27 </table> |
25 </table> |
|
26 |
28 <h3>Functions</h3> |
27 <h3>Functions</h3> |
29 |
|
30 <table> |
28 <table> |
31 <tr><td>None</td></tr> |
29 <tr><td>None</td></tr> |
32 </table> |
30 </table> |
|
31 |
33 <hr /> |
32 <hr /> |
34 <hr /> |
33 <hr /> |
35 <a NAME="MicroPythonFileManagerWidget" ID="MicroPythonFileManagerWidget"></a> |
34 <a NAME="MicroPythonFileManagerWidget" ID="MicroPythonFileManagerWidget"></a> |
36 <h2>MicroPythonFileManagerWidget</h2> |
35 <h2>MicroPythonFileManagerWidget</h2> |
37 |
|
38 <p> |
36 <p> |
39 Class implementing a file manager for MicroPython devices. |
37 Class implementing a file manager for MicroPython devices. |
40 </p> |
38 </p> |
|
39 |
41 <h3>Derived from</h3> |
40 <h3>Derived from</h3> |
42 QWidget, Ui_MicroPythonFileManagerWidget |
41 QWidget, Ui_MicroPythonFileManagerWidget |
43 <h3>Class Attributes</h3> |
42 <h3>Class Attributes</h3> |
44 |
|
45 <table> |
43 <table> |
46 <tr><td>None</td></tr> |
44 <tr><td>None</td></tr> |
47 </table> |
45 </table> |
|
46 |
48 <h3>Class Methods</h3> |
47 <h3>Class Methods</h3> |
49 |
|
50 <table> |
48 <table> |
51 <tr><td>None</td></tr> |
49 <tr><td>None</td></tr> |
52 </table> |
50 </table> |
|
51 |
53 <h3>Methods</h3> |
52 <h3>Methods</h3> |
54 |
|
55 <table> |
53 <table> |
56 |
|
57 <tr> |
54 <tr> |
58 <td><a href="#MicroPythonFileManagerWidget.__init__">MicroPythonFileManagerWidget</a></td> |
55 <td><a href="#MicroPythonFileManagerWidget.__init__">MicroPythonFileManagerWidget</a></td> |
59 <td>Constructor</td> |
56 <td>Constructor</td> |
60 </tr> |
57 </tr> |
61 <tr> |
58 <tr> |
272 </dd> |
270 </dd> |
273 </dl> |
271 </dl> |
274 <a NAME="MicroPythonFileManagerWidget.__changeDeviceDirectory" ID="MicroPythonFileManagerWidget.__changeDeviceDirectory"></a> |
272 <a NAME="MicroPythonFileManagerWidget.__changeDeviceDirectory" ID="MicroPythonFileManagerWidget.__changeDeviceDirectory"></a> |
275 <h4>MicroPythonFileManagerWidget.__changeDeviceDirectory</h4> |
273 <h4>MicroPythonFileManagerWidget.__changeDeviceDirectory</h4> |
276 <b>__changeDeviceDirectory</b>(<i></i>) |
274 <b>__changeDeviceDirectory</b>(<i></i>) |
277 |
|
278 <p> |
275 <p> |
279 Private slot to change the current directory of the device. |
276 Private slot to change the current directory of the device. |
280 </p> |
277 </p> |
281 <p> |
278 <p> |
282 Note: This triggers a re-population of the device list for the new |
279 Note: This triggers a re-population of the device list for the new |
283 current directory. |
280 current directory. |
284 </p> |
281 </p> |
|
282 |
285 <a NAME="MicroPythonFileManagerWidget.__changeLocalDirectory" ID="MicroPythonFileManagerWidget.__changeLocalDirectory"></a> |
283 <a NAME="MicroPythonFileManagerWidget.__changeLocalDirectory" ID="MicroPythonFileManagerWidget.__changeLocalDirectory"></a> |
286 <h4>MicroPythonFileManagerWidget.__changeLocalDirectory</h4> |
284 <h4>MicroPythonFileManagerWidget.__changeLocalDirectory</h4> |
287 <b>__changeLocalDirectory</b>(<i>localDevice=False</i>) |
285 <b>__changeLocalDirectory</b>(<i>localDevice=False</i>) |
288 |
|
289 <p> |
286 <p> |
290 Private slot to change the local directory. |
287 Private slot to change the local directory. |
291 </p> |
288 </p> |
|
289 |
292 <dl> |
290 <dl> |
293 |
291 |
294 <dt><i>localDevice</i> (bool)</dt> |
292 <dt><i>localDevice</i> (bool)</dt> |
295 <dd> |
293 <dd> |
296 flag indicating device access via local file system |
294 flag indicating device access via local file system |
297 </dd> |
295 </dd> |
298 </dl> |
296 </dl> |
299 <a NAME="MicroPythonFileManagerWidget.__createDeviceDirectory" ID="MicroPythonFileManagerWidget.__createDeviceDirectory"></a> |
297 <a NAME="MicroPythonFileManagerWidget.__createDeviceDirectory" ID="MicroPythonFileManagerWidget.__createDeviceDirectory"></a> |
300 <h4>MicroPythonFileManagerWidget.__createDeviceDirectory</h4> |
298 <h4>MicroPythonFileManagerWidget.__createDeviceDirectory</h4> |
301 <b>__createDeviceDirectory</b>(<i></i>) |
299 <b>__createDeviceDirectory</b>(<i></i>) |
302 |
|
303 <p> |
300 <p> |
304 Private slot to create a directory on the device. |
301 Private slot to create a directory on the device. |
305 </p> |
302 </p> |
|
303 |
306 <a NAME="MicroPythonFileManagerWidget.__createLocalDirectory" ID="MicroPythonFileManagerWidget.__createLocalDirectory"></a> |
304 <a NAME="MicroPythonFileManagerWidget.__createLocalDirectory" ID="MicroPythonFileManagerWidget.__createLocalDirectory"></a> |
307 <h4>MicroPythonFileManagerWidget.__createLocalDirectory</h4> |
305 <h4>MicroPythonFileManagerWidget.__createLocalDirectory</h4> |
308 <b>__createLocalDirectory</b>(<i>localDevice=False</i>) |
306 <b>__createLocalDirectory</b>(<i>localDevice=False</i>) |
309 |
|
310 <p> |
307 <p> |
311 Private slot to create a local directory. |
308 Private slot to create a local directory. |
312 </p> |
309 </p> |
|
310 |
313 <dl> |
311 <dl> |
314 |
312 |
315 <dt><i>localDevice</i> (bool)</dt> |
313 <dt><i>localDevice</i> (bool)</dt> |
316 <dd> |
314 <dd> |
317 flag indicating device access via local file system |
315 flag indicating device access via local file system |
318 </dd> |
316 </dd> |
319 </dl> |
317 </dl> |
320 <a NAME="MicroPythonFileManagerWidget.__deleteDeviceDirectory" ID="MicroPythonFileManagerWidget.__deleteDeviceDirectory"></a> |
318 <a NAME="MicroPythonFileManagerWidget.__deleteDeviceDirectory" ID="MicroPythonFileManagerWidget.__deleteDeviceDirectory"></a> |
321 <h4>MicroPythonFileManagerWidget.__deleteDeviceDirectory</h4> |
319 <h4>MicroPythonFileManagerWidget.__deleteDeviceDirectory</h4> |
322 <b>__deleteDeviceDirectory</b>(<i></i>) |
320 <b>__deleteDeviceDirectory</b>(<i></i>) |
323 |
|
324 <p> |
321 <p> |
325 Private slot to delete an empty directory on the device. |
322 Private slot to delete an empty directory on the device. |
326 </p> |
323 </p> |
|
324 |
327 <a NAME="MicroPythonFileManagerWidget.__deleteDeviceDirectoryTree" ID="MicroPythonFileManagerWidget.__deleteDeviceDirectoryTree"></a> |
325 <a NAME="MicroPythonFileManagerWidget.__deleteDeviceDirectoryTree" ID="MicroPythonFileManagerWidget.__deleteDeviceDirectoryTree"></a> |
328 <h4>MicroPythonFileManagerWidget.__deleteDeviceDirectoryTree</h4> |
326 <h4>MicroPythonFileManagerWidget.__deleteDeviceDirectoryTree</h4> |
329 <b>__deleteDeviceDirectoryTree</b>(<i></i>) |
327 <b>__deleteDeviceDirectoryTree</b>(<i></i>) |
330 |
|
331 <p> |
328 <p> |
332 Private slot to delete a directory and all its subdirectories |
329 Private slot to delete a directory and all its subdirectories |
333 recursively. |
330 recursively. |
334 </p> |
331 </p> |
|
332 |
335 <a NAME="MicroPythonFileManagerWidget.__deleteDeviceFile" ID="MicroPythonFileManagerWidget.__deleteDeviceFile"></a> |
333 <a NAME="MicroPythonFileManagerWidget.__deleteDeviceFile" ID="MicroPythonFileManagerWidget.__deleteDeviceFile"></a> |
336 <h4>MicroPythonFileManagerWidget.__deleteDeviceFile</h4> |
334 <h4>MicroPythonFileManagerWidget.__deleteDeviceFile</h4> |
337 <b>__deleteDeviceFile</b>(<i></i>) |
335 <b>__deleteDeviceFile</b>(<i></i>) |
338 |
|
339 <p> |
336 <p> |
340 Private slot to delete a file. |
337 Private slot to delete a file. |
341 </p> |
338 </p> |
|
339 |
342 <a NAME="MicroPythonFileManagerWidget.__deleteLocalDirectoryTree" ID="MicroPythonFileManagerWidget.__deleteLocalDirectoryTree"></a> |
340 <a NAME="MicroPythonFileManagerWidget.__deleteLocalDirectoryTree" ID="MicroPythonFileManagerWidget.__deleteLocalDirectoryTree"></a> |
343 <h4>MicroPythonFileManagerWidget.__deleteLocalDirectoryTree</h4> |
341 <h4>MicroPythonFileManagerWidget.__deleteLocalDirectoryTree</h4> |
344 <b>__deleteLocalDirectoryTree</b>(<i>localDevice=False</i>) |
342 <b>__deleteLocalDirectoryTree</b>(<i>localDevice=False</i>) |
345 |
|
346 <p> |
343 <p> |
347 Private slot to delete a local directory tree. |
344 Private slot to delete a local directory tree. |
348 </p> |
345 </p> |
|
346 |
349 <dl> |
347 <dl> |
350 |
348 |
351 <dt><i>localDevice</i> (bool)</dt> |
349 <dt><i>localDevice</i> (bool)</dt> |
352 <dd> |
350 <dd> |
353 flag indicating device access via local file system |
351 flag indicating device access via local file system |
354 </dd> |
352 </dd> |
355 </dl> |
353 </dl> |
356 <a NAME="MicroPythonFileManagerWidget.__deleteLocalFile" ID="MicroPythonFileManagerWidget.__deleteLocalFile"></a> |
354 <a NAME="MicroPythonFileManagerWidget.__deleteLocalFile" ID="MicroPythonFileManagerWidget.__deleteLocalFile"></a> |
357 <h4>MicroPythonFileManagerWidget.__deleteLocalFile</h4> |
355 <h4>MicroPythonFileManagerWidget.__deleteLocalFile</h4> |
358 <b>__deleteLocalFile</b>(<i>localDevice=False</i>) |
356 <b>__deleteLocalFile</b>(<i>localDevice=False</i>) |
359 |
|
360 <p> |
357 <p> |
361 Private slot to delete a local file. |
358 Private slot to delete a local file. |
362 </p> |
359 </p> |
|
360 |
363 <dl> |
361 <dl> |
364 |
362 |
365 <dt><i>localDevice</i> (bool)</dt> |
363 <dt><i>localDevice</i> (bool)</dt> |
366 <dd> |
364 <dd> |
367 flag indicating device access via local file system |
365 flag indicating device access via local file system |
368 </dd> |
366 </dd> |
369 </dl> |
367 </dl> |
370 <a NAME="MicroPythonFileManagerWidget.__deviceHiddenChanged" ID="MicroPythonFileManagerWidget.__deviceHiddenChanged"></a> |
368 <a NAME="MicroPythonFileManagerWidget.__deviceHiddenChanged" ID="MicroPythonFileManagerWidget.__deviceHiddenChanged"></a> |
371 <h4>MicroPythonFileManagerWidget.__deviceHiddenChanged</h4> |
369 <h4>MicroPythonFileManagerWidget.__deviceHiddenChanged</h4> |
372 <b>__deviceHiddenChanged</b>(<i>checked</i>) |
370 <b>__deviceHiddenChanged</b>(<i>checked</i>) |
373 |
|
374 <p> |
371 <p> |
375 Private slot handling a change of the device show hidden menu entry. |
372 Private slot handling a change of the device show hidden menu entry. |
376 </p> |
373 </p> |
|
374 |
377 <dl> |
375 <dl> |
378 |
376 |
379 <dt><i>checked</i> (bool)</dt> |
377 <dt><i>checked</i> (bool)</dt> |
380 <dd> |
378 <dd> |
381 new check state of the action |
379 new check state of the action |
382 </dd> |
380 </dd> |
383 </dl> |
381 </dl> |
384 <a NAME="MicroPythonFileManagerWidget.__fsInfoResultReceived" ID="MicroPythonFileManagerWidget.__fsInfoResultReceived"></a> |
382 <a NAME="MicroPythonFileManagerWidget.__fsInfoResultReceived" ID="MicroPythonFileManagerWidget.__fsInfoResultReceived"></a> |
385 <h4>MicroPythonFileManagerWidget.__fsInfoResultReceived</h4> |
383 <h4>MicroPythonFileManagerWidget.__fsInfoResultReceived</h4> |
386 <b>__fsInfoResultReceived</b>(<i>fsinfo</i>) |
384 <b>__fsInfoResultReceived</b>(<i>fsinfo</i>) |
387 |
|
388 <p> |
385 <p> |
389 Private slot to show the file system information of the device. |
386 Private slot to show the file system information of the device. |
390 </p> |
387 </p> |
|
388 |
391 <dl> |
389 <dl> |
392 |
390 |
393 <dt><i>fsinfo</i> (tuple of tuples of (str, int, int, int))</dt> |
391 <dt><i>fsinfo</i> (tuple of tuples of (str, int, int, int))</dt> |
394 <dd> |
392 <dd> |
395 tuple of tuples containing the file system name, the |
393 tuple of tuples containing the file system name, the |
542 </dd> |
540 </dd> |
543 </dl> |
541 </dl> |
544 <a NAME="MicroPythonFileManagerWidget.__localHiddenChanged" ID="MicroPythonFileManagerWidget.__localHiddenChanged"></a> |
542 <a NAME="MicroPythonFileManagerWidget.__localHiddenChanged" ID="MicroPythonFileManagerWidget.__localHiddenChanged"></a> |
545 <h4>MicroPythonFileManagerWidget.__localHiddenChanged</h4> |
543 <h4>MicroPythonFileManagerWidget.__localHiddenChanged</h4> |
546 <b>__localHiddenChanged</b>(<i>checked</i>) |
544 <b>__localHiddenChanged</b>(<i>checked</i>) |
547 |
|
548 <p> |
545 <p> |
549 Private slot handling a change of the local show hidden menu entry. |
546 Private slot handling a change of the local show hidden menu entry. |
550 </p> |
547 </p> |
|
548 |
551 <dl> |
549 <dl> |
552 |
550 |
553 <dt><i>checked</i> (bool)</dt> |
551 <dt><i>checked</i> (bool)</dt> |
554 <dd> |
552 <dd> |
555 new check state of the action |
553 new check state of the action |
556 </dd> |
554 </dd> |
557 </dl> |
555 </dl> |
558 <a NAME="MicroPythonFileManagerWidget.__newDeviceList" ID="MicroPythonFileManagerWidget.__newDeviceList"></a> |
556 <a NAME="MicroPythonFileManagerWidget.__newDeviceList" ID="MicroPythonFileManagerWidget.__newDeviceList"></a> |
559 <h4>MicroPythonFileManagerWidget.__newDeviceList</h4> |
557 <h4>MicroPythonFileManagerWidget.__newDeviceList</h4> |
560 <b>__newDeviceList</b>(<i></i>) |
558 <b>__newDeviceList</b>(<i></i>) |
561 |
|
562 <p> |
559 <p> |
563 Private slot to initiate a new long list of the device directory. |
560 Private slot to initiate a new long list of the device directory. |
564 </p> |
561 </p> |
|
562 |
565 <a NAME="MicroPythonFileManagerWidget.__progressInfoDialogFinished" ID="MicroPythonFileManagerWidget.__progressInfoDialogFinished"></a> |
563 <a NAME="MicroPythonFileManagerWidget.__progressInfoDialogFinished" ID="MicroPythonFileManagerWidget.__progressInfoDialogFinished"></a> |
566 <h4>MicroPythonFileManagerWidget.__progressInfoDialogFinished</h4> |
564 <h4>MicroPythonFileManagerWidget.__progressInfoDialogFinished</h4> |
567 <b>__progressInfoDialogFinished</b>(<i></i>) |
565 <b>__progressInfoDialogFinished</b>(<i></i>) |
568 |
|
569 <p> |
566 <p> |
570 Private slot handling the closing of the progress info dialog. |
567 Private slot handling the closing of the progress info dialog. |
571 </p> |
568 </p> |
|
569 |
572 <a NAME="MicroPythonFileManagerWidget.__showDeviceContextMenu" ID="MicroPythonFileManagerWidget.__showDeviceContextMenu"></a> |
570 <a NAME="MicroPythonFileManagerWidget.__showDeviceContextMenu" ID="MicroPythonFileManagerWidget.__showDeviceContextMenu"></a> |
573 <h4>MicroPythonFileManagerWidget.__showDeviceContextMenu</h4> |
571 <h4>MicroPythonFileManagerWidget.__showDeviceContextMenu</h4> |
574 <b>__showDeviceContextMenu</b>(<i>pos</i>) |
572 <b>__showDeviceContextMenu</b>(<i>pos</i>) |
575 |
|
576 <p> |
573 <p> |
577 Private slot to show the REPL context menu. |
574 Private slot to show the REPL context menu. |
578 </p> |
575 </p> |
|
576 |
579 <dl> |
577 <dl> |
580 |
578 |
581 <dt><i>pos</i> (QPoint)</dt> |
579 <dt><i>pos</i> (QPoint)</dt> |
582 <dd> |
580 <dd> |
583 position to show the menu at |
581 position to show the menu at |
584 </dd> |
582 </dd> |
585 </dl> |
583 </dl> |
586 <a NAME="MicroPythonFileManagerWidget.__showFileSystemInfo" ID="MicroPythonFileManagerWidget.__showFileSystemInfo"></a> |
584 <a NAME="MicroPythonFileManagerWidget.__showFileSystemInfo" ID="MicroPythonFileManagerWidget.__showFileSystemInfo"></a> |
587 <h4>MicroPythonFileManagerWidget.__showFileSystemInfo</h4> |
585 <h4>MicroPythonFileManagerWidget.__showFileSystemInfo</h4> |
588 <b>__showFileSystemInfo</b>(<i></i>) |
586 <b>__showFileSystemInfo</b>(<i></i>) |
589 |
|
590 <p> |
587 <p> |
591 Private slot to show some file system information. |
588 Private slot to show some file system information. |
592 </p> |
589 </p> |
|
590 |
593 <a NAME="MicroPythonFileManagerWidget.__showLocalContextMenu" ID="MicroPythonFileManagerWidget.__showLocalContextMenu"></a> |
591 <a NAME="MicroPythonFileManagerWidget.__showLocalContextMenu" ID="MicroPythonFileManagerWidget.__showLocalContextMenu"></a> |
594 <h4>MicroPythonFileManagerWidget.__showLocalContextMenu</h4> |
592 <h4>MicroPythonFileManagerWidget.__showLocalContextMenu</h4> |
595 <b>__showLocalContextMenu</b>(<i>pos</i>) |
593 <b>__showLocalContextMenu</b>(<i>pos</i>) |
596 |
|
597 <p> |
594 <p> |
598 Private slot to show the REPL context menu. |
595 Private slot to show the REPL context menu. |
599 </p> |
596 </p> |
|
597 |
600 <dl> |
598 <dl> |
601 |
599 |
602 <dt><i>pos</i> (QPoint)</dt> |
600 <dt><i>pos</i> (QPoint)</dt> |
603 <dd> |
601 <dd> |
604 position to show the menu at |
602 position to show the menu at |
605 </dd> |
603 </dd> |
606 </dl> |
604 </dl> |
607 <a NAME="MicroPythonFileManagerWidget.on_deviceCwd_textChanged" ID="MicroPythonFileManagerWidget.on_deviceCwd_textChanged"></a> |
605 <a NAME="MicroPythonFileManagerWidget.on_deviceCwd_textChanged" ID="MicroPythonFileManagerWidget.on_deviceCwd_textChanged"></a> |
608 <h4>MicroPythonFileManagerWidget.on_deviceCwd_textChanged</h4> |
606 <h4>MicroPythonFileManagerWidget.on_deviceCwd_textChanged</h4> |
609 <b>on_deviceCwd_textChanged</b>(<i>cwd</i>) |
607 <b>on_deviceCwd_textChanged</b>(<i>cwd</i>) |
610 |
|
611 <p> |
608 <p> |
612 Private slot handling a change of the current device working directory. |
609 Private slot handling a change of the current device working directory. |
613 </p> |
610 </p> |
|
611 |
614 <dl> |
612 <dl> |
615 |
613 |
616 <dt><i>cwd</i> (str)</dt> |
614 <dt><i>cwd</i> (str)</dt> |
617 <dd> |
615 <dd> |
618 current device working directory |
616 current device working directory |
619 </dd> |
617 </dd> |
620 </dl> |
618 </dl> |
621 <a NAME="MicroPythonFileManagerWidget.on_deviceFileTreeWidget_itemActivated" ID="MicroPythonFileManagerWidget.on_deviceFileTreeWidget_itemActivated"></a> |
619 <a NAME="MicroPythonFileManagerWidget.on_deviceFileTreeWidget_itemActivated" ID="MicroPythonFileManagerWidget.on_deviceFileTreeWidget_itemActivated"></a> |
622 <h4>MicroPythonFileManagerWidget.on_deviceFileTreeWidget_itemActivated</h4> |
620 <h4>MicroPythonFileManagerWidget.on_deviceFileTreeWidget_itemActivated</h4> |
623 <b>on_deviceFileTreeWidget_itemActivated</b>(<i>item, column</i>) |
621 <b>on_deviceFileTreeWidget_itemActivated</b>(<i>item, column</i>) |
624 |
|
625 <p> |
622 <p> |
626 Private slot to handle the activation of a device item. |
623 Private slot to handle the activation of a device item. |
627 </p> |
624 </p> |
628 <p> |
625 <p> |
629 If the item is a directory, the current working directory is changed |
626 If the item is a directory, the current working directory is changed |
630 and the list will be re-populated for this directory. |
627 and the list will be re-populated for this directory. |
631 </p> |
628 </p> |
|
629 |
632 <dl> |
630 <dl> |
633 |
631 |
634 <dt><i>item</i> (QTreeWidgetItem)</dt> |
632 <dt><i>item</i> (QTreeWidgetItem)</dt> |
635 <dd> |
633 <dd> |
636 reference to the activated item |
634 reference to the activated item |
641 </dd> |
639 </dd> |
642 </dl> |
640 </dl> |
643 <a NAME="MicroPythonFileManagerWidget.on_deviceFileTreeWidget_itemSelectionChanged" ID="MicroPythonFileManagerWidget.on_deviceFileTreeWidget_itemSelectionChanged"></a> |
641 <a NAME="MicroPythonFileManagerWidget.on_deviceFileTreeWidget_itemSelectionChanged" ID="MicroPythonFileManagerWidget.on_deviceFileTreeWidget_itemSelectionChanged"></a> |
644 <h4>MicroPythonFileManagerWidget.on_deviceFileTreeWidget_itemSelectionChanged</h4> |
642 <h4>MicroPythonFileManagerWidget.on_deviceFileTreeWidget_itemSelectionChanged</h4> |
645 <b>on_deviceFileTreeWidget_itemSelectionChanged</b>(<i></i>) |
643 <b>on_deviceFileTreeWidget_itemSelectionChanged</b>(<i></i>) |
646 |
|
647 <p> |
644 <p> |
648 Private slot handling a change of selection in the local pane. |
645 Private slot handling a change of selection in the local pane. |
649 </p> |
646 </p> |
|
647 |
650 <a NAME="MicroPythonFileManagerWidget.on_deviceHomeButton_clicked" ID="MicroPythonFileManagerWidget.on_deviceHomeButton_clicked"></a> |
648 <a NAME="MicroPythonFileManagerWidget.on_deviceHomeButton_clicked" ID="MicroPythonFileManagerWidget.on_deviceHomeButton_clicked"></a> |
651 <h4>MicroPythonFileManagerWidget.on_deviceHomeButton_clicked</h4> |
649 <h4>MicroPythonFileManagerWidget.on_deviceHomeButton_clicked</h4> |
652 <b>on_deviceHomeButton_clicked</b>(<i></i>) |
650 <b>on_deviceHomeButton_clicked</b>(<i></i>) |
653 |
|
654 <p> |
651 <p> |
655 Private slot to move to the device home directory. |
652 Private slot to move to the device home directory. |
656 </p> |
653 </p> |
|
654 |
657 <a NAME="MicroPythonFileManagerWidget.on_deviceReloadButton_clicked" ID="MicroPythonFileManagerWidget.on_deviceReloadButton_clicked"></a> |
655 <a NAME="MicroPythonFileManagerWidget.on_deviceReloadButton_clicked" ID="MicroPythonFileManagerWidget.on_deviceReloadButton_clicked"></a> |
658 <h4>MicroPythonFileManagerWidget.on_deviceReloadButton_clicked</h4> |
656 <h4>MicroPythonFileManagerWidget.on_deviceReloadButton_clicked</h4> |
659 <b>on_deviceReloadButton_clicked</b>(<i></i>) |
657 <b>on_deviceReloadButton_clicked</b>(<i></i>) |
660 |
|
661 <p> |
658 <p> |
662 Private slot to reload the device list. |
659 Private slot to reload the device list. |
663 </p> |
660 </p> |
|
661 |
664 <a NAME="MicroPythonFileManagerWidget.on_deviceUpButton_clicked" ID="MicroPythonFileManagerWidget.on_deviceUpButton_clicked"></a> |
662 <a NAME="MicroPythonFileManagerWidget.on_deviceUpButton_clicked" ID="MicroPythonFileManagerWidget.on_deviceUpButton_clicked"></a> |
665 <h4>MicroPythonFileManagerWidget.on_deviceUpButton_clicked</h4> |
663 <h4>MicroPythonFileManagerWidget.on_deviceUpButton_clicked</h4> |
666 <b>on_deviceUpButton_clicked</b>(<i></i>) |
664 <b>on_deviceUpButton_clicked</b>(<i></i>) |
667 |
|
668 <p> |
665 <p> |
669 Private slot to go up one directory level on the device. |
666 Private slot to go up one directory level on the device. |
670 </p> |
667 </p> |
|
668 |
671 <a NAME="MicroPythonFileManagerWidget.on_getAsButton_clicked" ID="MicroPythonFileManagerWidget.on_getAsButton_clicked"></a> |
669 <a NAME="MicroPythonFileManagerWidget.on_getAsButton_clicked" ID="MicroPythonFileManagerWidget.on_getAsButton_clicked"></a> |
672 <h4>MicroPythonFileManagerWidget.on_getAsButton_clicked</h4> |
670 <h4>MicroPythonFileManagerWidget.on_getAsButton_clicked</h4> |
673 <b>on_getAsButton_clicked</b>(<i></i>) |
671 <b>on_getAsButton_clicked</b>(<i></i>) |
674 |
|
675 <p> |
672 <p> |
676 Private slot to copy the selected file from the connected device |
673 Private slot to copy the selected file from the connected device |
677 with a different name. |
674 with a different name. |
678 </p> |
675 </p> |
|
676 |
679 <a NAME="MicroPythonFileManagerWidget.on_getButton_clicked" ID="MicroPythonFileManagerWidget.on_getButton_clicked"></a> |
677 <a NAME="MicroPythonFileManagerWidget.on_getButton_clicked" ID="MicroPythonFileManagerWidget.on_getButton_clicked"></a> |
680 <h4>MicroPythonFileManagerWidget.on_getButton_clicked</h4> |
678 <h4>MicroPythonFileManagerWidget.on_getButton_clicked</h4> |
681 <b>on_getButton_clicked</b>(<i>getAs=False</i>) |
679 <b>on_getButton_clicked</b>(<i>getAs=False</i>) |
682 |
|
683 <p> |
680 <p> |
684 Private slot to copy the selected file from the connected device. |
681 Private slot to copy the selected file from the connected device. |
685 </p> |
682 </p> |
|
683 |
686 <dl> |
684 <dl> |
687 |
685 |
688 <dt><i>getAs</i> (bool)</dt> |
686 <dt><i>getAs</i> (bool)</dt> |
689 <dd> |
687 <dd> |
690 flag indicating to give it a new name |
688 flag indicating to give it a new name |
691 </dd> |
689 </dd> |
692 </dl> |
690 </dl> |
693 <a NAME="MicroPythonFileManagerWidget.on_localCwd_textChanged" ID="MicroPythonFileManagerWidget.on_localCwd_textChanged"></a> |
691 <a NAME="MicroPythonFileManagerWidget.on_localCwd_textChanged" ID="MicroPythonFileManagerWidget.on_localCwd_textChanged"></a> |
694 <h4>MicroPythonFileManagerWidget.on_localCwd_textChanged</h4> |
692 <h4>MicroPythonFileManagerWidget.on_localCwd_textChanged</h4> |
695 <b>on_localCwd_textChanged</b>(<i>cwd</i>) |
693 <b>on_localCwd_textChanged</b>(<i>cwd</i>) |
696 |
|
697 <p> |
694 <p> |
698 Private slot handling a change of the current local working directory. |
695 Private slot handling a change of the current local working directory. |
699 </p> |
696 </p> |
|
697 |
700 <dl> |
698 <dl> |
701 |
699 |
702 <dt><i>cwd</i> (str)</dt> |
700 <dt><i>cwd</i> (str)</dt> |
703 <dd> |
701 <dd> |
704 current local working directory |
702 current local working directory |
705 </dd> |
703 </dd> |
706 </dl> |
704 </dl> |
707 <a NAME="MicroPythonFileManagerWidget.on_localFileTreeWidget_itemActivated" ID="MicroPythonFileManagerWidget.on_localFileTreeWidget_itemActivated"></a> |
705 <a NAME="MicroPythonFileManagerWidget.on_localFileTreeWidget_itemActivated" ID="MicroPythonFileManagerWidget.on_localFileTreeWidget_itemActivated"></a> |
708 <h4>MicroPythonFileManagerWidget.on_localFileTreeWidget_itemActivated</h4> |
706 <h4>MicroPythonFileManagerWidget.on_localFileTreeWidget_itemActivated</h4> |
709 <b>on_localFileTreeWidget_itemActivated</b>(<i>item, column</i>) |
707 <b>on_localFileTreeWidget_itemActivated</b>(<i>item, column</i>) |
710 |
|
711 <p> |
708 <p> |
712 Private slot to handle the activation of a local item. |
709 Private slot to handle the activation of a local item. |
713 </p> |
710 </p> |
714 <p> |
711 <p> |
715 If the item is a directory, the list will be re-populated for this |
712 If the item is a directory, the list will be re-populated for this |
716 directory. |
713 directory. |
717 </p> |
714 </p> |
|
715 |
718 <dl> |
716 <dl> |
719 |
717 |
720 <dt><i>item</i> (QTreeWidgetItem)</dt> |
718 <dt><i>item</i> (QTreeWidgetItem)</dt> |
721 <dd> |
719 <dd> |
722 reference to the activated item |
720 reference to the activated item |
727 </dd> |
725 </dd> |
728 </dl> |
726 </dl> |
729 <a NAME="MicroPythonFileManagerWidget.on_localFileTreeWidget_itemSelectionChanged" ID="MicroPythonFileManagerWidget.on_localFileTreeWidget_itemSelectionChanged"></a> |
727 <a NAME="MicroPythonFileManagerWidget.on_localFileTreeWidget_itemSelectionChanged" ID="MicroPythonFileManagerWidget.on_localFileTreeWidget_itemSelectionChanged"></a> |
730 <h4>MicroPythonFileManagerWidget.on_localFileTreeWidget_itemSelectionChanged</h4> |
728 <h4>MicroPythonFileManagerWidget.on_localFileTreeWidget_itemSelectionChanged</h4> |
731 <b>on_localFileTreeWidget_itemSelectionChanged</b>(<i></i>) |
729 <b>on_localFileTreeWidget_itemSelectionChanged</b>(<i></i>) |
732 |
|
733 <p> |
730 <p> |
734 Private slot handling a change of selection in the local pane. |
731 Private slot handling a change of selection in the local pane. |
735 </p> |
732 </p> |
|
733 |
736 <a NAME="MicroPythonFileManagerWidget.on_localHomeButton_clicked" ID="MicroPythonFileManagerWidget.on_localHomeButton_clicked"></a> |
734 <a NAME="MicroPythonFileManagerWidget.on_localHomeButton_clicked" ID="MicroPythonFileManagerWidget.on_localHomeButton_clicked"></a> |
737 <h4>MicroPythonFileManagerWidget.on_localHomeButton_clicked</h4> |
735 <h4>MicroPythonFileManagerWidget.on_localHomeButton_clicked</h4> |
738 <b>on_localHomeButton_clicked</b>(<i></i>) |
736 <b>on_localHomeButton_clicked</b>(<i></i>) |
739 |
|
740 <p> |
737 <p> |
741 Private slot to change directory to the configured workspace. |
738 Private slot to change directory to the configured workspace. |
742 </p> |
739 </p> |
|
740 |
743 <a NAME="MicroPythonFileManagerWidget.on_localReloadButton_clicked" ID="MicroPythonFileManagerWidget.on_localReloadButton_clicked"></a> |
741 <a NAME="MicroPythonFileManagerWidget.on_localReloadButton_clicked" ID="MicroPythonFileManagerWidget.on_localReloadButton_clicked"></a> |
744 <h4>MicroPythonFileManagerWidget.on_localReloadButton_clicked</h4> |
742 <h4>MicroPythonFileManagerWidget.on_localReloadButton_clicked</h4> |
745 <b>on_localReloadButton_clicked</b>(<i></i>) |
743 <b>on_localReloadButton_clicked</b>(<i></i>) |
746 |
|
747 <p> |
744 <p> |
748 Private slot to reload the local list. |
745 Private slot to reload the local list. |
749 </p> |
746 </p> |
|
747 |
750 <a NAME="MicroPythonFileManagerWidget.on_localUpButton_clicked" ID="MicroPythonFileManagerWidget.on_localUpButton_clicked"></a> |
748 <a NAME="MicroPythonFileManagerWidget.on_localUpButton_clicked" ID="MicroPythonFileManagerWidget.on_localUpButton_clicked"></a> |
751 <h4>MicroPythonFileManagerWidget.on_localUpButton_clicked</h4> |
749 <h4>MicroPythonFileManagerWidget.on_localUpButton_clicked</h4> |
752 <b>on_localUpButton_clicked</b>(<i></i>) |
750 <b>on_localUpButton_clicked</b>(<i></i>) |
753 |
|
754 <p> |
751 <p> |
755 Private slot to go up one directory level. |
752 Private slot to go up one directory level. |
756 </p> |
753 </p> |
|
754 |
757 <a NAME="MicroPythonFileManagerWidget.on_openButton_clicked" ID="MicroPythonFileManagerWidget.on_openButton_clicked"></a> |
755 <a NAME="MicroPythonFileManagerWidget.on_openButton_clicked" ID="MicroPythonFileManagerWidget.on_openButton_clicked"></a> |
758 <h4>MicroPythonFileManagerWidget.on_openButton_clicked</h4> |
756 <h4>MicroPythonFileManagerWidget.on_openButton_clicked</h4> |
759 <b>on_openButton_clicked</b>(<i></i>) |
757 <b>on_openButton_clicked</b>(<i></i>) |
760 |
|
761 <p> |
758 <p> |
762 Private slot to open the selected file in a new editor. |
759 Private slot to open the selected file in a new editor. |
763 </p> |
760 </p> |
|
761 |
764 <a NAME="MicroPythonFileManagerWidget.on_putAsButton_clicked" ID="MicroPythonFileManagerWidget.on_putAsButton_clicked"></a> |
762 <a NAME="MicroPythonFileManagerWidget.on_putAsButton_clicked" ID="MicroPythonFileManagerWidget.on_putAsButton_clicked"></a> |
765 <h4>MicroPythonFileManagerWidget.on_putAsButton_clicked</h4> |
763 <h4>MicroPythonFileManagerWidget.on_putAsButton_clicked</h4> |
766 <b>on_putAsButton_clicked</b>(<i></i>) |
764 <b>on_putAsButton_clicked</b>(<i></i>) |
767 |
|
768 <p> |
765 <p> |
769 Private slot to copy the selected file to the connected device |
766 Private slot to copy the selected file to the connected device |
770 with a different name. |
767 with a different name. |
771 </p> |
768 </p> |
|
769 |
772 <a NAME="MicroPythonFileManagerWidget.on_putButton_clicked" ID="MicroPythonFileManagerWidget.on_putButton_clicked"></a> |
770 <a NAME="MicroPythonFileManagerWidget.on_putButton_clicked" ID="MicroPythonFileManagerWidget.on_putButton_clicked"></a> |
773 <h4>MicroPythonFileManagerWidget.on_putButton_clicked</h4> |
771 <h4>MicroPythonFileManagerWidget.on_putButton_clicked</h4> |
774 <b>on_putButton_clicked</b>(<i>putAs=False</i>) |
772 <b>on_putButton_clicked</b>(<i>putAs=False</i>) |
775 |
|
776 <p> |
773 <p> |
777 Private slot to copy the selected file to the connected device. |
774 Private slot to copy the selected file to the connected device. |
778 </p> |
775 </p> |
|
776 |
779 <dl> |
777 <dl> |
780 |
778 |
781 <dt><i>putAs</i> (bool)</dt> |
779 <dt><i>putAs</i> (bool)</dt> |
782 <dd> |
780 <dd> |
783 flag indicating to give it a new name |
781 flag indicating to give it a new name |
784 </dd> |
782 </dd> |
785 </dl> |
783 </dl> |
786 <a NAME="MicroPythonFileManagerWidget.on_saveAsButton_clicked" ID="MicroPythonFileManagerWidget.on_saveAsButton_clicked"></a> |
784 <a NAME="MicroPythonFileManagerWidget.on_saveAsButton_clicked" ID="MicroPythonFileManagerWidget.on_saveAsButton_clicked"></a> |
787 <h4>MicroPythonFileManagerWidget.on_saveAsButton_clicked</h4> |
785 <h4>MicroPythonFileManagerWidget.on_saveAsButton_clicked</h4> |
788 <b>on_saveAsButton_clicked</b>(<i></i>) |
786 <b>on_saveAsButton_clicked</b>(<i></i>) |
789 |
|
790 <p> |
787 <p> |
791 Private slot to save the current editor in a new file on the connected device. |
788 Private slot to save the current editor in a new file on the connected device. |
792 </p> |
789 </p> |
|
790 |
793 <a NAME="MicroPythonFileManagerWidget.on_saveButton_clicked" ID="MicroPythonFileManagerWidget.on_saveButton_clicked"></a> |
791 <a NAME="MicroPythonFileManagerWidget.on_saveButton_clicked" ID="MicroPythonFileManagerWidget.on_saveButton_clicked"></a> |
794 <h4>MicroPythonFileManagerWidget.on_saveButton_clicked</h4> |
792 <h4>MicroPythonFileManagerWidget.on_saveButton_clicked</h4> |
795 <b>on_saveButton_clicked</b>(<i>saveAs=False</i>) |
793 <b>on_saveButton_clicked</b>(<i>saveAs=False</i>) |
796 |
|
797 <p> |
794 <p> |
798 Private slot to save the text of the current editor to a file on the device. |
795 Private slot to save the text of the current editor to a file on the device. |
799 </p> |
796 </p> |
|
797 |
800 <dl> |
798 <dl> |
801 |
799 |
802 <dt><i>saveAs</i> (bool)</dt> |
800 <dt><i>saveAs</i> (bool)</dt> |
803 <dd> |
801 <dd> |
804 flag indicating to save the file with a new name |
802 flag indicating to save the file with a new name |
805 </dd> |
803 </dd> |
806 </dl> |
804 </dl> |
807 <a NAME="MicroPythonFileManagerWidget.on_syncButton_clicked" ID="MicroPythonFileManagerWidget.on_syncButton_clicked"></a> |
805 <a NAME="MicroPythonFileManagerWidget.on_syncButton_clicked" ID="MicroPythonFileManagerWidget.on_syncButton_clicked"></a> |
808 <h4>MicroPythonFileManagerWidget.on_syncButton_clicked</h4> |
806 <h4>MicroPythonFileManagerWidget.on_syncButton_clicked</h4> |
809 <b>on_syncButton_clicked</b>(<i></i>) |
807 <b>on_syncButton_clicked</b>(<i></i>) |
810 |
|
811 <p> |
808 <p> |
812 Private slot to synchronize the local directory to the device. |
809 Private slot to synchronize the local directory to the device. |
813 </p> |
810 </p> |
|
811 |
814 <a NAME="MicroPythonFileManagerWidget.start" ID="MicroPythonFileManagerWidget.start"></a> |
812 <a NAME="MicroPythonFileManagerWidget.start" ID="MicroPythonFileManagerWidget.start"></a> |
815 <h4>MicroPythonFileManagerWidget.start</h4> |
813 <h4>MicroPythonFileManagerWidget.start</h4> |
816 <b>start</b>(<i></i>) |
814 <b>start</b>(<i></i>) |
817 |
|
818 <p> |
815 <p> |
819 Public method to start the widget. |
816 Public method to start the widget. |
820 </p> |
817 </p> |
|
818 |
821 <a NAME="MicroPythonFileManagerWidget.stop" ID="MicroPythonFileManagerWidget.stop"></a> |
819 <a NAME="MicroPythonFileManagerWidget.stop" ID="MicroPythonFileManagerWidget.stop"></a> |
822 <h4>MicroPythonFileManagerWidget.stop</h4> |
820 <h4>MicroPythonFileManagerWidget.stop</h4> |
823 <b>stop</b>(<i></i>) |
821 <b>stop</b>(<i></i>) |
824 |
|
825 <p> |
822 <p> |
826 Public method to stop the widget. |
823 Public method to stop the widget. |
827 </p> |
824 </p> |
|
825 |
828 <div align="right"><a href="#top">Up</a></div> |
826 <div align="right"><a href="#top">Up</a></div> |
829 <hr /> |
827 <hr /> |
830 </body></html> |
828 </body></html> |