--- a/eric7/Documentation/Source/eric7.EricWidgets.EricApplication.html Wed Dec 29 16:53:04 2021 +0100 +++ b/eric7/Documentation/Source/eric7.EricWidgets.EricApplication.html Wed Dec 29 16:54:36 2021 +0100 @@ -43,7 +43,7 @@ <h3>Class Attributes</h3> <table> -<tr><td>None</td></tr> +<tr><td>PaletteRoleMapping</td></tr> </table> <h3>Class Methods</h3> @@ -59,6 +59,10 @@ <td>Constructor</td> </tr> <tr> +<td><a href="#EricApplication.__setPaletteFromStyleSheet">__setPaletteFromStyleSheet</a></td> +<td>Private method to set the palette from a style sheet.</td> +</tr> +<tr> <td><a href="#EricApplication.getObject">getObject</a></td> <td>Public method to get a reference to a registered object.</td> </tr> @@ -75,6 +79,10 @@ <td>Public method to get a list of (name, reference) pairs of all registered plugin objects.</td> </tr> <tr> +<td><a href="#EricApplication.getStyleIconsPath">getStyleIconsPath</a></td> +<td>Public method to get the path for the style icons.</td> +</tr> +<tr> <td><a href="#EricApplication.registerObject">registerObject</a></td> <td>Public method to register an object in the object registry.</td> </tr> @@ -83,6 +91,10 @@ <td>Public method to register a plugin object in the object registry.</td> </tr> <tr> +<td><a href="#EricApplication.setStyleSheetFile">setStyleSheetFile</a></td> +<td>Public method to read a QSS style sheet file and set the application style sheet based on its contents.</td> +</tr> +<tr> <td><a href="#EricApplication.unregisterPluginObject">unregisterPluginObject</a></td> <td>Public method to unregister a plugin object in the object registry.</td> </tr> @@ -115,6 +127,20 @@ command line arguments </dd> </dl> +<a NAME="EricApplication.__setPaletteFromStyleSheet" ID="EricApplication.__setPaletteFromStyleSheet"></a> +<h4>EricApplication.__setPaletteFromStyleSheet</h4> +<b>__setPaletteFromStyleSheet</b>(<i>styleSheet</i>) + +<p> + Private method to set the palette from a style sheet. +</p> +<dl> + +<dt><i>styleSheet</i> (str)</dt> +<dd> +style sheet +</dd> +</dl> <a NAME="EricApplication.getObject" ID="EricApplication.getObject"></a> <h4>EricApplication.getObject</h4> <b>getObject</b>(<i>name</i>) @@ -234,6 +260,25 @@ list of (str, any) </dd> </dl> +<a NAME="EricApplication.getStyleIconsPath" ID="EricApplication.getStyleIconsPath"></a> +<h4>EricApplication.getStyleIconsPath</h4> +<b>getStyleIconsPath</b>(<i></i>) + +<p> + Public method to get the path for the style icons. +</p> +<dl> +<dt>Return:</dt> +<dd> +directory path containing the style icons +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +str +</dd> +</dl> <a NAME="EricApplication.registerObject" ID="EricApplication.registerObject"></a> <h4>EricApplication.registerObject</h4> <b>registerObject</b>(<i>name, objectRef</i>) @@ -288,6 +333,21 @@ raised when the given name is already in use </dd> </dl> +<a NAME="EricApplication.setStyleSheetFile" ID="EricApplication.setStyleSheetFile"></a> +<h4>EricApplication.setStyleSheetFile</h4> +<b>setStyleSheetFile</b>(<i>filename</i>) + +<p> + Public method to read a QSS style sheet file and set the application + style sheet based on its contents. +</p> +<dl> + +<dt><i>filename</i> (str)</dt> +<dd> +name of the QSS style sheet file +</dd> +</dl> <a NAME="EricApplication.unregisterPluginObject" ID="EricApplication.unregisterPluginObject"></a> <h4>EricApplication.unregisterPluginObject</h4> <b>unregisterPluginObject</b>(<i>name</i>)