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

branch
eric7
changeset 10523
e4069ddd7dc7
parent 10515
6e790462348a
child 10690
fab36645aa7d
--- a/src/eric7/Documentation/Source/eric7.MicroPython.MicroPythonFileManagerWidget.html	Tue Jan 23 12:21:15 2024 +0100
+++ b/src/eric7/Documentation/Source/eric7.MicroPython.MicroPythonFileManagerWidget.html	Wed Jan 24 18:52:50 2024 +0100
@@ -64,6 +64,14 @@
 <td>Private slot to change the local directory.</td>
 </tr>
 <tr>
+<td><a href="#MicroPythonFileManagerWidget.__clearDeviceSelection">__clearDeviceSelection</a></td>
+<td>Private slot to clear the local selection.</td>
+</tr>
+<tr>
+<td><a href="#MicroPythonFileManagerWidget.__clearLocalSelection">__clearLocalSelection</a></td>
+<td>Private slot to clear the local selection.</td>
+</tr>
+<tr>
 <td><a href="#MicroPythonFileManagerWidget.__createDeviceDirectory">__createDeviceDirectory</a></td>
 <td>Private slot to create a directory on the device.</td>
 </tr>
@@ -96,6 +104,10 @@
 <td>Private slot handling a change of the device show hidden menu entry.</td>
 </tr>
 <tr>
+<td><a href="#MicroPythonFileManagerWidget.__findDirectoryItem">__findDirectoryItem</a></td>
+<td>Private method to find a file tree item for the given path.</td>
+</tr>
+<tr>
 <td><a href="#MicroPythonFileManagerWidget.__fsInfoResultReceived">__fsInfoResultReceived</a></td>
 <td>Private slot to show the file system information of the device.</td>
 </tr>
@@ -152,6 +164,10 @@
 <td>Private slot to rename a file on the device.</td>
 </tr>
 <tr>
+<td><a href="#MicroPythonFileManagerWidget.__repopulateLocalFilesList">__repopulateLocalFilesList</a></td>
+<td>Private method to re-populate the local files tree.</td>
+</tr>
+<tr>
 <td><a href="#MicroPythonFileManagerWidget.__showDeviceContextMenu">__showDeviceContextMenu</a></td>
 <td>Private slot to show the REPL context menu.</td>
 </tr>
@@ -164,6 +180,10 @@
 <td>Private slot to show the REPL context menu.</td>
 </tr>
 <tr>
+<td><a href="#MicroPythonFileManagerWidget.__updateSaveButtonStates">__updateSaveButtonStates</a></td>
+<td>Private slot to update the enabled state of the save buttons.</td>
+</tr>
+<tr>
 <td><a href="#MicroPythonFileManagerWidget.on_deviceCwd_textChanged">on_deviceCwd_textChanged</a></td>
 <td>Private slot handling a change of the current device working directory.</td>
 </tr>
@@ -172,6 +192,10 @@
 <td>Private slot to handle the activation of a device item.</td>
 </tr>
 <tr>
+<td><a href="#MicroPythonFileManagerWidget.on_deviceFileTreeWidget_itemExpanded">on_deviceFileTreeWidget_itemExpanded</a></td>
+<td>Private slot handling the expansion of a local directory item.</td>
+</tr>
+<tr>
 <td><a href="#MicroPythonFileManagerWidget.on_deviceFileTreeWidget_itemSelectionChanged">on_deviceFileTreeWidget_itemSelectionChanged</a></td>
 <td>Private slot handling a change of selection in the local pane.</td>
 </tr>
@@ -204,6 +228,10 @@
 <td>Private slot to handle the activation of a local item.</td>
 </tr>
 <tr>
+<td><a href="#MicroPythonFileManagerWidget.on_localFileTreeWidget_itemExpanded">on_localFileTreeWidget_itemExpanded</a></td>
+<td>Private slot handling the expansion of a local directory item.</td>
+</tr>
+<tr>
 <td><a href="#MicroPythonFileManagerWidget.on_localFileTreeWidget_itemSelectionChanged">on_localFileTreeWidget_itemSelectionChanged</a></td>
 <td>Private slot handling a change of selection in the local pane.</td>
 </tr>
@@ -302,6 +330,20 @@
 flag indicating device access via local file system
 </dd>
 </dl>
+<a NAME="MicroPythonFileManagerWidget.__clearDeviceSelection" ID="MicroPythonFileManagerWidget.__clearDeviceSelection"></a>
+<h4>MicroPythonFileManagerWidget.__clearDeviceSelection</h4>
+<b>__clearDeviceSelection</b>(<i></i>)
+<p>
+        Private slot to clear the local selection.
+</p>
+
+<a NAME="MicroPythonFileManagerWidget.__clearLocalSelection" ID="MicroPythonFileManagerWidget.__clearLocalSelection"></a>
+<h4>MicroPythonFileManagerWidget.__clearLocalSelection</h4>
+<b>__clearLocalSelection</b>(<i></i>)
+<p>
+        Private slot to clear the local selection.
+</p>
+
 <a NAME="MicroPythonFileManagerWidget.__createDeviceDirectory" ID="MicroPythonFileManagerWidget.__createDeviceDirectory"></a>
 <h4>MicroPythonFileManagerWidget.__createDeviceDirectory</h4>
 <b>__createDeviceDirectory</b>(<i></i>)
@@ -387,6 +429,36 @@
 new check state of the action
 </dd>
 </dl>
+<a NAME="MicroPythonFileManagerWidget.__findDirectoryItem" ID="MicroPythonFileManagerWidget.__findDirectoryItem"></a>
+<h4>MicroPythonFileManagerWidget.__findDirectoryItem</h4>
+<b>__findDirectoryItem</b>(<i>dirPath, fileTreeWidget</i>)
+<p>
+        Private method to find a file tree item for the given path.
+</p>
+
+<dl>
+
+<dt><i>dirPath</i> (str)</dt>
+<dd>
+path to be searched for
+</dd>
+<dt><i>fileTreeWidget</i> (QTreeWidget)</dt>
+<dd>
+reference to the file list to be searched
+</dd>
+</dl>
+<dl>
+<dt>Return:</dt>
+<dd>
+reference to the item for the path
+</dd>
+</dl>
+<dl>
+<dt>Return Type:</dt>
+<dd>
+QTreeWidgetItem
+</dd>
+</dl>
 <a NAME="MicroPythonFileManagerWidget.__fsInfoResultReceived" ID="MicroPythonFileManagerWidget.__fsInfoResultReceived"></a>
 <h4>MicroPythonFileManagerWidget.__fsInfoResultReceived</h4>
 <b>__fsInfoResultReceived</b>(<i>fsinfo</i>)
@@ -501,7 +573,7 @@
 </dl>
 <a NAME="MicroPythonFileManagerWidget.__isFileInList" ID="MicroPythonFileManagerWidget.__isFileInList"></a>
 <h4>MicroPythonFileManagerWidget.__isFileInList</h4>
-<b>__isFileInList</b>(<i>filename, treeWidget</i>)
+<b>__isFileInList</b>(<i>filename, parent</i>)
 <p>
         Private method to check, if a file name is contained in a tree widget.
 </p>
@@ -512,9 +584,9 @@
 <dd>
 name of the file to check
 </dd>
-<dt><i>treeWidget</i> (QTreeWidget)</dt>
+<dt><i>parent</i> (QTreeWidget or QTreeWidgetItem)</dt>
 <dd>
-reference to the tree widget to be checked against
+reference to the parent to be checked against
 </dd>
 </dl>
 <dl>
@@ -531,20 +603,25 @@
 </dl>
 <a NAME="MicroPythonFileManagerWidget.__listLocalFiles" ID="MicroPythonFileManagerWidget.__listLocalFiles"></a>
 <h4>MicroPythonFileManagerWidget.__listLocalFiles</h4>
-<b>__listLocalFiles</b>(<i>dirname="", localDevice=False</i>)
+<b>__listLocalFiles</b>(<i>dirname="", localDevice=False, parentItem=None</i>)
 <p>
         Private method to populate the local files list.
 </p>
 
 <dl>
 
-<dt><i>dirname</i> (str)</dt>
+<dt><i>dirname</i> (str (optional))</dt>
 <dd>
-name of the local directory to be listed
+name of the local directory to be listed (defaults to "")
 </dd>
-<dt><i>localDevice</i> (bool)</dt>
+<dt><i>localDevice</i> (bool (optional))</dt>
 <dd>
 flag indicating device access via local file system
+            (defaults to False)
+</dd>
+<dt><i>parentItem</i> (QTreeWidgetItem (optional))</dt>
+<dd>
+reference to the parent item (defaults to None)
 </dd>
 </dl>
 <a NAME="MicroPythonFileManagerWidget.__localHiddenChanged" ID="MicroPythonFileManagerWidget.__localHiddenChanged"></a>
@@ -597,6 +674,25 @@
             (defaults to False)
 </dd>
 </dl>
+<a NAME="MicroPythonFileManagerWidget.__repopulateLocalFilesList" ID="MicroPythonFileManagerWidget.__repopulateLocalFilesList"></a>
+<h4>MicroPythonFileManagerWidget.__repopulateLocalFilesList</h4>
+<b>__repopulateLocalFilesList</b>(<i>dirname="", localDevice=False</i>)
+<p>
+        Private method to re-populate the local files tree.
+</p>
+
+<dl>
+
+<dt><i>dirname</i> (str (optional))</dt>
+<dd>
+name of the local directory to be listed (defaults to "")
+</dd>
+<dt><i>localDevice</i> (bool (optional))</dt>
+<dd>
+flag indicating device access via local file system
+            (defaults to False)
+</dd>
+</dl>
 <a NAME="MicroPythonFileManagerWidget.__showDeviceContextMenu" ID="MicroPythonFileManagerWidget.__showDeviceContextMenu"></a>
 <h4>MicroPythonFileManagerWidget.__showDeviceContextMenu</h4>
 <b>__showDeviceContextMenu</b>(<i>pos</i>)
@@ -632,6 +728,13 @@
 position to show the menu at
 </dd>
 </dl>
+<a NAME="MicroPythonFileManagerWidget.__updateSaveButtonStates" ID="MicroPythonFileManagerWidget.__updateSaveButtonStates"></a>
+<h4>MicroPythonFileManagerWidget.__updateSaveButtonStates</h4>
+<b>__updateSaveButtonStates</b>(<i></i>)
+<p>
+        Private slot to update the enabled state of the save buttons.
+</p>
+
 <a NAME="MicroPythonFileManagerWidget.on_deviceCwd_textChanged" ID="MicroPythonFileManagerWidget.on_deviceCwd_textChanged"></a>
 <h4>MicroPythonFileManagerWidget.on_deviceCwd_textChanged</h4>
 <b>on_deviceCwd_textChanged</b>(<i>cwd</i>)
@@ -668,6 +771,20 @@
 column of the activation
 </dd>
 </dl>
+<a NAME="MicroPythonFileManagerWidget.on_deviceFileTreeWidget_itemExpanded" ID="MicroPythonFileManagerWidget.on_deviceFileTreeWidget_itemExpanded"></a>
+<h4>MicroPythonFileManagerWidget.on_deviceFileTreeWidget_itemExpanded</h4>
+<b>on_deviceFileTreeWidget_itemExpanded</b>(<i>item</i>)
+<p>
+        Private slot handling the expansion of a local directory item.
+</p>
+
+<dl>
+
+<dt><i>item</i> (QTreeWidgetItem)</dt>
+<dd>
+reference to the directory item
+</dd>
+</dl>
 <a NAME="MicroPythonFileManagerWidget.on_deviceFileTreeWidget_itemSelectionChanged" ID="MicroPythonFileManagerWidget.on_deviceFileTreeWidget_itemSelectionChanged"></a>
 <h4>MicroPythonFileManagerWidget.on_deviceFileTreeWidget_itemSelectionChanged</h4>
 <b>on_deviceFileTreeWidget_itemSelectionChanged</b>(<i></i>)
@@ -754,6 +871,20 @@
 column of the activation
 </dd>
 </dl>
+<a NAME="MicroPythonFileManagerWidget.on_localFileTreeWidget_itemExpanded" ID="MicroPythonFileManagerWidget.on_localFileTreeWidget_itemExpanded"></a>
+<h4>MicroPythonFileManagerWidget.on_localFileTreeWidget_itemExpanded</h4>
+<b>on_localFileTreeWidget_itemExpanded</b>(<i>item</i>)
+<p>
+        Private slot handling the expansion of a local directory item.
+</p>
+
+<dl>
+
+<dt><i>item</i> (QTreeWidgetItem)</dt>
+<dd>
+reference to the directory item
+</dd>
+</dl>
 <a NAME="MicroPythonFileManagerWidget.on_localFileTreeWidget_itemSelectionChanged" ID="MicroPythonFileManagerWidget.on_localFileTreeWidget_itemSelectionChanged"></a>
 <h4>MicroPythonFileManagerWidget.on_localFileTreeWidget_itemSelectionChanged</h4>
 <b>on_localFileTreeWidget_itemSelectionChanged</b>(<i></i>)

eric ide

mercurial