--- a/src/eric7/Documentation/Source/eric7.UI.NotificationWidget.html Thu Jan 04 17:16:15 2024 +0100 +++ b/src/eric7/Documentation/Source/eric7.UI.NotificationWidget.html Thu Jan 04 18:02:25 2024 +0100 @@ -7,19 +7,17 @@ <body> <a NAME="top" ID="top"></a> <h1>eric7.UI.NotificationWidget</h1> - <p> Module implementing a Notification widget. </p> + <h3>Global Attributes</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Classes</h3> - <table> - <tr> <td><a href="#NotificationFrame">NotificationFrame</a></td> <td>Class implementing a Notification widget.</td> @@ -33,30 +31,29 @@ <td>Class implementing a Notification list widget.</td> </tr> </table> + <h3>Functions</h3> - <table> <tr><td>None</td></tr> </table> + <hr /> <hr /> <a NAME="NotificationFrame" ID="NotificationFrame"></a> <h2>NotificationFrame</h2> - <p> Class implementing a Notification widget. </p> + <h3>Derived from</h3> QFrame, Ui_NotificationFrame <h3>Class Attributes</h3> - <table> <tr><td>NotificationStyleSheetTemplate</td></tr> </table> + <h3>Class Methods</h3> - <table> - <tr> <td><a href="#NotificationFrame.getIcon">getIcon</a></td> <td>Class method to get the icon for a specific notification kind.</td> @@ -66,28 +63,28 @@ <td>Class method to get a style sheet for specific notification kind.</td> </tr> </table> + <h3>Methods</h3> - <table> - <tr> <td><a href="#NotificationFrame.__init__">NotificationFrame</a></td> <td>Constructor</td> </tr> </table> + <h3>Static Methods</h3> - <table> <tr><td>None</td></tr> </table> + <a NAME="NotificationFrame.getIcon" ID="NotificationFrame.getIcon"></a> <h4>NotificationFrame.getIcon (class method)</h4> <b>getIcon</b>(<i>kind</i>) - <p> Class method to get the icon for a specific notification kind. </p> + <dl> <dt><i>kind</i> (NotificationTypes)</dt> @@ -110,10 +107,10 @@ <a NAME="NotificationFrame.getStyleSheet" ID="NotificationFrame.getStyleSheet"></a> <h4>NotificationFrame.getStyleSheet (class method)</h4> <b>getStyleSheet</b>(<i>kind</i>) - <p> Class method to get a style sheet for specific notification kind. </p> + <dl> <dt><i>kind</i> (NotificationTypes)</dt> @@ -136,10 +133,10 @@ <a NAME="NotificationFrame.__init__" ID="NotificationFrame.__init__"></a> <h4>NotificationFrame (Constructor)</h4> <b>NotificationFrame</b>(<i>icon, heading, text, kind=NotificationTypes.INFORMATION, parent=None</i>) - <p> Constructor </p> + <dl> <dt><i>icon</i> (QPixmap)</dt> @@ -168,58 +165,59 @@ <hr /> <a NAME="NotificationTypes" ID="NotificationTypes"></a> <h2>NotificationTypes</h2> - <p> Class implementing the notification types. </p> + <h3>Derived from</h3> enum.Enum <h3>Class Attributes</h3> +<table> +<tr><td>CRITICAL</td></tr> +<tr><td>INFORMATION</td></tr> +<tr><td>OTHER</td></tr> +<tr><td>WARNING</td></tr> +</table> -<table> -<tr><td>CRITICAL</td></tr><tr><td>INFORMATION</td></tr><tr><td>OTHER</td></tr><tr><td>WARNING</td></tr> -</table> <h3>Class Methods</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Methods</h3> - <table> <tr><td>None</td></tr> </table> + <h3>Static Methods</h3> - <table> <tr><td>None</td></tr> </table> + <div align="right"><a href="#top">Up</a></div> <hr /> <hr /> <a NAME="NotificationWidget" ID="NotificationWidget"></a> <h2>NotificationWidget</h2> - <p> Class implementing a Notification list widget. </p> + <h3>Derived from</h3> QWidget <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="#NotificationWidget.__init__">NotificationWidget</a></td> <td>Constructor</td> @@ -249,19 +247,20 @@ <td>Public method to show a notification.</td> </tr> </table> + <h3>Static Methods</h3> - <table> <tr><td>None</td></tr> </table> + <a NAME="NotificationWidget.__init__" ID="NotificationWidget.__init__"></a> <h4>NotificationWidget (Constructor)</h4> <b>NotificationWidget</b>(<i>parent=None, setPosition=False</i>) - <p> Constructor </p> + <dl> <dt><i>parent</i> (QWidget)</dt> @@ -277,17 +276,17 @@ <a NAME="NotificationWidget.__adjustSizeAndPosition" ID="NotificationWidget.__adjustSizeAndPosition"></a> <h4>NotificationWidget.__adjustSizeAndPosition</h4> <b>__adjustSizeAndPosition</b>(<i></i>) - <p> Private slot to adjust the notification list widget size and position. </p> + <a NAME="NotificationWidget.__removeNotification" ID="NotificationWidget.__removeNotification"></a> <h4>NotificationWidget.__removeNotification</h4> <b>__removeNotification</b>(<i>notification</i>) - <p> Private method to remove a notification from the list. </p> + <dl> <dt><i>notification</i> (NotificationFrame)</dt> @@ -298,10 +297,10 @@ <a NAME="NotificationWidget.mouseMoveEvent" ID="NotificationWidget.mouseMoveEvent"></a> <h4>NotificationWidget.mouseMoveEvent</h4> <b>mouseMoveEvent</b>(<i>evt</i>) - <p> Protected method to handle dragging the window. </p> + <dl> <dt><i>evt</i> (QMouseEvent)</dt> @@ -312,10 +311,10 @@ <a NAME="NotificationWidget.mousePressEvent" ID="NotificationWidget.mousePressEvent"></a> <h4>NotificationWidget.mousePressEvent</h4> <b>mousePressEvent</b>(<i>evt</i>) - <p> Protected method to handle presses of a mouse button. </p> + <dl> <dt><i>evt</i> (QMouseEvent)</dt> @@ -326,10 +325,10 @@ <a NAME="NotificationWidget.mouseReleaseEvent" ID="NotificationWidget.mouseReleaseEvent"></a> <h4>NotificationWidget.mouseReleaseEvent</h4> <b>mouseReleaseEvent</b>(<i>evt</i>) - <p> Protected method to handle releases of a mouse button. </p> + <dl> <dt><i>evt</i> (QMouseEvent)</dt> @@ -340,10 +339,10 @@ <a NAME="NotificationWidget.showNotification" ID="NotificationWidget.showNotification"></a> <h4>NotificationWidget.showNotification</h4> <b>showNotification</b>(<i>icon, heading, text, kind=NotificationTypes.INFORMATION, timeout=0</i>) - <p> Public method to show a notification. </p> + <dl> <dt><i>icon</i> (QPixmap)</dt> @@ -370,4 +369,4 @@ </dl> <div align="right"><a href="#top">Up</a></div> <hr /> -</body></html> \ No newline at end of file +</body></html>