--- a/src/eric7/Documentation/Source/eric7.PluginManager.PluginRepositoryDialog.html Sat Dec 14 13:03:11 2024 +0100 +++ b/src/eric7/Documentation/Source/eric7.PluginManager.PluginRepositoryDialog.html Sat Dec 14 17:25:19 2024 +0100 @@ -174,6 +174,10 @@ <td>Constructor</td> </tr> <tr> +<td><a href="#PluginRepositoryWidget.__addPluginItem">__addPluginItem</a></td> +<td>Private method to add an item for the given plugin parameters.</td> +</tr> +<tr> <td><a href="#PluginRepositoryWidget.__changeScheme">__changeScheme</a></td> <td>Private method to change the scheme of the given URL.</td> </tr> @@ -254,10 +258,6 @@ <td>Private slot handling reachability state changes.</td> </tr> <tr> -<td><a href="#PluginRepositoryWidget.__resortRepositoryList">__resortRepositoryList</a></td> -<td>Private method to resort the tree.</td> -</tr> -<tr> <td><a href="#PluginRepositoryWidget.__selectedItems">__selectedItems</a></td> <td>Private method to get all selected items without the status and category items.</td> </tr> @@ -282,6 +282,10 @@ <td>Private method to check the given archive update status.</td> </tr> <tr> +<td><a href="#PluginRepositoryWidget.__updateStatusItemTexts">__updateStatusItemTexts</a></td> +<td>Private method to update the status item texts to include a number determined by a given status order.</td> +</tr> +<tr> <td><a href="#PluginRepositoryWidget.addEntry">addEntry</a></td> <td>Public method to add an entry to the list.</td> </tr> @@ -343,6 +347,57 @@ parent of this dialog </dd> </dl> +<a NAME="PluginRepositoryWidget.__addPluginItem" ID="PluginRepositoryWidget.__addPluginItem"></a> +<h4>PluginRepositoryWidget.__addPluginItem</h4> +<b>__addPluginItem</b>(<i>parentItem, name, short, description, url, author, version, filename, updateStatus, countIt=True, </i>) +<p> + Private method to add an item for the given plugin parameters. +</p> + +<dl> + +<dt><i>parentItem</i> (QTreeWidgetItem)</dt> +<dd> +reference to the parent item +</dd> +<dt><i>name</i> (str)</dt> +<dd> +data for the name field +</dd> +<dt><i>short</i> (str)</dt> +<dd> +data for the short field +</dd> +<dt><i>description</i> (list of str)</dt> +<dd> +data for the description field +</dd> +<dt><i>url</i> (str)</dt> +<dd> +data for the url field +</dd> +<dt><i>author</i> (str)</dt> +<dd> +data for the author field +</dd> +<dt><i>version</i> (str)</dt> +<dd> +data for the version field +</dd> +<dt><i>filename</i> (str)</dt> +<dd> +data for the filename field +</dd> +<dt><i>updateStatus</i> (PluginStatus)</dt> +<dd> +update status +</dd> +<dt><i>countIt</i> (bool (optional))</dt> +<dd> +flag indicating to count the item for status labels + (defaults to True) +</dd> +</dl> <a NAME="PluginRepositoryWidget.__changeScheme" ID="PluginRepositoryWidget.__changeScheme"></a> <h4>PluginRepositoryWidget.__changeScheme</h4> <b>__changeScheme</b>(<i>url, newScheme=""</i>) @@ -604,13 +659,6 @@ new reachability state </dd> </dl> -<a NAME="PluginRepositoryWidget.__resortRepositoryList" ID="PluginRepositoryWidget.__resortRepositoryList"></a> -<h4>PluginRepositoryWidget.__resortRepositoryList</h4> -<b>__resortRepositoryList</b>(<i></i>) -<p> - Private method to resort the tree. -</p> - <a NAME="PluginRepositoryWidget.__selectedItems" ID="PluginRepositoryWidget.__selectedItems"></a> <h4>PluginRepositoryWidget.__selectedItems</h4> <b>__selectedItems</b>(<i></i>) @@ -707,6 +755,14 @@ PluginStatusLocalUpdate, PluginStatusRemoteUpdate) </dd> </dl> +<a NAME="PluginRepositoryWidget.__updateStatusItemTexts" ID="PluginRepositoryWidget.__updateStatusItemTexts"></a> +<h4>PluginRepositoryWidget.__updateStatusItemTexts</h4> +<b>__updateStatusItemTexts</b>(<i></i>) +<p> + Private method to update the status item texts to include a number determined + by a given status order. +</p> + <a NAME="PluginRepositoryWidget.addEntry" ID="PluginRepositoryWidget.addEntry"></a> <h4>PluginRepositoryWidget.addEntry</h4> <b>addEntry</b>(<i>name, short, description, url, author, version, filename, status, category, </i>)