--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric7/Documentation/Source/eric7.Preferences.ThemeManager.html Wed Dec 29 16:54:36 2021 +0100 @@ -0,0 +1,118 @@ +<!DOCTYPE html> +<html><head> +<title>eric7.Preferences.ThemeManager</title> +<meta charset="UTF-8"> +<link rel="stylesheet" href="styles.css"> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric7.Preferences.ThemeManager</h1> + +<p> +Module implementing a manager object for color themes. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> + +<table> + +<tr> +<td><a href="#ThemeManager">ThemeManager</a></td> +<td>Class implementing a manager object for color themes.</td> +</tr> +</table> +<h3>Functions</h3> + +<table> +<tr><td>None</td></tr> +</table> +<hr /> +<hr /> +<a NAME="ThemeManager" ID="ThemeManager"></a> +<h2>ThemeManager</h2> + +<p> + Class implementing a manager object for color themes. +</p> +<h3>Derived from</h3> +QObject +<h3>Class Attributes</h3> + +<table> +<tr><td>ColorKeyList</td></tr><tr><td>ColorKeyPatternList</td></tr> +</table> +<h3>Class Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> + +<table> + +<tr> +<td><a href="#ThemeManager.__init__">ThemeManager</a></td> +<td>Constructor</td> +</tr> +<tr> +<td><a href="#ThemeManager.exportTheme">exportTheme</a></td> +<td>Public method to export the current colors to a theme file.</td> +</tr> +<tr> +<td><a href="#ThemeManager.importTheme">importTheme</a></td> +<td>Public method to import a theme file and set the colors.</td> +</tr> +</table> +<h3>Static Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> + +<a NAME="ThemeManager.__init__" ID="ThemeManager.__init__"></a> +<h4>ThemeManager (Constructor)</h4> +<b>ThemeManager</b>(<i>parent: QObject = None</i>) + +<p> + Constructor +</p> +<dl> + +<dt><i>parent</i> (QObject (optional))</dt> +<dd> +reference to the parent object (defaults to None) +</dd> +</dl> +<a NAME="ThemeManager.exportTheme" ID="ThemeManager.exportTheme"></a> +<h4>ThemeManager.exportTheme</h4> +<b>exportTheme</b>(<i></i>) + +<p> + Public method to export the current colors to a theme file. +</p> +<a NAME="ThemeManager.importTheme" ID="ThemeManager.importTheme"></a> +<h4>ThemeManager.importTheme</h4> +<b>importTheme</b>(<i></i>) + +<p> + Public method to import a theme file and set the colors. +</p> +<dl> +<dt>Return:</dt> +<dd> +flag indicating a successful import +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +bool +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file