src/eric7/Documentation/Source/eric7.MicroPython.MicroPythonFileManagerWidget.html

branch
eric7
changeset 10523
e4069ddd7dc7
parent 10515
6e790462348a
child 10690
fab36645aa7d
equal deleted inserted replaced
10522:c04e878aa308 10523:e4069ddd7dc7
62 <tr> 62 <tr>
63 <td><a href="#MicroPythonFileManagerWidget.__changeLocalDirectory">__changeLocalDirectory</a></td> 63 <td><a href="#MicroPythonFileManagerWidget.__changeLocalDirectory">__changeLocalDirectory</a></td>
64 <td>Private slot to change the local directory.</td> 64 <td>Private slot to change the local directory.</td>
65 </tr> 65 </tr>
66 <tr> 66 <tr>
67 <td><a href="#MicroPythonFileManagerWidget.__clearDeviceSelection">__clearDeviceSelection</a></td>
68 <td>Private slot to clear the local selection.</td>
69 </tr>
70 <tr>
71 <td><a href="#MicroPythonFileManagerWidget.__clearLocalSelection">__clearLocalSelection</a></td>
72 <td>Private slot to clear the local selection.</td>
73 </tr>
74 <tr>
67 <td><a href="#MicroPythonFileManagerWidget.__createDeviceDirectory">__createDeviceDirectory</a></td> 75 <td><a href="#MicroPythonFileManagerWidget.__createDeviceDirectory">__createDeviceDirectory</a></td>
68 <td>Private slot to create a directory on the device.</td> 76 <td>Private slot to create a directory on the device.</td>
69 </tr> 77 </tr>
70 <tr> 78 <tr>
71 <td><a href="#MicroPythonFileManagerWidget.__createLocalDirectory">__createLocalDirectory</a></td> 79 <td><a href="#MicroPythonFileManagerWidget.__createLocalDirectory">__createLocalDirectory</a></td>
94 <tr> 102 <tr>
95 <td><a href="#MicroPythonFileManagerWidget.__deviceHiddenChanged">__deviceHiddenChanged</a></td> 103 <td><a href="#MicroPythonFileManagerWidget.__deviceHiddenChanged">__deviceHiddenChanged</a></td>
96 <td>Private slot handling a change of the device show hidden menu entry.</td> 104 <td>Private slot handling a change of the device show hidden menu entry.</td>
97 </tr> 105 </tr>
98 <tr> 106 <tr>
107 <td><a href="#MicroPythonFileManagerWidget.__findDirectoryItem">__findDirectoryItem</a></td>
108 <td>Private method to find a file tree item for the given path.</td>
109 </tr>
110 <tr>
99 <td><a href="#MicroPythonFileManagerWidget.__fsInfoResultReceived">__fsInfoResultReceived</a></td> 111 <td><a href="#MicroPythonFileManagerWidget.__fsInfoResultReceived">__fsInfoResultReceived</a></td>
100 <td>Private slot to show the file system information of the device.</td> 112 <td>Private slot to show the file system information of the device.</td>
101 </tr> 113 </tr>
102 <tr> 114 <tr>
103 <td><a href="#MicroPythonFileManagerWidget.__handleCurrentDir">__handleCurrentDir</a></td> 115 <td><a href="#MicroPythonFileManagerWidget.__handleCurrentDir">__handleCurrentDir</a></td>
150 <tr> 162 <tr>
151 <td><a href="#MicroPythonFileManagerWidget.__renameLocalFile">__renameLocalFile</a></td> 163 <td><a href="#MicroPythonFileManagerWidget.__renameLocalFile">__renameLocalFile</a></td>
152 <td>Private slot to rename a file on the device.</td> 164 <td>Private slot to rename a file on the device.</td>
153 </tr> 165 </tr>
154 <tr> 166 <tr>
167 <td><a href="#MicroPythonFileManagerWidget.__repopulateLocalFilesList">__repopulateLocalFilesList</a></td>
168 <td>Private method to re-populate the local files tree.</td>
169 </tr>
170 <tr>
155 <td><a href="#MicroPythonFileManagerWidget.__showDeviceContextMenu">__showDeviceContextMenu</a></td> 171 <td><a href="#MicroPythonFileManagerWidget.__showDeviceContextMenu">__showDeviceContextMenu</a></td>
156 <td>Private slot to show the REPL context menu.</td> 172 <td>Private slot to show the REPL context menu.</td>
157 </tr> 173 </tr>
158 <tr> 174 <tr>
159 <td><a href="#MicroPythonFileManagerWidget.__showFileSystemInfo">__showFileSystemInfo</a></td> 175 <td><a href="#MicroPythonFileManagerWidget.__showFileSystemInfo">__showFileSystemInfo</a></td>
162 <tr> 178 <tr>
163 <td><a href="#MicroPythonFileManagerWidget.__showLocalContextMenu">__showLocalContextMenu</a></td> 179 <td><a href="#MicroPythonFileManagerWidget.__showLocalContextMenu">__showLocalContextMenu</a></td>
164 <td>Private slot to show the REPL context menu.</td> 180 <td>Private slot to show the REPL context menu.</td>
165 </tr> 181 </tr>
166 <tr> 182 <tr>
183 <td><a href="#MicroPythonFileManagerWidget.__updateSaveButtonStates">__updateSaveButtonStates</a></td>
184 <td>Private slot to update the enabled state of the save buttons.</td>
185 </tr>
186 <tr>
167 <td><a href="#MicroPythonFileManagerWidget.on_deviceCwd_textChanged">on_deviceCwd_textChanged</a></td> 187 <td><a href="#MicroPythonFileManagerWidget.on_deviceCwd_textChanged">on_deviceCwd_textChanged</a></td>
168 <td>Private slot handling a change of the current device working directory.</td> 188 <td>Private slot handling a change of the current device working directory.</td>
169 </tr> 189 </tr>
170 <tr> 190 <tr>
171 <td><a href="#MicroPythonFileManagerWidget.on_deviceFileTreeWidget_itemActivated">on_deviceFileTreeWidget_itemActivated</a></td> 191 <td><a href="#MicroPythonFileManagerWidget.on_deviceFileTreeWidget_itemActivated">on_deviceFileTreeWidget_itemActivated</a></td>
172 <td>Private slot to handle the activation of a device item.</td> 192 <td>Private slot to handle the activation of a device item.</td>
173 </tr> 193 </tr>
174 <tr> 194 <tr>
195 <td><a href="#MicroPythonFileManagerWidget.on_deviceFileTreeWidget_itemExpanded">on_deviceFileTreeWidget_itemExpanded</a></td>
196 <td>Private slot handling the expansion of a local directory item.</td>
197 </tr>
198 <tr>
175 <td><a href="#MicroPythonFileManagerWidget.on_deviceFileTreeWidget_itemSelectionChanged">on_deviceFileTreeWidget_itemSelectionChanged</a></td> 199 <td><a href="#MicroPythonFileManagerWidget.on_deviceFileTreeWidget_itemSelectionChanged">on_deviceFileTreeWidget_itemSelectionChanged</a></td>
176 <td>Private slot handling a change of selection in the local pane.</td> 200 <td>Private slot handling a change of selection in the local pane.</td>
177 </tr> 201 </tr>
178 <tr> 202 <tr>
179 <td><a href="#MicroPythonFileManagerWidget.on_deviceHomeButton_clicked">on_deviceHomeButton_clicked</a></td> 203 <td><a href="#MicroPythonFileManagerWidget.on_deviceHomeButton_clicked">on_deviceHomeButton_clicked</a></td>
200 <td>Private slot handling a change of the current local working directory.</td> 224 <td>Private slot handling a change of the current local working directory.</td>
201 </tr> 225 </tr>
202 <tr> 226 <tr>
203 <td><a href="#MicroPythonFileManagerWidget.on_localFileTreeWidget_itemActivated">on_localFileTreeWidget_itemActivated</a></td> 227 <td><a href="#MicroPythonFileManagerWidget.on_localFileTreeWidget_itemActivated">on_localFileTreeWidget_itemActivated</a></td>
204 <td>Private slot to handle the activation of a local item.</td> 228 <td>Private slot to handle the activation of a local item.</td>
229 </tr>
230 <tr>
231 <td><a href="#MicroPythonFileManagerWidget.on_localFileTreeWidget_itemExpanded">on_localFileTreeWidget_itemExpanded</a></td>
232 <td>Private slot handling the expansion of a local directory item.</td>
205 </tr> 233 </tr>
206 <tr> 234 <tr>
207 <td><a href="#MicroPythonFileManagerWidget.on_localFileTreeWidget_itemSelectionChanged">on_localFileTreeWidget_itemSelectionChanged</a></td> 235 <td><a href="#MicroPythonFileManagerWidget.on_localFileTreeWidget_itemSelectionChanged">on_localFileTreeWidget_itemSelectionChanged</a></td>
208 <td>Private slot handling a change of selection in the local pane.</td> 236 <td>Private slot handling a change of selection in the local pane.</td>
209 </tr> 237 </tr>
300 <dt><i>localDevice</i> (bool)</dt> 328 <dt><i>localDevice</i> (bool)</dt>
301 <dd> 329 <dd>
302 flag indicating device access via local file system 330 flag indicating device access via local file system
303 </dd> 331 </dd>
304 </dl> 332 </dl>
333 <a NAME="MicroPythonFileManagerWidget.__clearDeviceSelection" ID="MicroPythonFileManagerWidget.__clearDeviceSelection"></a>
334 <h4>MicroPythonFileManagerWidget.__clearDeviceSelection</h4>
335 <b>__clearDeviceSelection</b>(<i></i>)
336 <p>
337 Private slot to clear the local selection.
338 </p>
339
340 <a NAME="MicroPythonFileManagerWidget.__clearLocalSelection" ID="MicroPythonFileManagerWidget.__clearLocalSelection"></a>
341 <h4>MicroPythonFileManagerWidget.__clearLocalSelection</h4>
342 <b>__clearLocalSelection</b>(<i></i>)
343 <p>
344 Private slot to clear the local selection.
345 </p>
346
305 <a NAME="MicroPythonFileManagerWidget.__createDeviceDirectory" ID="MicroPythonFileManagerWidget.__createDeviceDirectory"></a> 347 <a NAME="MicroPythonFileManagerWidget.__createDeviceDirectory" ID="MicroPythonFileManagerWidget.__createDeviceDirectory"></a>
306 <h4>MicroPythonFileManagerWidget.__createDeviceDirectory</h4> 348 <h4>MicroPythonFileManagerWidget.__createDeviceDirectory</h4>
307 <b>__createDeviceDirectory</b>(<i></i>) 349 <b>__createDeviceDirectory</b>(<i></i>)
308 <p> 350 <p>
309 Private slot to create a directory on the device. 351 Private slot to create a directory on the device.
385 <dt><i>checked</i> (bool)</dt> 427 <dt><i>checked</i> (bool)</dt>
386 <dd> 428 <dd>
387 new check state of the action 429 new check state of the action
388 </dd> 430 </dd>
389 </dl> 431 </dl>
432 <a NAME="MicroPythonFileManagerWidget.__findDirectoryItem" ID="MicroPythonFileManagerWidget.__findDirectoryItem"></a>
433 <h4>MicroPythonFileManagerWidget.__findDirectoryItem</h4>
434 <b>__findDirectoryItem</b>(<i>dirPath, fileTreeWidget</i>)
435 <p>
436 Private method to find a file tree item for the given path.
437 </p>
438
439 <dl>
440
441 <dt><i>dirPath</i> (str)</dt>
442 <dd>
443 path to be searched for
444 </dd>
445 <dt><i>fileTreeWidget</i> (QTreeWidget)</dt>
446 <dd>
447 reference to the file list to be searched
448 </dd>
449 </dl>
450 <dl>
451 <dt>Return:</dt>
452 <dd>
453 reference to the item for the path
454 </dd>
455 </dl>
456 <dl>
457 <dt>Return Type:</dt>
458 <dd>
459 QTreeWidgetItem
460 </dd>
461 </dl>
390 <a NAME="MicroPythonFileManagerWidget.__fsInfoResultReceived" ID="MicroPythonFileManagerWidget.__fsInfoResultReceived"></a> 462 <a NAME="MicroPythonFileManagerWidget.__fsInfoResultReceived" ID="MicroPythonFileManagerWidget.__fsInfoResultReceived"></a>
391 <h4>MicroPythonFileManagerWidget.__fsInfoResultReceived</h4> 463 <h4>MicroPythonFileManagerWidget.__fsInfoResultReceived</h4>
392 <b>__fsInfoResultReceived</b>(<i>fsinfo</i>) 464 <b>__fsInfoResultReceived</b>(<i>fsinfo</i>)
393 <p> 465 <p>
394 Private slot to show the file system information of the device. 466 Private slot to show the file system information of the device.
499 message to be shown 571 message to be shown
500 </dd> 572 </dd>
501 </dl> 573 </dl>
502 <a NAME="MicroPythonFileManagerWidget.__isFileInList" ID="MicroPythonFileManagerWidget.__isFileInList"></a> 574 <a NAME="MicroPythonFileManagerWidget.__isFileInList" ID="MicroPythonFileManagerWidget.__isFileInList"></a>
503 <h4>MicroPythonFileManagerWidget.__isFileInList</h4> 575 <h4>MicroPythonFileManagerWidget.__isFileInList</h4>
504 <b>__isFileInList</b>(<i>filename, treeWidget</i>) 576 <b>__isFileInList</b>(<i>filename, parent</i>)
505 <p> 577 <p>
506 Private method to check, if a file name is contained in a tree widget. 578 Private method to check, if a file name is contained in a tree widget.
507 </p> 579 </p>
508 580
509 <dl> 581 <dl>
510 582
511 <dt><i>filename</i> (str)</dt> 583 <dt><i>filename</i> (str)</dt>
512 <dd> 584 <dd>
513 name of the file to check 585 name of the file to check
514 </dd> 586 </dd>
515 <dt><i>treeWidget</i> (QTreeWidget)</dt> 587 <dt><i>parent</i> (QTreeWidget or QTreeWidgetItem)</dt>
516 <dd> 588 <dd>
517 reference to the tree widget to be checked against 589 reference to the parent to be checked against
518 </dd> 590 </dd>
519 </dl> 591 </dl>
520 <dl> 592 <dl>
521 <dt>Return:</dt> 593 <dt>Return:</dt>
522 <dd> 594 <dd>
529 bool 601 bool
530 </dd> 602 </dd>
531 </dl> 603 </dl>
532 <a NAME="MicroPythonFileManagerWidget.__listLocalFiles" ID="MicroPythonFileManagerWidget.__listLocalFiles"></a> 604 <a NAME="MicroPythonFileManagerWidget.__listLocalFiles" ID="MicroPythonFileManagerWidget.__listLocalFiles"></a>
533 <h4>MicroPythonFileManagerWidget.__listLocalFiles</h4> 605 <h4>MicroPythonFileManagerWidget.__listLocalFiles</h4>
534 <b>__listLocalFiles</b>(<i>dirname="", localDevice=False</i>) 606 <b>__listLocalFiles</b>(<i>dirname="", localDevice=False, parentItem=None</i>)
535 <p> 607 <p>
536 Private method to populate the local files list. 608 Private method to populate the local files list.
537 </p> 609 </p>
538 610
539 <dl> 611 <dl>
540 612
541 <dt><i>dirname</i> (str)</dt> 613 <dt><i>dirname</i> (str (optional))</dt>
542 <dd> 614 <dd>
543 name of the local directory to be listed 615 name of the local directory to be listed (defaults to "")
544 </dd> 616 </dd>
545 <dt><i>localDevice</i> (bool)</dt> 617 <dt><i>localDevice</i> (bool (optional))</dt>
546 <dd> 618 <dd>
547 flag indicating device access via local file system 619 flag indicating device access via local file system
620 (defaults to False)
621 </dd>
622 <dt><i>parentItem</i> (QTreeWidgetItem (optional))</dt>
623 <dd>
624 reference to the parent item (defaults to None)
548 </dd> 625 </dd>
549 </dl> 626 </dl>
550 <a NAME="MicroPythonFileManagerWidget.__localHiddenChanged" ID="MicroPythonFileManagerWidget.__localHiddenChanged"></a> 627 <a NAME="MicroPythonFileManagerWidget.__localHiddenChanged" ID="MicroPythonFileManagerWidget.__localHiddenChanged"></a>
551 <h4>MicroPythonFileManagerWidget.__localHiddenChanged</h4> 628 <h4>MicroPythonFileManagerWidget.__localHiddenChanged</h4>
552 <b>__localHiddenChanged</b>(<i>checked</i>) 629 <b>__localHiddenChanged</b>(<i>checked</i>)
595 <dd> 672 <dd>
596 flag indicating device access via local file system 673 flag indicating device access via local file system
597 (defaults to False) 674 (defaults to False)
598 </dd> 675 </dd>
599 </dl> 676 </dl>
677 <a NAME="MicroPythonFileManagerWidget.__repopulateLocalFilesList" ID="MicroPythonFileManagerWidget.__repopulateLocalFilesList"></a>
678 <h4>MicroPythonFileManagerWidget.__repopulateLocalFilesList</h4>
679 <b>__repopulateLocalFilesList</b>(<i>dirname="", localDevice=False</i>)
680 <p>
681 Private method to re-populate the local files tree.
682 </p>
683
684 <dl>
685
686 <dt><i>dirname</i> (str (optional))</dt>
687 <dd>
688 name of the local directory to be listed (defaults to "")
689 </dd>
690 <dt><i>localDevice</i> (bool (optional))</dt>
691 <dd>
692 flag indicating device access via local file system
693 (defaults to False)
694 </dd>
695 </dl>
600 <a NAME="MicroPythonFileManagerWidget.__showDeviceContextMenu" ID="MicroPythonFileManagerWidget.__showDeviceContextMenu"></a> 696 <a NAME="MicroPythonFileManagerWidget.__showDeviceContextMenu" ID="MicroPythonFileManagerWidget.__showDeviceContextMenu"></a>
601 <h4>MicroPythonFileManagerWidget.__showDeviceContextMenu</h4> 697 <h4>MicroPythonFileManagerWidget.__showDeviceContextMenu</h4>
602 <b>__showDeviceContextMenu</b>(<i>pos</i>) 698 <b>__showDeviceContextMenu</b>(<i>pos</i>)
603 <p> 699 <p>
604 Private slot to show the REPL context menu. 700 Private slot to show the REPL context menu.
630 <dt><i>pos</i> (QPoint)</dt> 726 <dt><i>pos</i> (QPoint)</dt>
631 <dd> 727 <dd>
632 position to show the menu at 728 position to show the menu at
633 </dd> 729 </dd>
634 </dl> 730 </dl>
731 <a NAME="MicroPythonFileManagerWidget.__updateSaveButtonStates" ID="MicroPythonFileManagerWidget.__updateSaveButtonStates"></a>
732 <h4>MicroPythonFileManagerWidget.__updateSaveButtonStates</h4>
733 <b>__updateSaveButtonStates</b>(<i></i>)
734 <p>
735 Private slot to update the enabled state of the save buttons.
736 </p>
737
635 <a NAME="MicroPythonFileManagerWidget.on_deviceCwd_textChanged" ID="MicroPythonFileManagerWidget.on_deviceCwd_textChanged"></a> 738 <a NAME="MicroPythonFileManagerWidget.on_deviceCwd_textChanged" ID="MicroPythonFileManagerWidget.on_deviceCwd_textChanged"></a>
636 <h4>MicroPythonFileManagerWidget.on_deviceCwd_textChanged</h4> 739 <h4>MicroPythonFileManagerWidget.on_deviceCwd_textChanged</h4>
637 <b>on_deviceCwd_textChanged</b>(<i>cwd</i>) 740 <b>on_deviceCwd_textChanged</b>(<i>cwd</i>)
638 <p> 741 <p>
639 Private slot handling a change of the current device working directory. 742 Private slot handling a change of the current device working directory.
666 <dt><i>column</i> (int)</dt> 769 <dt><i>column</i> (int)</dt>
667 <dd> 770 <dd>
668 column of the activation 771 column of the activation
669 </dd> 772 </dd>
670 </dl> 773 </dl>
774 <a NAME="MicroPythonFileManagerWidget.on_deviceFileTreeWidget_itemExpanded" ID="MicroPythonFileManagerWidget.on_deviceFileTreeWidget_itemExpanded"></a>
775 <h4>MicroPythonFileManagerWidget.on_deviceFileTreeWidget_itemExpanded</h4>
776 <b>on_deviceFileTreeWidget_itemExpanded</b>(<i>item</i>)
777 <p>
778 Private slot handling the expansion of a local directory item.
779 </p>
780
781 <dl>
782
783 <dt><i>item</i> (QTreeWidgetItem)</dt>
784 <dd>
785 reference to the directory item
786 </dd>
787 </dl>
671 <a NAME="MicroPythonFileManagerWidget.on_deviceFileTreeWidget_itemSelectionChanged" ID="MicroPythonFileManagerWidget.on_deviceFileTreeWidget_itemSelectionChanged"></a> 788 <a NAME="MicroPythonFileManagerWidget.on_deviceFileTreeWidget_itemSelectionChanged" ID="MicroPythonFileManagerWidget.on_deviceFileTreeWidget_itemSelectionChanged"></a>
672 <h4>MicroPythonFileManagerWidget.on_deviceFileTreeWidget_itemSelectionChanged</h4> 789 <h4>MicroPythonFileManagerWidget.on_deviceFileTreeWidget_itemSelectionChanged</h4>
673 <b>on_deviceFileTreeWidget_itemSelectionChanged</b>(<i></i>) 790 <b>on_deviceFileTreeWidget_itemSelectionChanged</b>(<i></i>)
674 <p> 791 <p>
675 Private slot handling a change of selection in the local pane. 792 Private slot handling a change of selection in the local pane.
752 <dt><i>column</i> (int)</dt> 869 <dt><i>column</i> (int)</dt>
753 <dd> 870 <dd>
754 column of the activation 871 column of the activation
755 </dd> 872 </dd>
756 </dl> 873 </dl>
874 <a NAME="MicroPythonFileManagerWidget.on_localFileTreeWidget_itemExpanded" ID="MicroPythonFileManagerWidget.on_localFileTreeWidget_itemExpanded"></a>
875 <h4>MicroPythonFileManagerWidget.on_localFileTreeWidget_itemExpanded</h4>
876 <b>on_localFileTreeWidget_itemExpanded</b>(<i>item</i>)
877 <p>
878 Private slot handling the expansion of a local directory item.
879 </p>
880
881 <dl>
882
883 <dt><i>item</i> (QTreeWidgetItem)</dt>
884 <dd>
885 reference to the directory item
886 </dd>
887 </dl>
757 <a NAME="MicroPythonFileManagerWidget.on_localFileTreeWidget_itemSelectionChanged" ID="MicroPythonFileManagerWidget.on_localFileTreeWidget_itemSelectionChanged"></a> 888 <a NAME="MicroPythonFileManagerWidget.on_localFileTreeWidget_itemSelectionChanged" ID="MicroPythonFileManagerWidget.on_localFileTreeWidget_itemSelectionChanged"></a>
758 <h4>MicroPythonFileManagerWidget.on_localFileTreeWidget_itemSelectionChanged</h4> 889 <h4>MicroPythonFileManagerWidget.on_localFileTreeWidget_itemSelectionChanged</h4>
759 <b>on_localFileTreeWidget_itemSelectionChanged</b>(<i></i>) 890 <b>on_localFileTreeWidget_itemSelectionChanged</b>(<i></i>)
760 <p> 891 <p>
761 Private slot handling a change of selection in the local pane. 892 Private slot handling a change of selection in the local pane.

eric ide

mercurial