diff -r 52a07d67f4ed -r 188ff9ce8657 eric7/Documentation/Source/eric7.UI.UserInterface.html --- a/eric7/Documentation/Source/eric7.UI.UserInterface.html Sat Mar 05 16:03:04 2022 +0100 +++ b/eric7/Documentation/Source/eric7.UI.UserInterface.html Sat Mar 05 18:01:12 2022 +0100 @@ -561,6 +561,10 @@ <td>Private method to open the last file, project or multiproject.</td> </tr> <tr> +<td><a href="#UserInterface.__performUpgrade">__performUpgrade</a></td> +<td>Private method to perform the requested upgrade operation.</td> +</tr> +<tr> <td><a href="#UserInterface.__pluginInstallFinished">__pluginInstallFinished</a></td> <td>Private slot to handle the finishing of the plugin install dialog.</td> </tr> @@ -1149,6 +1153,10 @@ <td>Public method to unregister a toolbar.</td> </tr> <tr> +<td><a href="#UserInterface.upgradePyQt">upgradePyQt</a></td> +<td>Public slot to upgrade the PyQt packages of the eric7 environment.</td> +</tr> +<tr> <td><a href="#UserInterface.versionIsNewer">versionIsNewer</a></td> <td>Public method to check, if the eric version is good compared to the required version.</td> </tr> @@ -2057,6 +2065,25 @@ "Nothing", "File", "Project", "MultiProject" or "Session") </dd> </dl> +<a NAME="UserInterface.__performUpgrade" ID="UserInterface.__performUpgrade"></a> +<h4>UserInterface.__performUpgrade</h4> +<b>__performUpgrade</b>(<i>upgradeType</i>) + +<p> + Private method to perform the requested upgrade operation. +</p> +<p> + This action needs to shut down eric first, start a non-PyQt application + performing the upgrade of the PyQt packages via pip and restart eric + with the passed arguments. The upgrade process is not visible. +</p> +<dl> + +<dt><i>upgradeType</i> (str)</dt> +<dd> +upgrade operation (one of 'pyqt') +</dd> +</dl> <a NAME="UserInterface.__pluginInstallFinished" ID="UserInterface.__pluginInstallFinished"></a> <h4>UserInterface.__pluginInstallFinished</h4> <b>__pluginInstallFinished</b>(<i></i>) @@ -3907,6 +3934,25 @@ name of the toolbar (string). </dd> </dl> +<a NAME="UserInterface.upgradePyQt" ID="UserInterface.upgradePyQt"></a> +<h4>UserInterface.upgradePyQt</h4> +<b>upgradePyQt</b>(<i></i>) + +<p> + Public slot to upgrade the PyQt packages of the eric7 environment. +</p> +<dl> +<dt>Return:</dt> +<dd> +flag indicating a successful upgrade +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +bool +</dd> +</dl> <a NAME="UserInterface.versionIsNewer" ID="UserInterface.versionIsNewer"></a> <h4>UserInterface.versionIsNewer</h4> <b>versionIsNewer</b>(<i>required, snapshot=None</i>)