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.MicroPython.MicroPythonFileManagerWidget</h1> |
23 <h1>eric6.MicroPython.MicroPythonFileManagerWidget</h1> |
|
24 |
23 <p> |
25 <p> |
24 Module implementing a file manager for MicroPython devices. |
26 Module implementing a file manager for MicroPython devices. |
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> |
|
34 |
31 <table> |
35 <table> |
|
36 |
32 <tr> |
37 <tr> |
33 <td><a href="#MicroPythonFileManagerWidget">MicroPythonFileManagerWidget</a></td> |
38 <td><a href="#MicroPythonFileManagerWidget">MicroPythonFileManagerWidget</a></td> |
34 <td>Class implementing a file manager for MicroPython devices.</td> |
39 <td>Class implementing a file manager for MicroPython devices.</td> |
35 </tr> |
40 </tr> |
36 </table> |
41 </table> |
37 <h3>Functions</h3> |
42 <h3>Functions</h3> |
|
43 |
38 <table> |
44 <table> |
39 <tr><td>None</td></tr> |
45 <tr><td>None</td></tr> |
40 </table> |
46 </table> |
41 <hr /><hr /> |
47 <hr /> |
|
48 <hr /> |
42 <a NAME="MicroPythonFileManagerWidget" ID="MicroPythonFileManagerWidget"></a> |
49 <a NAME="MicroPythonFileManagerWidget" ID="MicroPythonFileManagerWidget"></a> |
43 <h2>MicroPythonFileManagerWidget</h2> |
50 <h2>MicroPythonFileManagerWidget</h2> |
|
51 |
44 <p> |
52 <p> |
45 Class implementing a file manager for MicroPython devices. |
53 Class implementing a file manager for MicroPython devices. |
46 </p> |
54 </p> |
47 <h3>Derived from</h3> |
55 <h3>Derived from</h3> |
48 QWidget, Ui_MicroPythonFileManagerWidget |
56 QWidget, Ui_MicroPythonFileManagerWidget |
49 <h3>Class Attributes</h3> |
57 <h3>Class Attributes</h3> |
|
58 |
50 <table> |
59 <table> |
51 <tr><td>None</td></tr> |
60 <tr><td>None</td></tr> |
52 </table> |
61 </table> |
53 <h3>Class Methods</h3> |
62 <h3>Class Methods</h3> |
|
63 |
54 <table> |
64 <table> |
55 <tr><td>None</td></tr> |
65 <tr><td>None</td></tr> |
56 </table> |
66 </table> |
57 <h3>Methods</h3> |
67 <h3>Methods</h3> |
|
68 |
58 <table> |
69 <table> |
|
70 |
59 <tr> |
71 <tr> |
60 <td><a href="#MicroPythonFileManagerWidget.__init__">MicroPythonFileManagerWidget</a></td> |
72 <td><a href="#MicroPythonFileManagerWidget.__init__">MicroPythonFileManagerWidget</a></td> |
61 <td>Constructor</td> |
73 <td>Constructor</td> |
62 </tr><tr> |
74 </tr> |
|
75 <tr> |
63 <td><a href="#MicroPythonFileManagerWidget.__changeDeviceDirectory">__changeDeviceDirectory</a></td> |
76 <td><a href="#MicroPythonFileManagerWidget.__changeDeviceDirectory">__changeDeviceDirectory</a></td> |
64 <td>Private slot to change the current directory of the device.</td> |
77 <td>Private slot to change the current directory of the device.</td> |
65 </tr><tr> |
78 </tr> |
|
79 <tr> |
66 <td><a href="#MicroPythonFileManagerWidget.__changeLocalDirectory">__changeLocalDirectory</a></td> |
80 <td><a href="#MicroPythonFileManagerWidget.__changeLocalDirectory">__changeLocalDirectory</a></td> |
67 <td>Private slot to change the local directory.</td> |
81 <td>Private slot to change the local directory.</td> |
68 </tr><tr> |
82 </tr> |
|
83 <tr> |
69 <td><a href="#MicroPythonFileManagerWidget.__createDeviceDirectory">__createDeviceDirectory</a></td> |
84 <td><a href="#MicroPythonFileManagerWidget.__createDeviceDirectory">__createDeviceDirectory</a></td> |
70 <td>Private slot to create a directory on the device.</td> |
85 <td>Private slot to create a directory on the device.</td> |
71 </tr><tr> |
86 </tr> |
|
87 <tr> |
72 <td><a href="#MicroPythonFileManagerWidget.__createLocalDirectory">__createLocalDirectory</a></td> |
88 <td><a href="#MicroPythonFileManagerWidget.__createLocalDirectory">__createLocalDirectory</a></td> |
73 <td>Private slot to create a local directory.</td> |
89 <td>Private slot to create a local directory.</td> |
74 </tr><tr> |
90 </tr> |
|
91 <tr> |
75 <td><a href="#MicroPythonFileManagerWidget.__deleteDeviceDirectory">__deleteDeviceDirectory</a></td> |
92 <td><a href="#MicroPythonFileManagerWidget.__deleteDeviceDirectory">__deleteDeviceDirectory</a></td> |
76 <td>Private slot to delete an empty directory on the device.</td> |
93 <td>Private slot to delete an empty directory on the device.</td> |
77 </tr><tr> |
94 </tr> |
|
95 <tr> |
78 <td><a href="#MicroPythonFileManagerWidget.__deleteDeviceDirectoryTree">__deleteDeviceDirectoryTree</a></td> |
96 <td><a href="#MicroPythonFileManagerWidget.__deleteDeviceDirectoryTree">__deleteDeviceDirectoryTree</a></td> |
79 <td>Private slot to delete a directory and all its subdirectories recursively.</td> |
97 <td>Private slot to delete a directory and all its subdirectories recursively.</td> |
80 </tr><tr> |
98 </tr> |
|
99 <tr> |
81 <td><a href="#MicroPythonFileManagerWidget.__deleteDeviceFile">__deleteDeviceFile</a></td> |
100 <td><a href="#MicroPythonFileManagerWidget.__deleteDeviceFile">__deleteDeviceFile</a></td> |
82 <td>Private slot to delete a file.</td> |
101 <td>Private slot to delete a file.</td> |
83 </tr><tr> |
102 </tr> |
|
103 <tr> |
84 <td><a href="#MicroPythonFileManagerWidget.__deleteLocalDirectoryTree">__deleteLocalDirectoryTree</a></td> |
104 <td><a href="#MicroPythonFileManagerWidget.__deleteLocalDirectoryTree">__deleteLocalDirectoryTree</a></td> |
85 <td>Private slot to delete a local directory tree.</td> |
105 <td>Private slot to delete a local directory tree.</td> |
86 </tr><tr> |
106 </tr> |
|
107 <tr> |
87 <td><a href="#MicroPythonFileManagerWidget.__deleteLocalFile">__deleteLocalFile</a></td> |
108 <td><a href="#MicroPythonFileManagerWidget.__deleteLocalFile">__deleteLocalFile</a></td> |
88 <td>Private slot to delete a local file.</td> |
109 <td>Private slot to delete a local file.</td> |
89 </tr><tr> |
110 </tr> |
|
111 <tr> |
90 <td><a href="#MicroPythonFileManagerWidget.__deviceHiddenChanged">__deviceHiddenChanged</a></td> |
112 <td><a href="#MicroPythonFileManagerWidget.__deviceHiddenChanged">__deviceHiddenChanged</a></td> |
91 <td>Private slot handling a change of the device show hidden menu entry.</td> |
113 <td>Private slot handling a change of the device show hidden menu entry.</td> |
92 </tr><tr> |
114 </tr> |
|
115 <tr> |
93 <td><a href="#MicroPythonFileManagerWidget.__fsInfoResultReceived">__fsInfoResultReceived</a></td> |
116 <td><a href="#MicroPythonFileManagerWidget.__fsInfoResultReceived">__fsInfoResultReceived</a></td> |
94 <td>Private slot to show the file system information of the device.</td> |
117 <td>Private slot to show the file system information of the device.</td> |
95 </tr><tr> |
118 </tr> |
|
119 <tr> |
96 <td><a href="#MicroPythonFileManagerWidget.__handleCurrentDir">__handleCurrentDir</a></td> |
120 <td><a href="#MicroPythonFileManagerWidget.__handleCurrentDir">__handleCurrentDir</a></td> |
97 <td>Private slot to handle a change of the current directory of the device.</td> |
121 <td>Private slot to handle a change of the current directory of the device.</td> |
98 </tr><tr> |
122 </tr> |
|
123 <tr> |
99 <td><a href="#MicroPythonFileManagerWidget.__handleError">__handleError</a></td> |
124 <td><a href="#MicroPythonFileManagerWidget.__handleError">__handleError</a></td> |
100 <td>Private slot to handle errors.</td> |
125 <td>Private slot to handle errors.</td> |
101 </tr><tr> |
126 </tr> |
|
127 <tr> |
102 <td><a href="#MicroPythonFileManagerWidget.__handleGetDone">__handleGetDone</a></td> |
128 <td><a href="#MicroPythonFileManagerWidget.__handleGetDone">__handleGetDone</a></td> |
103 <td>Private slot handling a successful copy of a file from the device.</td> |
129 <td>Private slot handling a successful copy of a file from the device.</td> |
104 </tr><tr> |
130 </tr> |
|
131 <tr> |
105 <td><a href="#MicroPythonFileManagerWidget.__handleLongListFiles">__handleLongListFiles</a></td> |
132 <td><a href="#MicroPythonFileManagerWidget.__handleLongListFiles">__handleLongListFiles</a></td> |
106 <td>Private slot to receive a long directory listing.</td> |
133 <td>Private slot to receive a long directory listing.</td> |
107 </tr><tr> |
134 </tr> |
|
135 <tr> |
108 <td><a href="#MicroPythonFileManagerWidget.__handleRsyncDone">__handleRsyncDone</a></td> |
136 <td><a href="#MicroPythonFileManagerWidget.__handleRsyncDone">__handleRsyncDone</a></td> |
109 <td>Private method to handle the completion of the rsync operation.</td> |
137 <td>Private method to handle the completion of the rsync operation.</td> |
110 </tr><tr> |
138 </tr> |
|
139 <tr> |
111 <td><a href="#MicroPythonFileManagerWidget.__handleRsyncProgressMessage">__handleRsyncProgressMessage</a></td> |
140 <td><a href="#MicroPythonFileManagerWidget.__handleRsyncProgressMessage">__handleRsyncProgressMessage</a></td> |
112 <td>Private slot handling progress messages sent by the file manager.</td> |
141 <td>Private slot handling progress messages sent by the file manager.</td> |
113 </tr><tr> |
142 </tr> |
|
143 <tr> |
114 <td><a href="#MicroPythonFileManagerWidget.__isFileInList">__isFileInList</a></td> |
144 <td><a href="#MicroPythonFileManagerWidget.__isFileInList">__isFileInList</a></td> |
115 <td>Private method to check, if a file name is contained in a tree widget.</td> |
145 <td>Private method to check, if a file name is contained in a tree widget.</td> |
116 </tr><tr> |
146 </tr> |
|
147 <tr> |
117 <td><a href="#MicroPythonFileManagerWidget.__listLocalFiles">__listLocalFiles</a></td> |
148 <td><a href="#MicroPythonFileManagerWidget.__listLocalFiles">__listLocalFiles</a></td> |
118 <td>Private method to populate the local files list.</td> |
149 <td>Private method to populate the local files list.</td> |
119 </tr><tr> |
150 </tr> |
|
151 <tr> |
120 <td><a href="#MicroPythonFileManagerWidget.__localHiddenChanged">__localHiddenChanged</a></td> |
152 <td><a href="#MicroPythonFileManagerWidget.__localHiddenChanged">__localHiddenChanged</a></td> |
121 <td>Private slot handling a change of the local show hidden menu entry.</td> |
153 <td>Private slot handling a change of the local show hidden menu entry.</td> |
122 </tr><tr> |
154 </tr> |
|
155 <tr> |
123 <td><a href="#MicroPythonFileManagerWidget.__newDeviceList">__newDeviceList</a></td> |
156 <td><a href="#MicroPythonFileManagerWidget.__newDeviceList">__newDeviceList</a></td> |
124 <td>Private slot to initiate a new long list of the device directory.</td> |
157 <td>Private slot to initiate a new long list of the device directory.</td> |
125 </tr><tr> |
158 </tr> |
|
159 <tr> |
126 <td><a href="#MicroPythonFileManagerWidget.__progressInfoDialogFinished">__progressInfoDialogFinished</a></td> |
160 <td><a href="#MicroPythonFileManagerWidget.__progressInfoDialogFinished">__progressInfoDialogFinished</a></td> |
127 <td>Private slot handling the closing of the progress info dialog.</td> |
161 <td>Private slot handling the closing of the progress info dialog.</td> |
128 </tr><tr> |
162 </tr> |
|
163 <tr> |
129 <td><a href="#MicroPythonFileManagerWidget.__showDeviceContextMenu">__showDeviceContextMenu</a></td> |
164 <td><a href="#MicroPythonFileManagerWidget.__showDeviceContextMenu">__showDeviceContextMenu</a></td> |
130 <td>Private slot to show the REPL context menu.</td> |
165 <td>Private slot to show the REPL context menu.</td> |
131 </tr><tr> |
166 </tr> |
|
167 <tr> |
132 <td><a href="#MicroPythonFileManagerWidget.__showFileSystemInfo">__showFileSystemInfo</a></td> |
168 <td><a href="#MicroPythonFileManagerWidget.__showFileSystemInfo">__showFileSystemInfo</a></td> |
133 <td>Private slot to show some file system information.</td> |
169 <td>Private slot to show some file system information.</td> |
134 </tr><tr> |
170 </tr> |
|
171 <tr> |
135 <td><a href="#MicroPythonFileManagerWidget.__showLocalContextMenu">__showLocalContextMenu</a></td> |
172 <td><a href="#MicroPythonFileManagerWidget.__showLocalContextMenu">__showLocalContextMenu</a></td> |
136 <td>Private slot to show the REPL context menu.</td> |
173 <td>Private slot to show the REPL context menu.</td> |
137 </tr><tr> |
174 </tr> |
|
175 <tr> |
138 <td><a href="#MicroPythonFileManagerWidget.on_deviceFileTreeWidget_itemActivated">on_deviceFileTreeWidget_itemActivated</a></td> |
176 <td><a href="#MicroPythonFileManagerWidget.on_deviceFileTreeWidget_itemActivated">on_deviceFileTreeWidget_itemActivated</a></td> |
139 <td>Private slot to handle the activation of a device item.</td> |
177 <td>Private slot to handle the activation of a device item.</td> |
140 </tr><tr> |
178 </tr> |
|
179 <tr> |
141 <td><a href="#MicroPythonFileManagerWidget.on_deviceFileTreeWidget_itemSelectionChanged">on_deviceFileTreeWidget_itemSelectionChanged</a></td> |
180 <td><a href="#MicroPythonFileManagerWidget.on_deviceFileTreeWidget_itemSelectionChanged">on_deviceFileTreeWidget_itemSelectionChanged</a></td> |
142 <td>Private slot handling a change of selection in the local pane.</td> |
181 <td>Private slot handling a change of selection in the local pane.</td> |
143 </tr><tr> |
182 </tr> |
|
183 <tr> |
144 <td><a href="#MicroPythonFileManagerWidget.on_deviceReloadButton_clicked">on_deviceReloadButton_clicked</a></td> |
184 <td><a href="#MicroPythonFileManagerWidget.on_deviceReloadButton_clicked">on_deviceReloadButton_clicked</a></td> |
145 <td>Private slot to reload the device list.</td> |
185 <td>Private slot to reload the device list.</td> |
146 </tr><tr> |
186 </tr> |
|
187 <tr> |
147 <td><a href="#MicroPythonFileManagerWidget.on_deviceUpButton_clicked">on_deviceUpButton_clicked</a></td> |
188 <td><a href="#MicroPythonFileManagerWidget.on_deviceUpButton_clicked">on_deviceUpButton_clicked</a></td> |
148 <td>Private slot to go up one directory level on the device.</td> |
189 <td>Private slot to go up one directory level on the device.</td> |
149 </tr><tr> |
190 </tr> |
|
191 <tr> |
150 <td><a href="#MicroPythonFileManagerWidget.on_getAsButton_clicked">on_getAsButton_clicked</a></td> |
192 <td><a href="#MicroPythonFileManagerWidget.on_getAsButton_clicked">on_getAsButton_clicked</a></td> |
151 <td>Private slot to copy the selected file from the connected device with a different name.</td> |
193 <td>Private slot to copy the selected file from the connected device with a different name.</td> |
152 </tr><tr> |
194 </tr> |
|
195 <tr> |
153 <td><a href="#MicroPythonFileManagerWidget.on_getButton_clicked">on_getButton_clicked</a></td> |
196 <td><a href="#MicroPythonFileManagerWidget.on_getButton_clicked">on_getButton_clicked</a></td> |
154 <td>Private slot to copy the selected file from the connected device.</td> |
197 <td>Private slot to copy the selected file from the connected device.</td> |
155 </tr><tr> |
198 </tr> |
|
199 <tr> |
156 <td><a href="#MicroPythonFileManagerWidget.on_localFileTreeWidget_itemActivated">on_localFileTreeWidget_itemActivated</a></td> |
200 <td><a href="#MicroPythonFileManagerWidget.on_localFileTreeWidget_itemActivated">on_localFileTreeWidget_itemActivated</a></td> |
157 <td>Private slot to handle the activation of a local item.</td> |
201 <td>Private slot to handle the activation of a local item.</td> |
158 </tr><tr> |
202 </tr> |
|
203 <tr> |
159 <td><a href="#MicroPythonFileManagerWidget.on_localFileTreeWidget_itemSelectionChanged">on_localFileTreeWidget_itemSelectionChanged</a></td> |
204 <td><a href="#MicroPythonFileManagerWidget.on_localFileTreeWidget_itemSelectionChanged">on_localFileTreeWidget_itemSelectionChanged</a></td> |
160 <td>Private slot handling a change of selection in the local pane.</td> |
205 <td>Private slot handling a change of selection in the local pane.</td> |
161 </tr><tr> |
206 </tr> |
|
207 <tr> |
162 <td><a href="#MicroPythonFileManagerWidget.on_localReloadButton_clicked">on_localReloadButton_clicked</a></td> |
208 <td><a href="#MicroPythonFileManagerWidget.on_localReloadButton_clicked">on_localReloadButton_clicked</a></td> |
163 <td>Private slot to reload the local list.</td> |
209 <td>Private slot to reload the local list.</td> |
164 </tr><tr> |
210 </tr> |
|
211 <tr> |
165 <td><a href="#MicroPythonFileManagerWidget.on_localUpButton_clicked">on_localUpButton_clicked</a></td> |
212 <td><a href="#MicroPythonFileManagerWidget.on_localUpButton_clicked">on_localUpButton_clicked</a></td> |
166 <td>Private slot to go up one directory level.</td> |
213 <td>Private slot to go up one directory level.</td> |
167 </tr><tr> |
214 </tr> |
|
215 <tr> |
168 <td><a href="#MicroPythonFileManagerWidget.on_putAsButton_clicked">on_putAsButton_clicked</a></td> |
216 <td><a href="#MicroPythonFileManagerWidget.on_putAsButton_clicked">on_putAsButton_clicked</a></td> |
169 <td>Private slot to copy the selected file to the connected device with a different name.</td> |
217 <td>Private slot to copy the selected file to the connected device with a different name.</td> |
170 </tr><tr> |
218 </tr> |
|
219 <tr> |
171 <td><a href="#MicroPythonFileManagerWidget.on_putButton_clicked">on_putButton_clicked</a></td> |
220 <td><a href="#MicroPythonFileManagerWidget.on_putButton_clicked">on_putButton_clicked</a></td> |
172 <td>Private slot to copy the selected file to the connected device.</td> |
221 <td>Private slot to copy the selected file to the connected device.</td> |
173 </tr><tr> |
222 </tr> |
|
223 <tr> |
174 <td><a href="#MicroPythonFileManagerWidget.on_syncButton_clicked">on_syncButton_clicked</a></td> |
224 <td><a href="#MicroPythonFileManagerWidget.on_syncButton_clicked">on_syncButton_clicked</a></td> |
175 <td>Private slot to synchronize the local directory to the device.</td> |
225 <td>Private slot to synchronize the local directory to the device.</td> |
176 </tr><tr> |
226 </tr> |
|
227 <tr> |
177 <td><a href="#MicroPythonFileManagerWidget.start">start</a></td> |
228 <td><a href="#MicroPythonFileManagerWidget.start">start</a></td> |
178 <td>Public method to start the widget.</td> |
229 <td>Public method to start the widget.</td> |
179 </tr><tr> |
230 </tr> |
|
231 <tr> |
180 <td><a href="#MicroPythonFileManagerWidget.stop">stop</a></td> |
232 <td><a href="#MicroPythonFileManagerWidget.stop">stop</a></td> |
181 <td>Public method to stop the widget.</td> |
233 <td>Public method to stop the widget.</td> |
182 </tr> |
234 </tr> |
183 </table> |
235 </table> |
184 <h3>Static Methods</h3> |
236 <h3>Static Methods</h3> |
|
237 |
185 <table> |
238 <table> |
186 <tr><td>None</td></tr> |
239 <tr><td>None</td></tr> |
187 </table> |
240 </table> |
|
241 |
188 <a NAME="MicroPythonFileManagerWidget.__init__" ID="MicroPythonFileManagerWidget.__init__"></a> |
242 <a NAME="MicroPythonFileManagerWidget.__init__" ID="MicroPythonFileManagerWidget.__init__"></a> |
189 <h4>MicroPythonFileManagerWidget (Constructor)</h4> |
243 <h4>MicroPythonFileManagerWidget (Constructor)</h4> |
190 <b>MicroPythonFileManagerWidget</b>(<i>commandsInterface, deviceWithLocalAccess, parent=None</i>) |
244 <b>MicroPythonFileManagerWidget</b>(<i>commandsInterface, deviceWithLocalAccess, parent=None</i>) |
|
245 |
191 <p> |
246 <p> |
192 Constructor |
247 Constructor |
193 </p><dl> |
248 </p> |
|
249 <dl> |
|
250 |
194 <dt><i>commandsInterface</i> (MicroPythonCommandsInterface)</dt> |
251 <dt><i>commandsInterface</i> (MicroPythonCommandsInterface)</dt> |
195 <dd> |
252 <dd> |
196 reference to the commands interface object |
253 reference to the commands interface object |
197 </dd><dt><i>deviceWithLocalAccess</i> (bool)</dt> |
254 </dd> |
|
255 <dt><i>deviceWithLocalAccess</i> (bool)</dt> |
198 <dd> |
256 <dd> |
199 flag indicating the device supports file |
257 flag indicating the device supports file |
200 access via a local directory |
258 access via a local directory |
201 </dd><dt><i>parent</i> (QWidget)</dt> |
259 </dd> |
|
260 <dt><i>parent</i> (QWidget)</dt> |
202 <dd> |
261 <dd> |
203 reference to the parent widget |
262 reference to the parent widget |
204 </dd> |
263 </dd> |
205 </dl><a NAME="MicroPythonFileManagerWidget.__changeDeviceDirectory" ID="MicroPythonFileManagerWidget.__changeDeviceDirectory"></a> |
264 </dl> |
|
265 <a NAME="MicroPythonFileManagerWidget.__changeDeviceDirectory" ID="MicroPythonFileManagerWidget.__changeDeviceDirectory"></a> |
206 <h4>MicroPythonFileManagerWidget.__changeDeviceDirectory</h4> |
266 <h4>MicroPythonFileManagerWidget.__changeDeviceDirectory</h4> |
207 <b>__changeDeviceDirectory</b>(<i></i>) |
267 <b>__changeDeviceDirectory</b>(<i></i>) |
|
268 |
208 <p> |
269 <p> |
209 Private slot to change the current directory of the device. |
270 Private slot to change the current directory of the device. |
210 </p><p> |
271 </p> |
|
272 <p> |
211 Note: This triggers a re-population of the device list for the new |
273 Note: This triggers a re-population of the device list for the new |
212 current directory. |
274 current directory. |
213 </p><a NAME="MicroPythonFileManagerWidget.__changeLocalDirectory" ID="MicroPythonFileManagerWidget.__changeLocalDirectory"></a> |
275 </p> |
|
276 <a NAME="MicroPythonFileManagerWidget.__changeLocalDirectory" ID="MicroPythonFileManagerWidget.__changeLocalDirectory"></a> |
214 <h4>MicroPythonFileManagerWidget.__changeLocalDirectory</h4> |
277 <h4>MicroPythonFileManagerWidget.__changeLocalDirectory</h4> |
215 <b>__changeLocalDirectory</b>(<i>localDevice=False</i>) |
278 <b>__changeLocalDirectory</b>(<i>localDevice=False</i>) |
|
279 |
216 <p> |
280 <p> |
217 Private slot to change the local directory. |
281 Private slot to change the local directory. |
218 </p><dl> |
282 </p> |
|
283 <dl> |
|
284 |
219 <dt><i>localDevice</i> (bool)</dt> |
285 <dt><i>localDevice</i> (bool)</dt> |
220 <dd> |
286 <dd> |
221 flag indicating device access via local file system |
287 flag indicating device access via local file system |
222 </dd> |
288 </dd> |
223 </dl><a NAME="MicroPythonFileManagerWidget.__createDeviceDirectory" ID="MicroPythonFileManagerWidget.__createDeviceDirectory"></a> |
289 </dl> |
|
290 <a NAME="MicroPythonFileManagerWidget.__createDeviceDirectory" ID="MicroPythonFileManagerWidget.__createDeviceDirectory"></a> |
224 <h4>MicroPythonFileManagerWidget.__createDeviceDirectory</h4> |
291 <h4>MicroPythonFileManagerWidget.__createDeviceDirectory</h4> |
225 <b>__createDeviceDirectory</b>(<i></i>) |
292 <b>__createDeviceDirectory</b>(<i></i>) |
|
293 |
226 <p> |
294 <p> |
227 Private slot to create a directory on the device. |
295 Private slot to create a directory on the device. |
228 </p><a NAME="MicroPythonFileManagerWidget.__createLocalDirectory" ID="MicroPythonFileManagerWidget.__createLocalDirectory"></a> |
296 </p> |
|
297 <a NAME="MicroPythonFileManagerWidget.__createLocalDirectory" ID="MicroPythonFileManagerWidget.__createLocalDirectory"></a> |
229 <h4>MicroPythonFileManagerWidget.__createLocalDirectory</h4> |
298 <h4>MicroPythonFileManagerWidget.__createLocalDirectory</h4> |
230 <b>__createLocalDirectory</b>(<i>localDevice=False</i>) |
299 <b>__createLocalDirectory</b>(<i>localDevice=False</i>) |
|
300 |
231 <p> |
301 <p> |
232 Private slot to create a local directory. |
302 Private slot to create a local directory. |
233 </p><dl> |
303 </p> |
|
304 <dl> |
|
305 |
234 <dt><i>localDevice</i> (bool)</dt> |
306 <dt><i>localDevice</i> (bool)</dt> |
235 <dd> |
307 <dd> |
236 flag indicating device access via local file system |
308 flag indicating device access via local file system |
237 </dd> |
309 </dd> |
238 </dl><a NAME="MicroPythonFileManagerWidget.__deleteDeviceDirectory" ID="MicroPythonFileManagerWidget.__deleteDeviceDirectory"></a> |
310 </dl> |
|
311 <a NAME="MicroPythonFileManagerWidget.__deleteDeviceDirectory" ID="MicroPythonFileManagerWidget.__deleteDeviceDirectory"></a> |
239 <h4>MicroPythonFileManagerWidget.__deleteDeviceDirectory</h4> |
312 <h4>MicroPythonFileManagerWidget.__deleteDeviceDirectory</h4> |
240 <b>__deleteDeviceDirectory</b>(<i></i>) |
313 <b>__deleteDeviceDirectory</b>(<i></i>) |
|
314 |
241 <p> |
315 <p> |
242 Private slot to delete an empty directory on the device. |
316 Private slot to delete an empty directory on the device. |
243 </p><a NAME="MicroPythonFileManagerWidget.__deleteDeviceDirectoryTree" ID="MicroPythonFileManagerWidget.__deleteDeviceDirectoryTree"></a> |
317 </p> |
|
318 <a NAME="MicroPythonFileManagerWidget.__deleteDeviceDirectoryTree" ID="MicroPythonFileManagerWidget.__deleteDeviceDirectoryTree"></a> |
244 <h4>MicroPythonFileManagerWidget.__deleteDeviceDirectoryTree</h4> |
319 <h4>MicroPythonFileManagerWidget.__deleteDeviceDirectoryTree</h4> |
245 <b>__deleteDeviceDirectoryTree</b>(<i></i>) |
320 <b>__deleteDeviceDirectoryTree</b>(<i></i>) |
|
321 |
246 <p> |
322 <p> |
247 Private slot to delete a directory and all its subdirectories |
323 Private slot to delete a directory and all its subdirectories |
248 recursively. |
324 recursively. |
249 </p><a NAME="MicroPythonFileManagerWidget.__deleteDeviceFile" ID="MicroPythonFileManagerWidget.__deleteDeviceFile"></a> |
325 </p> |
|
326 <a NAME="MicroPythonFileManagerWidget.__deleteDeviceFile" ID="MicroPythonFileManagerWidget.__deleteDeviceFile"></a> |
250 <h4>MicroPythonFileManagerWidget.__deleteDeviceFile</h4> |
327 <h4>MicroPythonFileManagerWidget.__deleteDeviceFile</h4> |
251 <b>__deleteDeviceFile</b>(<i></i>) |
328 <b>__deleteDeviceFile</b>(<i></i>) |
|
329 |
252 <p> |
330 <p> |
253 Private slot to delete a file. |
331 Private slot to delete a file. |
254 </p><a NAME="MicroPythonFileManagerWidget.__deleteLocalDirectoryTree" ID="MicroPythonFileManagerWidget.__deleteLocalDirectoryTree"></a> |
332 </p> |
|
333 <a NAME="MicroPythonFileManagerWidget.__deleteLocalDirectoryTree" ID="MicroPythonFileManagerWidget.__deleteLocalDirectoryTree"></a> |
255 <h4>MicroPythonFileManagerWidget.__deleteLocalDirectoryTree</h4> |
334 <h4>MicroPythonFileManagerWidget.__deleteLocalDirectoryTree</h4> |
256 <b>__deleteLocalDirectoryTree</b>(<i>localDevice=False</i>) |
335 <b>__deleteLocalDirectoryTree</b>(<i>localDevice=False</i>) |
|
336 |
257 <p> |
337 <p> |
258 Private slot to delete a local directory tree. |
338 Private slot to delete a local directory tree. |
259 </p><dl> |
339 </p> |
|
340 <dl> |
|
341 |
260 <dt><i>localDevice</i> (bool)</dt> |
342 <dt><i>localDevice</i> (bool)</dt> |
261 <dd> |
343 <dd> |
262 flag indicating device access via local file system |
344 flag indicating device access via local file system |
263 </dd> |
345 </dd> |
264 </dl><a NAME="MicroPythonFileManagerWidget.__deleteLocalFile" ID="MicroPythonFileManagerWidget.__deleteLocalFile"></a> |
346 </dl> |
|
347 <a NAME="MicroPythonFileManagerWidget.__deleteLocalFile" ID="MicroPythonFileManagerWidget.__deleteLocalFile"></a> |
265 <h4>MicroPythonFileManagerWidget.__deleteLocalFile</h4> |
348 <h4>MicroPythonFileManagerWidget.__deleteLocalFile</h4> |
266 <b>__deleteLocalFile</b>(<i>localDevice=False</i>) |
349 <b>__deleteLocalFile</b>(<i>localDevice=False</i>) |
|
350 |
267 <p> |
351 <p> |
268 Private slot to delete a local file. |
352 Private slot to delete a local file. |
269 </p><dl> |
353 </p> |
|
354 <dl> |
|
355 |
270 <dt><i>localDevice</i> (bool)</dt> |
356 <dt><i>localDevice</i> (bool)</dt> |
271 <dd> |
357 <dd> |
272 flag indicating device access via local file system |
358 flag indicating device access via local file system |
273 </dd> |
359 </dd> |
274 </dl><a NAME="MicroPythonFileManagerWidget.__deviceHiddenChanged" ID="MicroPythonFileManagerWidget.__deviceHiddenChanged"></a> |
360 </dl> |
|
361 <a NAME="MicroPythonFileManagerWidget.__deviceHiddenChanged" ID="MicroPythonFileManagerWidget.__deviceHiddenChanged"></a> |
275 <h4>MicroPythonFileManagerWidget.__deviceHiddenChanged</h4> |
362 <h4>MicroPythonFileManagerWidget.__deviceHiddenChanged</h4> |
276 <b>__deviceHiddenChanged</b>(<i>checked</i>) |
363 <b>__deviceHiddenChanged</b>(<i>checked</i>) |
|
364 |
277 <p> |
365 <p> |
278 Private slot handling a change of the device show hidden menu entry. |
366 Private slot handling a change of the device show hidden menu entry. |
279 </p><dl> |
367 </p> |
|
368 <dl> |
|
369 |
280 <dt><i>checked</i> (bool)</dt> |
370 <dt><i>checked</i> (bool)</dt> |
281 <dd> |
371 <dd> |
282 new check state of the action |
372 new check state of the action |
283 </dd> |
373 </dd> |
284 </dl><a NAME="MicroPythonFileManagerWidget.__fsInfoResultReceived" ID="MicroPythonFileManagerWidget.__fsInfoResultReceived"></a> |
374 </dl> |
|
375 <a NAME="MicroPythonFileManagerWidget.__fsInfoResultReceived" ID="MicroPythonFileManagerWidget.__fsInfoResultReceived"></a> |
285 <h4>MicroPythonFileManagerWidget.__fsInfoResultReceived</h4> |
376 <h4>MicroPythonFileManagerWidget.__fsInfoResultReceived</h4> |
286 <b>__fsInfoResultReceived</b>(<i>fsinfo</i>) |
377 <b>__fsInfoResultReceived</b>(<i>fsinfo</i>) |
|
378 |
287 <p> |
379 <p> |
288 Private slot to show the file system information of the device. |
380 Private slot to show the file system information of the device. |
289 </p><dl> |
381 </p> |
|
382 <dl> |
|
383 |
290 <dt><i>fsinfo</i> (tuple of tuples of (str, int, int, int))</dt> |
384 <dt><i>fsinfo</i> (tuple of tuples of (str, int, int, int))</dt> |
291 <dd> |
385 <dd> |
292 tuple of tuples containing the file system name, the |
386 tuple of tuples containing the file system name, the |
293 total size, the used size and the free size |
387 total size, the used size and the free size |
294 </dd> |
388 </dd> |
295 </dl><a NAME="MicroPythonFileManagerWidget.__handleCurrentDir" ID="MicroPythonFileManagerWidget.__handleCurrentDir"></a> |
389 </dl> |
|
390 <a NAME="MicroPythonFileManagerWidget.__handleCurrentDir" ID="MicroPythonFileManagerWidget.__handleCurrentDir"></a> |
296 <h4>MicroPythonFileManagerWidget.__handleCurrentDir</h4> |
391 <h4>MicroPythonFileManagerWidget.__handleCurrentDir</h4> |
297 <b>__handleCurrentDir</b>(<i>dirname</i>) |
392 <b>__handleCurrentDir</b>(<i>dirname</i>) |
|
393 |
298 <p> |
394 <p> |
299 Private slot to handle a change of the current directory of the device. |
395 Private slot to handle a change of the current directory of the device. |
300 </p><dl> |
396 </p> |
|
397 <dl> |
|
398 |
301 <dt><i>dirname</i> (str)</dt> |
399 <dt><i>dirname</i> (str)</dt> |
302 <dd> |
400 <dd> |
303 name of the current directory |
401 name of the current directory |
304 </dd> |
402 </dd> |
305 </dl><a NAME="MicroPythonFileManagerWidget.__handleError" ID="MicroPythonFileManagerWidget.__handleError"></a> |
403 </dl> |
|
404 <a NAME="MicroPythonFileManagerWidget.__handleError" ID="MicroPythonFileManagerWidget.__handleError"></a> |
306 <h4>MicroPythonFileManagerWidget.__handleError</h4> |
405 <h4>MicroPythonFileManagerWidget.__handleError</h4> |
307 <b>__handleError</b>(<i>method, error</i>) |
406 <b>__handleError</b>(<i>method, error</i>) |
|
407 |
308 <p> |
408 <p> |
309 Private slot to handle errors. |
409 Private slot to handle errors. |
310 </p><dl> |
410 </p> |
|
411 <dl> |
|
412 |
311 <dt><i>method</i> (str)</dt> |
413 <dt><i>method</i> (str)</dt> |
312 <dd> |
414 <dd> |
313 name of the method the error occured in |
415 name of the method the error occured in |
314 </dd><dt><i>error</i> (str)</dt> |
416 </dd> |
|
417 <dt><i>error</i> (str)</dt> |
315 <dd> |
418 <dd> |
316 error message |
419 error message |
317 </dd> |
420 </dd> |
318 </dl><a NAME="MicroPythonFileManagerWidget.__handleGetDone" ID="MicroPythonFileManagerWidget.__handleGetDone"></a> |
421 </dl> |
|
422 <a NAME="MicroPythonFileManagerWidget.__handleGetDone" ID="MicroPythonFileManagerWidget.__handleGetDone"></a> |
319 <h4>MicroPythonFileManagerWidget.__handleGetDone</h4> |
423 <h4>MicroPythonFileManagerWidget.__handleGetDone</h4> |
320 <b>__handleGetDone</b>(<i>deviceFile, localFile</i>) |
424 <b>__handleGetDone</b>(<i>deviceFile, localFile</i>) |
|
425 |
321 <p> |
426 <p> |
322 Private slot handling a successful copy of a file from the device. |
427 Private slot handling a successful copy of a file from the device. |
323 </p><dl> |
428 </p> |
|
429 <dl> |
|
430 |
324 <dt><i>deviceFile</i> (str)</dt> |
431 <dt><i>deviceFile</i> (str)</dt> |
325 <dd> |
432 <dd> |
326 name of the file on the device |
433 name of the file on the device |
327 </dd><dt><i>localFile</i> (str)</dt> |
434 </dd> |
|
435 <dt><i>localFile</i> (str)</dt> |
328 <dd> |
436 <dd> |
329 name of the local file |
437 name of the local file |
330 </dd> |
438 </dd> |
331 </dl><a NAME="MicroPythonFileManagerWidget.__handleLongListFiles" ID="MicroPythonFileManagerWidget.__handleLongListFiles"></a> |
439 </dl> |
|
440 <a NAME="MicroPythonFileManagerWidget.__handleLongListFiles" ID="MicroPythonFileManagerWidget.__handleLongListFiles"></a> |
332 <h4>MicroPythonFileManagerWidget.__handleLongListFiles</h4> |
441 <h4>MicroPythonFileManagerWidget.__handleLongListFiles</h4> |
333 <b>__handleLongListFiles</b>(<i>filesList</i>) |
442 <b>__handleLongListFiles</b>(<i>filesList</i>) |
|
443 |
334 <p> |
444 <p> |
335 Private slot to receive a long directory listing. |
445 Private slot to receive a long directory listing. |
336 </p><dl> |
446 </p> |
|
447 <dl> |
|
448 |
337 <dt><i>filesList</i> (tuple of (str, str, str, str))</dt> |
449 <dt><i>filesList</i> (tuple of (str, str, str, str))</dt> |
338 <dd> |
450 <dd> |
339 tuple containing tuples with name, mode, size and time |
451 tuple containing tuples with name, mode, size and time |
340 for each directory entry |
452 for each directory entry |
341 </dd> |
453 </dd> |
342 </dl><a NAME="MicroPythonFileManagerWidget.__handleRsyncDone" ID="MicroPythonFileManagerWidget.__handleRsyncDone"></a> |
454 </dl> |
|
455 <a NAME="MicroPythonFileManagerWidget.__handleRsyncDone" ID="MicroPythonFileManagerWidget.__handleRsyncDone"></a> |
343 <h4>MicroPythonFileManagerWidget.__handleRsyncDone</h4> |
456 <h4>MicroPythonFileManagerWidget.__handleRsyncDone</h4> |
344 <b>__handleRsyncDone</b>(<i>localDir, deviceDir</i>) |
457 <b>__handleRsyncDone</b>(<i>localDir, deviceDir</i>) |
|
458 |
345 <p> |
459 <p> |
346 Private method to handle the completion of the rsync operation. |
460 Private method to handle the completion of the rsync operation. |
347 </p><dl> |
461 </p> |
|
462 <dl> |
|
463 |
348 <dt><i>localDir</i> (str)</dt> |
464 <dt><i>localDir</i> (str)</dt> |
349 <dd> |
465 <dd> |
350 name of the local directory |
466 name of the local directory |
351 </dd><dt><i>deviceDir</i> (str)</dt> |
467 </dd> |
|
468 <dt><i>deviceDir</i> (str)</dt> |
352 <dd> |
469 <dd> |
353 name of the device directory |
470 name of the device directory |
354 </dd> |
471 </dd> |
355 </dl><a NAME="MicroPythonFileManagerWidget.__handleRsyncProgressMessage" ID="MicroPythonFileManagerWidget.__handleRsyncProgressMessage"></a> |
472 </dl> |
|
473 <a NAME="MicroPythonFileManagerWidget.__handleRsyncProgressMessage" ID="MicroPythonFileManagerWidget.__handleRsyncProgressMessage"></a> |
356 <h4>MicroPythonFileManagerWidget.__handleRsyncProgressMessage</h4> |
474 <h4>MicroPythonFileManagerWidget.__handleRsyncProgressMessage</h4> |
357 <b>__handleRsyncProgressMessage</b>(<i>message</i>) |
475 <b>__handleRsyncProgressMessage</b>(<i>message</i>) |
|
476 |
358 <p> |
477 <p> |
359 Private slot handling progress messages sent by the file manager. |
478 Private slot handling progress messages sent by the file manager. |
360 </p><dl> |
479 </p> |
|
480 <dl> |
|
481 |
361 <dt><i>message</i> (str)</dt> |
482 <dt><i>message</i> (str)</dt> |
362 <dd> |
483 <dd> |
363 message to be shown |
484 message to be shown |
364 </dd> |
485 </dd> |
365 </dl><a NAME="MicroPythonFileManagerWidget.__isFileInList" ID="MicroPythonFileManagerWidget.__isFileInList"></a> |
486 </dl> |
|
487 <a NAME="MicroPythonFileManagerWidget.__isFileInList" ID="MicroPythonFileManagerWidget.__isFileInList"></a> |
366 <h4>MicroPythonFileManagerWidget.__isFileInList</h4> |
488 <h4>MicroPythonFileManagerWidget.__isFileInList</h4> |
367 <b>__isFileInList</b>(<i>filename, treeWidget</i>) |
489 <b>__isFileInList</b>(<i>filename, treeWidget</i>) |
|
490 |
368 <p> |
491 <p> |
369 Private method to check, if a file name is contained in a tree widget. |
492 Private method to check, if a file name is contained in a tree widget. |
370 </p><dl> |
493 </p> |
|
494 <dl> |
|
495 |
371 <dt><i>filename</i> (str)</dt> |
496 <dt><i>filename</i> (str)</dt> |
372 <dd> |
497 <dd> |
373 name of the file to check |
498 name of the file to check |
374 </dd><dt><i>treeWidget</i></dt> |
499 </dd> |
|
500 <dt><i>treeWidget</i></dt> |
375 <dd> |
501 <dd> |
376 reference to the tree widget to be checked against |
502 reference to the tree widget to be checked against |
377 </dd> |
503 </dd> |
378 </dl><dl> |
504 </dl> |
|
505 <dl> |
379 <dt>Returns:</dt> |
506 <dt>Returns:</dt> |
380 <dd> |
507 <dd> |
381 flag indicating that the file name is present |
508 flag indicating that the file name is present |
382 </dd> |
509 </dd> |
383 </dl><dl> |
510 </dl> |
|
511 <dl> |
384 <dt>Return Type:</dt> |
512 <dt>Return Type:</dt> |
385 <dd> |
513 <dd> |
386 bool |
514 bool |
387 </dd> |
515 </dd> |
388 </dl><a NAME="MicroPythonFileManagerWidget.__listLocalFiles" ID="MicroPythonFileManagerWidget.__listLocalFiles"></a> |
516 </dl> |
|
517 <a NAME="MicroPythonFileManagerWidget.__listLocalFiles" ID="MicroPythonFileManagerWidget.__listLocalFiles"></a> |
389 <h4>MicroPythonFileManagerWidget.__listLocalFiles</h4> |
518 <h4>MicroPythonFileManagerWidget.__listLocalFiles</h4> |
390 <b>__listLocalFiles</b>(<i>dirname="", localDevice=False</i>) |
519 <b>__listLocalFiles</b>(<i>dirname="", localDevice=False</i>) |
|
520 |
391 <p> |
521 <p> |
392 Private method to populate the local files list. |
522 Private method to populate the local files list. |
393 </p><dl> |
523 </p> |
|
524 <dl> |
|
525 |
394 <dt><i>dirname</i> (str)</dt> |
526 <dt><i>dirname</i> (str)</dt> |
395 <dd> |
527 <dd> |
396 name of the local directory to be listed |
528 name of the local directory to be listed |
397 </dd><dt><i>localDevice</i> (bool)</dt> |
529 </dd> |
|
530 <dt><i>localDevice</i> (bool)</dt> |
398 <dd> |
531 <dd> |
399 flag indicating device access via local file system |
532 flag indicating device access via local file system |
400 </dd> |
533 </dd> |
401 </dl><a NAME="MicroPythonFileManagerWidget.__localHiddenChanged" ID="MicroPythonFileManagerWidget.__localHiddenChanged"></a> |
534 </dl> |
|
535 <a NAME="MicroPythonFileManagerWidget.__localHiddenChanged" ID="MicroPythonFileManagerWidget.__localHiddenChanged"></a> |
402 <h4>MicroPythonFileManagerWidget.__localHiddenChanged</h4> |
536 <h4>MicroPythonFileManagerWidget.__localHiddenChanged</h4> |
403 <b>__localHiddenChanged</b>(<i>checked</i>) |
537 <b>__localHiddenChanged</b>(<i>checked</i>) |
|
538 |
404 <p> |
539 <p> |
405 Private slot handling a change of the local show hidden menu entry. |
540 Private slot handling a change of the local show hidden menu entry. |
406 </p><dl> |
541 </p> |
|
542 <dl> |
|
543 |
407 <dt><i>checked</i> (bool)</dt> |
544 <dt><i>checked</i> (bool)</dt> |
408 <dd> |
545 <dd> |
409 new check state of the action |
546 new check state of the action |
410 </dd> |
547 </dd> |
411 </dl><a NAME="MicroPythonFileManagerWidget.__newDeviceList" ID="MicroPythonFileManagerWidget.__newDeviceList"></a> |
548 </dl> |
|
549 <a NAME="MicroPythonFileManagerWidget.__newDeviceList" ID="MicroPythonFileManagerWidget.__newDeviceList"></a> |
412 <h4>MicroPythonFileManagerWidget.__newDeviceList</h4> |
550 <h4>MicroPythonFileManagerWidget.__newDeviceList</h4> |
413 <b>__newDeviceList</b>(<i></i>) |
551 <b>__newDeviceList</b>(<i></i>) |
|
552 |
414 <p> |
553 <p> |
415 Private slot to initiate a new long list of the device directory. |
554 Private slot to initiate a new long list of the device directory. |
416 </p><a NAME="MicroPythonFileManagerWidget.__progressInfoDialogFinished" ID="MicroPythonFileManagerWidget.__progressInfoDialogFinished"></a> |
555 </p> |
|
556 <a NAME="MicroPythonFileManagerWidget.__progressInfoDialogFinished" ID="MicroPythonFileManagerWidget.__progressInfoDialogFinished"></a> |
417 <h4>MicroPythonFileManagerWidget.__progressInfoDialogFinished</h4> |
557 <h4>MicroPythonFileManagerWidget.__progressInfoDialogFinished</h4> |
418 <b>__progressInfoDialogFinished</b>(<i></i>) |
558 <b>__progressInfoDialogFinished</b>(<i></i>) |
|
559 |
419 <p> |
560 <p> |
420 Private slot handling the closing of the progress info dialog. |
561 Private slot handling the closing of the progress info dialog. |
421 </p><a NAME="MicroPythonFileManagerWidget.__showDeviceContextMenu" ID="MicroPythonFileManagerWidget.__showDeviceContextMenu"></a> |
562 </p> |
|
563 <a NAME="MicroPythonFileManagerWidget.__showDeviceContextMenu" ID="MicroPythonFileManagerWidget.__showDeviceContextMenu"></a> |
422 <h4>MicroPythonFileManagerWidget.__showDeviceContextMenu</h4> |
564 <h4>MicroPythonFileManagerWidget.__showDeviceContextMenu</h4> |
423 <b>__showDeviceContextMenu</b>(<i>pos</i>) |
565 <b>__showDeviceContextMenu</b>(<i>pos</i>) |
|
566 |
424 <p> |
567 <p> |
425 Private slot to show the REPL context menu. |
568 Private slot to show the REPL context menu. |
426 </p><dl> |
569 </p> |
|
570 <dl> |
|
571 |
427 <dt><i>pos</i> (QPoint)</dt> |
572 <dt><i>pos</i> (QPoint)</dt> |
428 <dd> |
573 <dd> |
429 position to show the menu at |
574 position to show the menu at |
430 </dd> |
575 </dd> |
431 </dl><a NAME="MicroPythonFileManagerWidget.__showFileSystemInfo" ID="MicroPythonFileManagerWidget.__showFileSystemInfo"></a> |
576 </dl> |
|
577 <a NAME="MicroPythonFileManagerWidget.__showFileSystemInfo" ID="MicroPythonFileManagerWidget.__showFileSystemInfo"></a> |
432 <h4>MicroPythonFileManagerWidget.__showFileSystemInfo</h4> |
578 <h4>MicroPythonFileManagerWidget.__showFileSystemInfo</h4> |
433 <b>__showFileSystemInfo</b>(<i></i>) |
579 <b>__showFileSystemInfo</b>(<i></i>) |
|
580 |
434 <p> |
581 <p> |
435 Private slot to show some file system information. |
582 Private slot to show some file system information. |
436 </p><a NAME="MicroPythonFileManagerWidget.__showLocalContextMenu" ID="MicroPythonFileManagerWidget.__showLocalContextMenu"></a> |
583 </p> |
|
584 <a NAME="MicroPythonFileManagerWidget.__showLocalContextMenu" ID="MicroPythonFileManagerWidget.__showLocalContextMenu"></a> |
437 <h4>MicroPythonFileManagerWidget.__showLocalContextMenu</h4> |
585 <h4>MicroPythonFileManagerWidget.__showLocalContextMenu</h4> |
438 <b>__showLocalContextMenu</b>(<i>pos</i>) |
586 <b>__showLocalContextMenu</b>(<i>pos</i>) |
|
587 |
439 <p> |
588 <p> |
440 Private slot to show the REPL context menu. |
589 Private slot to show the REPL context menu. |
441 </p><dl> |
590 </p> |
|
591 <dl> |
|
592 |
442 <dt><i>pos</i> (QPoint)</dt> |
593 <dt><i>pos</i> (QPoint)</dt> |
443 <dd> |
594 <dd> |
444 position to show the menu at |
595 position to show the menu at |
445 </dd> |
596 </dd> |
446 </dl><a NAME="MicroPythonFileManagerWidget.on_deviceFileTreeWidget_itemActivated" ID="MicroPythonFileManagerWidget.on_deviceFileTreeWidget_itemActivated"></a> |
597 </dl> |
|
598 <a NAME="MicroPythonFileManagerWidget.on_deviceFileTreeWidget_itemActivated" ID="MicroPythonFileManagerWidget.on_deviceFileTreeWidget_itemActivated"></a> |
447 <h4>MicroPythonFileManagerWidget.on_deviceFileTreeWidget_itemActivated</h4> |
599 <h4>MicroPythonFileManagerWidget.on_deviceFileTreeWidget_itemActivated</h4> |
448 <b>on_deviceFileTreeWidget_itemActivated</b>(<i>item, column</i>) |
600 <b>on_deviceFileTreeWidget_itemActivated</b>(<i>item, column</i>) |
|
601 |
449 <p> |
602 <p> |
450 Private slot to handle the activation of a device item. |
603 Private slot to handle the activation of a device item. |
451 </p><p> |
604 </p> |
|
605 <p> |
452 If the item is a directory, the current working directory is changed |
606 If the item is a directory, the current working directory is changed |
453 and the list will be re-populated for this directory. |
607 and the list will be re-populated for this directory. |
454 </p><dl> |
608 </p> |
|
609 <dl> |
|
610 |
455 <dt><i>item</i> (QTreeWidgetItem)</dt> |
611 <dt><i>item</i> (QTreeWidgetItem)</dt> |
456 <dd> |
612 <dd> |
457 reference to the activated item |
613 reference to the activated item |
458 </dd><dt><i>column</i> (int)</dt> |
614 </dd> |
|
615 <dt><i>column</i> (int)</dt> |
459 <dd> |
616 <dd> |
460 column of the activation |
617 column of the activation |
461 </dd> |
618 </dd> |
462 </dl><a NAME="MicroPythonFileManagerWidget.on_deviceFileTreeWidget_itemSelectionChanged" ID="MicroPythonFileManagerWidget.on_deviceFileTreeWidget_itemSelectionChanged"></a> |
619 </dl> |
|
620 <a NAME="MicroPythonFileManagerWidget.on_deviceFileTreeWidget_itemSelectionChanged" ID="MicroPythonFileManagerWidget.on_deviceFileTreeWidget_itemSelectionChanged"></a> |
463 <h4>MicroPythonFileManagerWidget.on_deviceFileTreeWidget_itemSelectionChanged</h4> |
621 <h4>MicroPythonFileManagerWidget.on_deviceFileTreeWidget_itemSelectionChanged</h4> |
464 <b>on_deviceFileTreeWidget_itemSelectionChanged</b>(<i></i>) |
622 <b>on_deviceFileTreeWidget_itemSelectionChanged</b>(<i></i>) |
|
623 |
465 <p> |
624 <p> |
466 Private slot handling a change of selection in the local pane. |
625 Private slot handling a change of selection in the local pane. |
467 </p><a NAME="MicroPythonFileManagerWidget.on_deviceReloadButton_clicked" ID="MicroPythonFileManagerWidget.on_deviceReloadButton_clicked"></a> |
626 </p> |
|
627 <a NAME="MicroPythonFileManagerWidget.on_deviceReloadButton_clicked" ID="MicroPythonFileManagerWidget.on_deviceReloadButton_clicked"></a> |
468 <h4>MicroPythonFileManagerWidget.on_deviceReloadButton_clicked</h4> |
628 <h4>MicroPythonFileManagerWidget.on_deviceReloadButton_clicked</h4> |
469 <b>on_deviceReloadButton_clicked</b>(<i></i>) |
629 <b>on_deviceReloadButton_clicked</b>(<i></i>) |
|
630 |
470 <p> |
631 <p> |
471 Private slot to reload the device list. |
632 Private slot to reload the device list. |
472 </p><a NAME="MicroPythonFileManagerWidget.on_deviceUpButton_clicked" ID="MicroPythonFileManagerWidget.on_deviceUpButton_clicked"></a> |
633 </p> |
|
634 <a NAME="MicroPythonFileManagerWidget.on_deviceUpButton_clicked" ID="MicroPythonFileManagerWidget.on_deviceUpButton_clicked"></a> |
473 <h4>MicroPythonFileManagerWidget.on_deviceUpButton_clicked</h4> |
635 <h4>MicroPythonFileManagerWidget.on_deviceUpButton_clicked</h4> |
474 <b>on_deviceUpButton_clicked</b>(<i></i>) |
636 <b>on_deviceUpButton_clicked</b>(<i></i>) |
|
637 |
475 <p> |
638 <p> |
476 Private slot to go up one directory level on the device. |
639 Private slot to go up one directory level on the device. |
477 </p><a NAME="MicroPythonFileManagerWidget.on_getAsButton_clicked" ID="MicroPythonFileManagerWidget.on_getAsButton_clicked"></a> |
640 </p> |
|
641 <a NAME="MicroPythonFileManagerWidget.on_getAsButton_clicked" ID="MicroPythonFileManagerWidget.on_getAsButton_clicked"></a> |
478 <h4>MicroPythonFileManagerWidget.on_getAsButton_clicked</h4> |
642 <h4>MicroPythonFileManagerWidget.on_getAsButton_clicked</h4> |
479 <b>on_getAsButton_clicked</b>(<i></i>) |
643 <b>on_getAsButton_clicked</b>(<i></i>) |
|
644 |
480 <p> |
645 <p> |
481 Private slot to copy the selected file from the connected device |
646 Private slot to copy the selected file from the connected device |
482 with a different name. |
647 with a different name. |
483 </p><a NAME="MicroPythonFileManagerWidget.on_getButton_clicked" ID="MicroPythonFileManagerWidget.on_getButton_clicked"></a> |
648 </p> |
|
649 <a NAME="MicroPythonFileManagerWidget.on_getButton_clicked" ID="MicroPythonFileManagerWidget.on_getButton_clicked"></a> |
484 <h4>MicroPythonFileManagerWidget.on_getButton_clicked</h4> |
650 <h4>MicroPythonFileManagerWidget.on_getButton_clicked</h4> |
485 <b>on_getButton_clicked</b>(<i>getAs=False</i>) |
651 <b>on_getButton_clicked</b>(<i>getAs=False</i>) |
|
652 |
486 <p> |
653 <p> |
487 Private slot to copy the selected file from the connected device. |
654 Private slot to copy the selected file from the connected device. |
488 </p><dl> |
655 </p> |
|
656 <dl> |
|
657 |
489 <dt><i>getAs</i> (bool)</dt> |
658 <dt><i>getAs</i> (bool)</dt> |
490 <dd> |
659 <dd> |
491 flag indicating to give it a new name |
660 flag indicating to give it a new name |
492 </dd> |
661 </dd> |
493 </dl><a NAME="MicroPythonFileManagerWidget.on_localFileTreeWidget_itemActivated" ID="MicroPythonFileManagerWidget.on_localFileTreeWidget_itemActivated"></a> |
662 </dl> |
|
663 <a NAME="MicroPythonFileManagerWidget.on_localFileTreeWidget_itemActivated" ID="MicroPythonFileManagerWidget.on_localFileTreeWidget_itemActivated"></a> |
494 <h4>MicroPythonFileManagerWidget.on_localFileTreeWidget_itemActivated</h4> |
664 <h4>MicroPythonFileManagerWidget.on_localFileTreeWidget_itemActivated</h4> |
495 <b>on_localFileTreeWidget_itemActivated</b>(<i>item, column</i>) |
665 <b>on_localFileTreeWidget_itemActivated</b>(<i>item, column</i>) |
|
666 |
496 <p> |
667 <p> |
497 Private slot to handle the activation of a local item. |
668 Private slot to handle the activation of a local item. |
498 </p><p> |
669 </p> |
|
670 <p> |
499 If the item is a directory, the list will be re-populated for this |
671 If the item is a directory, the list will be re-populated for this |
500 directory. |
672 directory. |
501 </p><dl> |
673 </p> |
|
674 <dl> |
|
675 |
502 <dt><i>item</i> (QTreeWidgetItem)</dt> |
676 <dt><i>item</i> (QTreeWidgetItem)</dt> |
503 <dd> |
677 <dd> |
504 reference to the activated item |
678 reference to the activated item |
505 </dd><dt><i>column</i> (int)</dt> |
679 </dd> |
|
680 <dt><i>column</i> (int)</dt> |
506 <dd> |
681 <dd> |
507 column of the activation |
682 column of the activation |
508 </dd> |
683 </dd> |
509 </dl><a NAME="MicroPythonFileManagerWidget.on_localFileTreeWidget_itemSelectionChanged" ID="MicroPythonFileManagerWidget.on_localFileTreeWidget_itemSelectionChanged"></a> |
684 </dl> |
|
685 <a NAME="MicroPythonFileManagerWidget.on_localFileTreeWidget_itemSelectionChanged" ID="MicroPythonFileManagerWidget.on_localFileTreeWidget_itemSelectionChanged"></a> |
510 <h4>MicroPythonFileManagerWidget.on_localFileTreeWidget_itemSelectionChanged</h4> |
686 <h4>MicroPythonFileManagerWidget.on_localFileTreeWidget_itemSelectionChanged</h4> |
511 <b>on_localFileTreeWidget_itemSelectionChanged</b>(<i></i>) |
687 <b>on_localFileTreeWidget_itemSelectionChanged</b>(<i></i>) |
|
688 |
512 <p> |
689 <p> |
513 Private slot handling a change of selection in the local pane. |
690 Private slot handling a change of selection in the local pane. |
514 </p><a NAME="MicroPythonFileManagerWidget.on_localReloadButton_clicked" ID="MicroPythonFileManagerWidget.on_localReloadButton_clicked"></a> |
691 </p> |
|
692 <a NAME="MicroPythonFileManagerWidget.on_localReloadButton_clicked" ID="MicroPythonFileManagerWidget.on_localReloadButton_clicked"></a> |
515 <h4>MicroPythonFileManagerWidget.on_localReloadButton_clicked</h4> |
693 <h4>MicroPythonFileManagerWidget.on_localReloadButton_clicked</h4> |
516 <b>on_localReloadButton_clicked</b>(<i></i>) |
694 <b>on_localReloadButton_clicked</b>(<i></i>) |
|
695 |
517 <p> |
696 <p> |
518 Private slot to reload the local list. |
697 Private slot to reload the local list. |
519 </p><a NAME="MicroPythonFileManagerWidget.on_localUpButton_clicked" ID="MicroPythonFileManagerWidget.on_localUpButton_clicked"></a> |
698 </p> |
|
699 <a NAME="MicroPythonFileManagerWidget.on_localUpButton_clicked" ID="MicroPythonFileManagerWidget.on_localUpButton_clicked"></a> |
520 <h4>MicroPythonFileManagerWidget.on_localUpButton_clicked</h4> |
700 <h4>MicroPythonFileManagerWidget.on_localUpButton_clicked</h4> |
521 <b>on_localUpButton_clicked</b>(<i></i>) |
701 <b>on_localUpButton_clicked</b>(<i></i>) |
|
702 |
522 <p> |
703 <p> |
523 Private slot to go up one directory level. |
704 Private slot to go up one directory level. |
524 </p><a NAME="MicroPythonFileManagerWidget.on_putAsButton_clicked" ID="MicroPythonFileManagerWidget.on_putAsButton_clicked"></a> |
705 </p> |
|
706 <a NAME="MicroPythonFileManagerWidget.on_putAsButton_clicked" ID="MicroPythonFileManagerWidget.on_putAsButton_clicked"></a> |
525 <h4>MicroPythonFileManagerWidget.on_putAsButton_clicked</h4> |
707 <h4>MicroPythonFileManagerWidget.on_putAsButton_clicked</h4> |
526 <b>on_putAsButton_clicked</b>(<i></i>) |
708 <b>on_putAsButton_clicked</b>(<i></i>) |
|
709 |
527 <p> |
710 <p> |
528 Private slot to copy the selected file to the connected device |
711 Private slot to copy the selected file to the connected device |
529 with a different name. |
712 with a different name. |
530 </p><a NAME="MicroPythonFileManagerWidget.on_putButton_clicked" ID="MicroPythonFileManagerWidget.on_putButton_clicked"></a> |
713 </p> |
|
714 <a NAME="MicroPythonFileManagerWidget.on_putButton_clicked" ID="MicroPythonFileManagerWidget.on_putButton_clicked"></a> |
531 <h4>MicroPythonFileManagerWidget.on_putButton_clicked</h4> |
715 <h4>MicroPythonFileManagerWidget.on_putButton_clicked</h4> |
532 <b>on_putButton_clicked</b>(<i>putAs=False</i>) |
716 <b>on_putButton_clicked</b>(<i>putAs=False</i>) |
|
717 |
533 <p> |
718 <p> |
534 Private slot to copy the selected file to the connected device. |
719 Private slot to copy the selected file to the connected device. |
535 </p><dl> |
720 </p> |
|
721 <dl> |
|
722 |
536 <dt><i>putAs</i> (bool)</dt> |
723 <dt><i>putAs</i> (bool)</dt> |
537 <dd> |
724 <dd> |
538 flag indicating to give it a new name |
725 flag indicating to give it a new name |
539 </dd> |
726 </dd> |
540 </dl><a NAME="MicroPythonFileManagerWidget.on_syncButton_clicked" ID="MicroPythonFileManagerWidget.on_syncButton_clicked"></a> |
727 </dl> |
|
728 <a NAME="MicroPythonFileManagerWidget.on_syncButton_clicked" ID="MicroPythonFileManagerWidget.on_syncButton_clicked"></a> |
541 <h4>MicroPythonFileManagerWidget.on_syncButton_clicked</h4> |
729 <h4>MicroPythonFileManagerWidget.on_syncButton_clicked</h4> |
542 <b>on_syncButton_clicked</b>(<i></i>) |
730 <b>on_syncButton_clicked</b>(<i></i>) |
|
731 |
543 <p> |
732 <p> |
544 Private slot to synchronize the local directory to the device. |
733 Private slot to synchronize the local directory to the device. |
545 </p><a NAME="MicroPythonFileManagerWidget.start" ID="MicroPythonFileManagerWidget.start"></a> |
734 </p> |
|
735 <a NAME="MicroPythonFileManagerWidget.start" ID="MicroPythonFileManagerWidget.start"></a> |
546 <h4>MicroPythonFileManagerWidget.start</h4> |
736 <h4>MicroPythonFileManagerWidget.start</h4> |
547 <b>start</b>(<i></i>) |
737 <b>start</b>(<i></i>) |
|
738 |
548 <p> |
739 <p> |
549 Public method to start the widget. |
740 Public method to start the widget. |
550 </p><a NAME="MicroPythonFileManagerWidget.stop" ID="MicroPythonFileManagerWidget.stop"></a> |
741 </p> |
|
742 <a NAME="MicroPythonFileManagerWidget.stop" ID="MicroPythonFileManagerWidget.stop"></a> |
551 <h4>MicroPythonFileManagerWidget.stop</h4> |
743 <h4>MicroPythonFileManagerWidget.stop</h4> |
552 <b>stop</b>(<i></i>) |
744 <b>stop</b>(<i></i>) |
|
745 |
553 <p> |
746 <p> |
554 Public method to stop the widget. |
747 Public method to stop the widget. |
555 </p> |
748 </p> |
556 <div align="right"><a href="#top">Up</a></div> |
749 <div align="right"><a href="#top">Up</a></div> |
557 <hr /> |
750 <hr /> |