diff -r 1779dc278077 -r 391d6b7b1eff eric6/Documentation/Source/eric6.Project.ProjectOthersBrowser.html --- a/eric6/Documentation/Source/eric6.Project.ProjectOthersBrowser.html Wed Sep 25 19:40:31 2019 +0200 +++ b/eric6/Documentation/Source/eric6.Project.ProjectOthersBrowser.html Wed Sep 25 19:42:44 2019 +0200 @@ -18,35 +18,45 @@ </style> </head> -<body><a NAME="top" ID="top"></a> +<body> +<a NAME="top" ID="top"></a> <h1>eric6.Project.ProjectOthersBrowser</h1> + <p> Module implementing a class used to display the parts of the project, that don't fit the other categories. </p> <h3>Global Attributes</h3> + <table> <tr><td>None</td></tr> </table> <h3>Classes</h3> + <table> + <tr> <td><a href="#ProjectOthersBrowser">ProjectOthersBrowser</a></td> <td>A class used to display the parts of the project, that don't fit the other categories.</td> </tr> </table> <h3>Functions</h3> + <table> <tr><td>None</td></tr> </table> -<hr /><hr /> +<hr /> +<hr /> <a NAME="ProjectOthersBrowser" ID="ProjectOthersBrowser"></a> <h2>ProjectOthersBrowser</h2> + <p> A class used to display the parts of the project, that don't fit the other categories. -</p><h3>Signals</h3> +</p> +<h3>Signals</h3> <dl> + <dt>showMenu(str, QMenu)</dt> <dd> emitted when a menu is about to be shown. @@ -56,152 +66,206 @@ <h3>Derived from</h3> ProjectBaseBrowser <h3>Class Attributes</h3> + <table> <tr><td>None</td></tr> </table> <h3>Class Methods</h3> + <table> <tr><td>None</td></tr> </table> <h3>Methods</h3> + <table> + <tr> <td><a href="#ProjectOthersBrowser.__init__">ProjectOthersBrowser</a></td> <td>Constructor</td> -</tr><tr> +</tr> +<tr> <td><a href="#ProjectOthersBrowser.__deleteItem">__deleteItem</a></td> <td>Private method to delete the selected entry from the OTHERS project data area.</td> -</tr><tr> +</tr> +<tr> <td><a href="#ProjectOthersBrowser.__refreshItem">__refreshItem</a></td> <td>Private slot to refresh (repopulate) an item.</td> -</tr><tr> +</tr> +<tr> <td><a href="#ProjectOthersBrowser.__removeItem">__removeItem</a></td> <td>Private slot to remove the selected entry from the OTHERS project data area.</td> -</tr><tr> +</tr> +<tr> <td><a href="#ProjectOthersBrowser.__showContextMenu">__showContextMenu</a></td> <td>Private slot called by the menu aboutToShow signal.</td> -</tr><tr> +</tr> +<tr> <td><a href="#ProjectOthersBrowser.__showContextMenuBack">__showContextMenuBack</a></td> <td>Private slot called by the backMenu aboutToShow signal.</td> -</tr><tr> +</tr> +<tr> <td><a href="#ProjectOthersBrowser.__showContextMenuMulti">__showContextMenuMulti</a></td> <td>Private slot called by the multiMenu aboutToShow signal.</td> -</tr><tr> +</tr> +<tr> <td><a href="#ProjectOthersBrowser.__showMimeType">__showMimeType</a></td> <td>Private slot to show the mime type of the selected entry.</td> -</tr><tr> +</tr> +<tr> <td><a href="#ProjectOthersBrowser._contextMenuRequested">_contextMenuRequested</a></td> <td>Protected slot to show the context menu.</td> -</tr><tr> +</tr> +<tr> <td><a href="#ProjectOthersBrowser._createPopupMenus">_createPopupMenus</a></td> <td>Protected overloaded method to generate the popup menu.</td> -</tr><tr> +</tr> +<tr> <td><a href="#ProjectOthersBrowser._editPixmap">_editPixmap</a></td> <td>Protected slot to handle the open in icon editor popup menu entry.</td> -</tr><tr> +</tr> +<tr> <td><a href="#ProjectOthersBrowser._openHexEditor">_openHexEditor</a></td> <td>Protected slot to handle the open in hex editor popup menu entry.</td> -</tr><tr> +</tr> +<tr> <td><a href="#ProjectOthersBrowser._openItem">_openItem</a></td> <td>Protected slot to handle the open popup menu entry.</td> -</tr><tr> +</tr> +<tr> <td><a href="#ProjectOthersBrowser._showContextMenu">_showContextMenu</a></td> <td>Protected slot called before the context menu is shown.</td> </tr> </table> <h3>Static Methods</h3> + <table> <tr><td>None</td></tr> </table> + <a NAME="ProjectOthersBrowser.__init__" ID="ProjectOthersBrowser.__init__"></a> <h4>ProjectOthersBrowser (Constructor)</h4> <b>ProjectOthersBrowser</b>(<i>project, parent=None</i>) + <p> Constructor -</p><dl> +</p> +<dl> + <dt><i>project</i></dt> <dd> reference to the project object -</dd><dt><i>parent</i></dt> +</dd> +<dt><i>parent</i></dt> <dd> parent widget of this browser (QWidget) </dd> -</dl><a NAME="ProjectOthersBrowser.__deleteItem" ID="ProjectOthersBrowser.__deleteItem"></a> +</dl> +<a NAME="ProjectOthersBrowser.__deleteItem" ID="ProjectOthersBrowser.__deleteItem"></a> <h4>ProjectOthersBrowser.__deleteItem</h4> <b>__deleteItem</b>(<i></i>) + <p> Private method to delete the selected entry from the OTHERS project data area. -</p><a NAME="ProjectOthersBrowser.__refreshItem" ID="ProjectOthersBrowser.__refreshItem"></a> +</p> +<a NAME="ProjectOthersBrowser.__refreshItem" ID="ProjectOthersBrowser.__refreshItem"></a> <h4>ProjectOthersBrowser.__refreshItem</h4> <b>__refreshItem</b>(<i></i>) + <p> Private slot to refresh (repopulate) an item. -</p><a NAME="ProjectOthersBrowser.__removeItem" ID="ProjectOthersBrowser.__removeItem"></a> +</p> +<a NAME="ProjectOthersBrowser.__removeItem" ID="ProjectOthersBrowser.__removeItem"></a> <h4>ProjectOthersBrowser.__removeItem</h4> <b>__removeItem</b>(<i></i>) + <p> Private slot to remove the selected entry from the OTHERS project data area. -</p><a NAME="ProjectOthersBrowser.__showContextMenu" ID="ProjectOthersBrowser.__showContextMenu"></a> +</p> +<a NAME="ProjectOthersBrowser.__showContextMenu" ID="ProjectOthersBrowser.__showContextMenu"></a> <h4>ProjectOthersBrowser.__showContextMenu</h4> <b>__showContextMenu</b>(<i></i>) + <p> Private slot called by the menu aboutToShow signal. -</p><a NAME="ProjectOthersBrowser.__showContextMenuBack" ID="ProjectOthersBrowser.__showContextMenuBack"></a> +</p> +<a NAME="ProjectOthersBrowser.__showContextMenuBack" ID="ProjectOthersBrowser.__showContextMenuBack"></a> <h4>ProjectOthersBrowser.__showContextMenuBack</h4> <b>__showContextMenuBack</b>(<i></i>) + <p> Private slot called by the backMenu aboutToShow signal. -</p><a NAME="ProjectOthersBrowser.__showContextMenuMulti" ID="ProjectOthersBrowser.__showContextMenuMulti"></a> +</p> +<a NAME="ProjectOthersBrowser.__showContextMenuMulti" ID="ProjectOthersBrowser.__showContextMenuMulti"></a> <h4>ProjectOthersBrowser.__showContextMenuMulti</h4> <b>__showContextMenuMulti</b>(<i></i>) + <p> Private slot called by the multiMenu aboutToShow signal. -</p><a NAME="ProjectOthersBrowser.__showMimeType" ID="ProjectOthersBrowser.__showMimeType"></a> +</p> +<a NAME="ProjectOthersBrowser.__showMimeType" ID="ProjectOthersBrowser.__showMimeType"></a> <h4>ProjectOthersBrowser.__showMimeType</h4> <b>__showMimeType</b>(<i></i>) + <p> Private slot to show the mime type of the selected entry. -</p><a NAME="ProjectOthersBrowser._contextMenuRequested" ID="ProjectOthersBrowser._contextMenuRequested"></a> +</p> +<a NAME="ProjectOthersBrowser._contextMenuRequested" ID="ProjectOthersBrowser._contextMenuRequested"></a> <h4>ProjectOthersBrowser._contextMenuRequested</h4> <b>_contextMenuRequested</b>(<i>coord</i>) + <p> Protected slot to show the context menu. -</p><dl> +</p> +<dl> + <dt><i>coord</i></dt> <dd> the position of the mouse pointer (QPoint) </dd> -</dl><a NAME="ProjectOthersBrowser._createPopupMenus" ID="ProjectOthersBrowser._createPopupMenus"></a> +</dl> +<a NAME="ProjectOthersBrowser._createPopupMenus" ID="ProjectOthersBrowser._createPopupMenus"></a> <h4>ProjectOthersBrowser._createPopupMenus</h4> <b>_createPopupMenus</b>(<i></i>) + <p> Protected overloaded method to generate the popup menu. -</p><a NAME="ProjectOthersBrowser._editPixmap" ID="ProjectOthersBrowser._editPixmap"></a> +</p> +<a NAME="ProjectOthersBrowser._editPixmap" ID="ProjectOthersBrowser._editPixmap"></a> <h4>ProjectOthersBrowser._editPixmap</h4> <b>_editPixmap</b>(<i></i>) + <p> Protected slot to handle the open in icon editor popup menu entry. -</p><a NAME="ProjectOthersBrowser._openHexEditor" ID="ProjectOthersBrowser._openHexEditor"></a> +</p> +<a NAME="ProjectOthersBrowser._openHexEditor" ID="ProjectOthersBrowser._openHexEditor"></a> <h4>ProjectOthersBrowser._openHexEditor</h4> <b>_openHexEditor</b>(<i></i>) + <p> Protected slot to handle the open in hex editor popup menu entry. -</p><a NAME="ProjectOthersBrowser._openItem" ID="ProjectOthersBrowser._openItem"></a> +</p> +<a NAME="ProjectOthersBrowser._openItem" ID="ProjectOthersBrowser._openItem"></a> <h4>ProjectOthersBrowser._openItem</h4> <b>_openItem</b>(<i></i>) + <p> Protected slot to handle the open popup menu entry. -</p><a NAME="ProjectOthersBrowser._showContextMenu" ID="ProjectOthersBrowser._showContextMenu"></a> +</p> +<a NAME="ProjectOthersBrowser._showContextMenu" ID="ProjectOthersBrowser._showContextMenu"></a> <h4>ProjectOthersBrowser._showContextMenu</h4> <b>_showContextMenu</b>(<i>menu</i>) + <p> Protected slot called before the context menu is shown. -</p><p> +</p> +<p> It enables/disables the VCS menu entries depending on the overall VCS status and the file status. -</p><dl> +</p> +<dl> + <dt><i>menu</i></dt> <dd> Reference to the popup menu (QPopupMenu)