src/eric7/Documentation/Source/eric7.Project.ProjectOthersBrowser.html

branch
eric7
changeset 10479
856476537696
parent 10430
e440aaf179ce
child 10845
bbcad422aea7
equal deleted inserted replaced
10478:de9106c55c3d 10479:856476537696
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.Project.ProjectOthersBrowser</h1> 9 <h1>eric7.Project.ProjectOthersBrowser</h1>
10
11 <p> 10 <p>
12 Module implementing a class used to display the parts of the project, that 11 Module implementing a class used to display the parts of the project, that
13 don't fit the other categories. 12 don't fit the other categories.
14 </p> 13 </p>
14
15 <h3>Global Attributes</h3> 15 <h3>Global Attributes</h3>
16 16 <table>
17 <table> 17 <tr><td>None</td></tr>
18 <tr><td>None</td></tr> 18 </table>
19 </table> 19
20 <h3>Classes</h3> 20 <h3>Classes</h3>
21 21 <table>
22 <table>
23
24 <tr> 22 <tr>
25 <td><a href="#ProjectOthersBrowser">ProjectOthersBrowser</a></td> 23 <td><a href="#ProjectOthersBrowser">ProjectOthersBrowser</a></td>
26 <td>A class used to display the parts of the project, that don't fit the other categories.</td> 24 <td>A class used to display the parts of the project, that don't fit the other categories.</td>
27 </tr> 25 </tr>
28 </table> 26 </table>
27
29 <h3>Functions</h3> 28 <h3>Functions</h3>
30 29 <table>
31 <table> 30 <tr><td>None</td></tr>
32 <tr><td>None</td></tr> 31 </table>
33 </table> 32
34 <hr /> 33 <hr />
35 <hr /> 34 <hr />
36 <a NAME="ProjectOthersBrowser" ID="ProjectOthersBrowser"></a> 35 <a NAME="ProjectOthersBrowser" ID="ProjectOthersBrowser"></a>
37 <h2>ProjectOthersBrowser</h2> 36 <h2>ProjectOthersBrowser</h2>
38
39 <p> 37 <p>
40 A class used to display the parts of the project, that don't fit the 38 A class used to display the parts of the project, that don't fit the
41 other categories. 39 other categories.
42 </p> 40 </p>
41
43 <h3>Signals</h3> 42 <h3>Signals</h3>
44 <dl> 43 <dl>
45 44
46 <dt>showMenu(str, QMenu)</dt> 45 <dt>showMenu(str, QMenu)</dt>
47 <dd> 46 <dd>
50 </dd> 49 </dd>
51 </dl> 50 </dl>
52 <h3>Derived from</h3> 51 <h3>Derived from</h3>
53 ProjectBaseBrowser 52 ProjectBaseBrowser
54 <h3>Class Attributes</h3> 53 <h3>Class Attributes</h3>
55 54 <table>
56 <table> 55 <tr><td>None</td></tr>
57 <tr><td>None</td></tr> 56 </table>
58 </table> 57
59 <h3>Class Methods</h3> 58 <h3>Class Methods</h3>
60 59 <table>
61 <table> 60 <tr><td>None</td></tr>
62 <tr><td>None</td></tr> 61 </table>
63 </table> 62
64 <h3>Methods</h3> 63 <h3>Methods</h3>
65 64 <table>
66 <table>
67
68 <tr> 65 <tr>
69 <td><a href="#ProjectOthersBrowser.__init__">ProjectOthersBrowser</a></td> 66 <td><a href="#ProjectOthersBrowser.__init__">ProjectOthersBrowser</a></td>
70 <td>Constructor</td> 67 <td>Constructor</td>
71 </tr> 68 </tr>
72 <tr> 69 <tr>
144 <tr> 141 <tr>
145 <td><a href="#ProjectOthersBrowser.getIcon">getIcon</a></td> 142 <td><a href="#ProjectOthersBrowser.getIcon">getIcon</a></td>
146 <td>Public method to get an icon for the project browser.</td> 143 <td>Public method to get an icon for the project browser.</td>
147 </tr> 144 </tr>
148 </table> 145 </table>
146
149 <h3>Static Methods</h3> 147 <h3>Static Methods</h3>
150 148 <table>
151 <table> 149 <tr><td>None</td></tr>
152 <tr><td>None</td></tr> 150 </table>
153 </table> 151
154 152
155 <a NAME="ProjectOthersBrowser.__init__" ID="ProjectOthersBrowser.__init__"></a> 153 <a NAME="ProjectOthersBrowser.__init__" ID="ProjectOthersBrowser.__init__"></a>
156 <h4>ProjectOthersBrowser (Constructor)</h4> 154 <h4>ProjectOthersBrowser (Constructor)</h4>
157 <b>ProjectOthersBrowser</b>(<i>project, projectBrowser, parent=None</i>) 155 <b>ProjectOthersBrowser</b>(<i>project, projectBrowser, parent=None</i>)
158
159 <p> 156 <p>
160 Constructor 157 Constructor
161 </p> 158 </p>
159
162 <dl> 160 <dl>
163 161
164 <dt><i>project</i> (Project)</dt> 162 <dt><i>project</i> (Project)</dt>
165 <dd> 163 <dd>
166 reference to the project object 164 reference to the project object
175 </dd> 173 </dd>
176 </dl> 174 </dl>
177 <a NAME="ProjectOthersBrowser.__addOthersDirectory" ID="ProjectOthersBrowser.__addOthersDirectory"></a> 175 <a NAME="ProjectOthersBrowser.__addOthersDirectory" ID="ProjectOthersBrowser.__addOthersDirectory"></a>
178 <h4>ProjectOthersBrowser.__addOthersDirectory</h4> 176 <h4>ProjectOthersBrowser.__addOthersDirectory</h4>
179 <b>__addOthersDirectory</b>(<i></i>) 177 <b>__addOthersDirectory</b>(<i></i>)
180
181 <p> 178 <p>
182 Private method to add files of a directory to the project. 179 Private method to add files of a directory to the project.
183 </p> 180 </p>
181
184 <a NAME="ProjectOthersBrowser.__addOthersFiles" ID="ProjectOthersBrowser.__addOthersFiles"></a> 182 <a NAME="ProjectOthersBrowser.__addOthersFiles" ID="ProjectOthersBrowser.__addOthersFiles"></a>
185 <h4>ProjectOthersBrowser.__addOthersFiles</h4> 183 <h4>ProjectOthersBrowser.__addOthersFiles</h4>
186 <b>__addOthersFiles</b>(<i></i>) 184 <b>__addOthersFiles</b>(<i></i>)
187
188 <p> 185 <p>
189 Private method to add files to the project. 186 Private method to add files to the project.
190 </p> 187 </p>
188
191 <a NAME="ProjectOthersBrowser.__deleteItem" ID="ProjectOthersBrowser.__deleteItem"></a> 189 <a NAME="ProjectOthersBrowser.__deleteItem" ID="ProjectOthersBrowser.__deleteItem"></a>
192 <h4>ProjectOthersBrowser.__deleteItem</h4> 190 <h4>ProjectOthersBrowser.__deleteItem</h4>
193 <b>__deleteItem</b>(<i></i>) 191 <b>__deleteItem</b>(<i></i>)
194
195 <p> 192 <p>
196 Private method to delete the selected entry from the OTHERS project 193 Private method to delete the selected entry from the OTHERS project
197 data area. 194 data area.
198 </p> 195 </p>
196
199 <a NAME="ProjectOthersBrowser.__refreshItem" ID="ProjectOthersBrowser.__refreshItem"></a> 197 <a NAME="ProjectOthersBrowser.__refreshItem" ID="ProjectOthersBrowser.__refreshItem"></a>
200 <h4>ProjectOthersBrowser.__refreshItem</h4> 198 <h4>ProjectOthersBrowser.__refreshItem</h4>
201 <b>__refreshItem</b>(<i></i>) 199 <b>__refreshItem</b>(<i></i>)
202
203 <p> 200 <p>
204 Private slot to refresh (repopulate) an item. 201 Private slot to refresh (repopulate) an item.
205 </p> 202 </p>
203
206 <a NAME="ProjectOthersBrowser.__removeItem" ID="ProjectOthersBrowser.__removeItem"></a> 204 <a NAME="ProjectOthersBrowser.__removeItem" ID="ProjectOthersBrowser.__removeItem"></a>
207 <h4>ProjectOthersBrowser.__removeItem</h4> 205 <h4>ProjectOthersBrowser.__removeItem</h4>
208 <b>__removeItem</b>(<i></i>) 206 <b>__removeItem</b>(<i></i>)
209
210 <p> 207 <p>
211 Private slot to remove the selected entry from the OTHERS project 208 Private slot to remove the selected entry from the OTHERS project
212 data area. 209 data area.
213 </p> 210 </p>
211
214 <a NAME="ProjectOthersBrowser.__showContextMenu" ID="ProjectOthersBrowser.__showContextMenu"></a> 212 <a NAME="ProjectOthersBrowser.__showContextMenu" ID="ProjectOthersBrowser.__showContextMenu"></a>
215 <h4>ProjectOthersBrowser.__showContextMenu</h4> 213 <h4>ProjectOthersBrowser.__showContextMenu</h4>
216 <b>__showContextMenu</b>(<i></i>) 214 <b>__showContextMenu</b>(<i></i>)
217
218 <p> 215 <p>
219 Private slot called by the menu aboutToShow signal. 216 Private slot called by the menu aboutToShow signal.
220 </p> 217 </p>
218
221 <a NAME="ProjectOthersBrowser.__showContextMenuBack" ID="ProjectOthersBrowser.__showContextMenuBack"></a> 219 <a NAME="ProjectOthersBrowser.__showContextMenuBack" ID="ProjectOthersBrowser.__showContextMenuBack"></a>
222 <h4>ProjectOthersBrowser.__showContextMenuBack</h4> 220 <h4>ProjectOthersBrowser.__showContextMenuBack</h4>
223 <b>__showContextMenuBack</b>(<i></i>) 221 <b>__showContextMenuBack</b>(<i></i>)
224
225 <p> 222 <p>
226 Private slot called by the backMenu aboutToShow signal. 223 Private slot called by the backMenu aboutToShow signal.
227 </p> 224 </p>
225
228 <a NAME="ProjectOthersBrowser.__showContextMenuDir" ID="ProjectOthersBrowser.__showContextMenuDir"></a> 226 <a NAME="ProjectOthersBrowser.__showContextMenuDir" ID="ProjectOthersBrowser.__showContextMenuDir"></a>
229 <h4>ProjectOthersBrowser.__showContextMenuDir</h4> 227 <h4>ProjectOthersBrowser.__showContextMenuDir</h4>
230 <b>__showContextMenuDir</b>(<i></i>) 228 <b>__showContextMenuDir</b>(<i></i>)
231
232 <p> 229 <p>
233 Private slot called by the dirMenu aboutToShow signal. 230 Private slot called by the dirMenu aboutToShow signal.
234 </p> 231 </p>
232
235 <a NAME="ProjectOthersBrowser.__showContextMenuMulti" ID="ProjectOthersBrowser.__showContextMenuMulti"></a> 233 <a NAME="ProjectOthersBrowser.__showContextMenuMulti" ID="ProjectOthersBrowser.__showContextMenuMulti"></a>
236 <h4>ProjectOthersBrowser.__showContextMenuMulti</h4> 234 <h4>ProjectOthersBrowser.__showContextMenuMulti</h4>
237 <b>__showContextMenuMulti</b>(<i></i>) 235 <b>__showContextMenuMulti</b>(<i></i>)
238
239 <p> 236 <p>
240 Private slot called by the multiMenu aboutToShow signal. 237 Private slot called by the multiMenu aboutToShow signal.
241 </p> 238 </p>
239
242 <a NAME="ProjectOthersBrowser.__showMimeType" ID="ProjectOthersBrowser.__showMimeType"></a> 240 <a NAME="ProjectOthersBrowser.__showMimeType" ID="ProjectOthersBrowser.__showMimeType"></a>
243 <h4>ProjectOthersBrowser.__showMimeType</h4> 241 <h4>ProjectOthersBrowser.__showMimeType</h4>
244 <b>__showMimeType</b>(<i></i>) 242 <b>__showMimeType</b>(<i></i>)
245
246 <p> 243 <p>
247 Private slot to show the mime type of the selected entry. 244 Private slot to show the mime type of the selected entry.
248 </p> 245 </p>
246
249 <a NAME="ProjectOthersBrowser._contextMenuRequested" ID="ProjectOthersBrowser._contextMenuRequested"></a> 247 <a NAME="ProjectOthersBrowser._contextMenuRequested" ID="ProjectOthersBrowser._contextMenuRequested"></a>
250 <h4>ProjectOthersBrowser._contextMenuRequested</h4> 248 <h4>ProjectOthersBrowser._contextMenuRequested</h4>
251 <b>_contextMenuRequested</b>(<i>coord</i>) 249 <b>_contextMenuRequested</b>(<i>coord</i>)
252
253 <p> 250 <p>
254 Protected slot to show the context menu. 251 Protected slot to show the context menu.
255 </p> 252 </p>
253
256 <dl> 254 <dl>
257 255
258 <dt><i>coord</i> (QPoint)</dt> 256 <dt><i>coord</i> (QPoint)</dt>
259 <dd> 257 <dd>
260 the position of the mouse pointer 258 the position of the mouse pointer
261 </dd> 259 </dd>
262 </dl> 260 </dl>
263 <a NAME="ProjectOthersBrowser._createPopupMenus" ID="ProjectOthersBrowser._createPopupMenus"></a> 261 <a NAME="ProjectOthersBrowser._createPopupMenus" ID="ProjectOthersBrowser._createPopupMenus"></a>
264 <h4>ProjectOthersBrowser._createPopupMenus</h4> 262 <h4>ProjectOthersBrowser._createPopupMenus</h4>
265 <b>_createPopupMenus</b>(<i></i>) 263 <b>_createPopupMenus</b>(<i></i>)
266
267 <p> 264 <p>
268 Protected overloaded method to generate the popup menu. 265 Protected overloaded method to generate the popup menu.
269 </p> 266 </p>
267
270 <a NAME="ProjectOthersBrowser._editPixmap" ID="ProjectOthersBrowser._editPixmap"></a> 268 <a NAME="ProjectOthersBrowser._editPixmap" ID="ProjectOthersBrowser._editPixmap"></a>
271 <h4>ProjectOthersBrowser._editPixmap</h4> 269 <h4>ProjectOthersBrowser._editPixmap</h4>
272 <b>_editPixmap</b>(<i></i>) 270 <b>_editPixmap</b>(<i></i>)
273
274 <p> 271 <p>
275 Protected slot to handle the open in icon editor popup menu entry. 272 Protected slot to handle the open in icon editor popup menu entry.
276 </p> 273 </p>
274
277 <a NAME="ProjectOthersBrowser._openFileInEditor" ID="ProjectOthersBrowser._openFileInEditor"></a> 275 <a NAME="ProjectOthersBrowser._openFileInEditor" ID="ProjectOthersBrowser._openFileInEditor"></a>
278 <h4>ProjectOthersBrowser._openFileInEditor</h4> 276 <h4>ProjectOthersBrowser._openFileInEditor</h4>
279 <b>_openFileInEditor</b>(<i></i>) 277 <b>_openFileInEditor</b>(<i></i>)
280
281 <p> 278 <p>
282 Protected slot to handle the Open in Editor menu action. 279 Protected slot to handle the Open in Editor menu action.
283 </p> 280 </p>
281
284 <a NAME="ProjectOthersBrowser._openHexEditor" ID="ProjectOthersBrowser._openHexEditor"></a> 282 <a NAME="ProjectOthersBrowser._openHexEditor" ID="ProjectOthersBrowser._openHexEditor"></a>
285 <h4>ProjectOthersBrowser._openHexEditor</h4> 283 <h4>ProjectOthersBrowser._openHexEditor</h4>
286 <b>_openHexEditor</b>(<i></i>) 284 <b>_openHexEditor</b>(<i></i>)
287
288 <p> 285 <p>
289 Protected slot to handle the open in hex editor popup menu entry. 286 Protected slot to handle the open in hex editor popup menu entry.
290 </p> 287 </p>
288
291 <a NAME="ProjectOthersBrowser._openItem" ID="ProjectOthersBrowser._openItem"></a> 289 <a NAME="ProjectOthersBrowser._openItem" ID="ProjectOthersBrowser._openItem"></a>
292 <h4>ProjectOthersBrowser._openItem</h4> 290 <h4>ProjectOthersBrowser._openItem</h4>
293 <b>_openItem</b>(<i></i>) 291 <b>_openItem</b>(<i></i>)
294
295 <p> 292 <p>
296 Protected slot to handle the open popup menu entry. 293 Protected slot to handle the open popup menu entry.
297 </p> 294 </p>
295
298 <a NAME="ProjectOthersBrowser._openPdfViewer" ID="ProjectOthersBrowser._openPdfViewer"></a> 296 <a NAME="ProjectOthersBrowser._openPdfViewer" ID="ProjectOthersBrowser._openPdfViewer"></a>
299 <h4>ProjectOthersBrowser._openPdfViewer</h4> 297 <h4>ProjectOthersBrowser._openPdfViewer</h4>
300 <b>_openPdfViewer</b>(<i></i>) 298 <b>_openPdfViewer</b>(<i></i>)
301
302 <p> 299 <p>
303 Protected slot to handle the open in PDF viewer popup menu entry. 300 Protected slot to handle the open in PDF viewer popup menu entry.
304 </p> 301 </p>
302
305 <a NAME="ProjectOthersBrowser._showContextMenu" ID="ProjectOthersBrowser._showContextMenu"></a> 303 <a NAME="ProjectOthersBrowser._showContextMenu" ID="ProjectOthersBrowser._showContextMenu"></a>
306 <h4>ProjectOthersBrowser._showContextMenu</h4> 304 <h4>ProjectOthersBrowser._showContextMenu</h4>
307 <b>_showContextMenu</b>(<i>menu</i>) 305 <b>_showContextMenu</b>(<i>menu</i>)
308
309 <p> 306 <p>
310 Protected slot called before the context menu is shown. 307 Protected slot called before the context menu is shown.
311 </p> 308 </p>
312 <p> 309 <p>
313 It enables/disables the VCS menu entries depending on the overall 310 It enables/disables the VCS menu entries depending on the overall
314 VCS status and the file status. 311 VCS status and the file status.
315 </p> 312 </p>
313
316 <dl> 314 <dl>
317 315
318 <dt><i>menu</i> (QPopupMenu)</dt> 316 <dt><i>menu</i> (QPopupMenu)</dt>
319 <dd> 317 <dd>
320 Reference to the popup menu 318 Reference to the popup menu
321 </dd> 319 </dd>
322 </dl> 320 </dl>
323 <a NAME="ProjectOthersBrowser.getIcon" ID="ProjectOthersBrowser.getIcon"></a> 321 <a NAME="ProjectOthersBrowser.getIcon" ID="ProjectOthersBrowser.getIcon"></a>
324 <h4>ProjectOthersBrowser.getIcon</h4> 322 <h4>ProjectOthersBrowser.getIcon</h4>
325 <b>getIcon</b>(<i></i>) 323 <b>getIcon</b>(<i></i>)
326
327 <p> 324 <p>
328 Public method to get an icon for the project browser. 325 Public method to get an icon for the project browser.
329 </p> 326 </p>
327
330 <dl> 328 <dl>
331 <dt>Return:</dt> 329 <dt>Return:</dt>
332 <dd> 330 <dd>
333 icon for the browser 331 icon for the browser
334 </dd> 332 </dd>

eric ide

mercurial