|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.Preferences.ConfigurationPages.NotificationsPage</title> |
|
4 <meta charset="UTF-8"> |
|
5 <link rel="stylesheet" href="styles.css"> |
|
6 </head> |
|
7 <body> |
|
8 <a NAME="top" ID="top"></a> |
|
9 <h1>eric7.Preferences.ConfigurationPages.NotificationsPage</h1> |
|
10 |
|
11 <p> |
|
12 Module implementing the Notifications configuration page. |
|
13 </p> |
|
14 <h3>Global Attributes</h3> |
|
15 |
|
16 <table> |
|
17 <tr><td>None</td></tr> |
|
18 </table> |
|
19 <h3>Classes</h3> |
|
20 |
|
21 <table> |
|
22 |
|
23 <tr> |
|
24 <td><a href="#NotificationsPage">NotificationsPage</a></td> |
|
25 <td>Class implementing the Notifications configuration page.</td> |
|
26 </tr> |
|
27 </table> |
|
28 <h3>Functions</h3> |
|
29 |
|
30 <table> |
|
31 |
|
32 <tr> |
|
33 <td><a href="#create">create</a></td> |
|
34 <td>Module function to create the configuration page.</td> |
|
35 </tr> |
|
36 </table> |
|
37 <hr /> |
|
38 <hr /> |
|
39 <a NAME="NotificationsPage" ID="NotificationsPage"></a> |
|
40 <h2>NotificationsPage</h2> |
|
41 |
|
42 <p> |
|
43 Class implementing the Notifications configuration page. |
|
44 </p> |
|
45 <h3>Derived from</h3> |
|
46 ConfigurationPageBase, Ui_NotificationsPage |
|
47 <h3>Class Attributes</h3> |
|
48 |
|
49 <table> |
|
50 <tr><td>None</td></tr> |
|
51 </table> |
|
52 <h3>Class Methods</h3> |
|
53 |
|
54 <table> |
|
55 <tr><td>None</td></tr> |
|
56 </table> |
|
57 <h3>Methods</h3> |
|
58 |
|
59 <table> |
|
60 |
|
61 <tr> |
|
62 <td><a href="#NotificationsPage.__init__">NotificationsPage</a></td> |
|
63 <td>Constructor</td> |
|
64 </tr> |
|
65 <tr> |
|
66 <td><a href="#NotificationsPage.__moveNotification">__moveNotification</a></td> |
|
67 <td>Private slot to move the notification widget.</td> |
|
68 </tr> |
|
69 <tr> |
|
70 <td><a href="#NotificationsPage.on_criticalBgButton_clicked">on_criticalBgButton_clicked</a></td> |
|
71 <td>Private slot to set the background color of the critical notifications.</td> |
|
72 </tr> |
|
73 <tr> |
|
74 <td><a href="#NotificationsPage.on_criticalDefaultButton_clicked">on_criticalDefaultButton_clicked</a></td> |
|
75 <td>Private slot to reset the colors for critical notifications to their default values.</td> |
|
76 </tr> |
|
77 <tr> |
|
78 <td><a href="#NotificationsPage.on_criticalFgButton_clicked">on_criticalFgButton_clicked</a></td> |
|
79 <td>Private slot to set the foreground color of the critical notifications.</td> |
|
80 </tr> |
|
81 <tr> |
|
82 <td><a href="#NotificationsPage.on_criticalResetButton_clicked">on_criticalResetButton_clicked</a></td> |
|
83 <td>Private slot to reset the colors for critical notifications to their current values.</td> |
|
84 </tr> |
|
85 <tr> |
|
86 <td><a href="#NotificationsPage.on_visualButton_clicked">on_visualButton_clicked</a></td> |
|
87 <td>Private slot to select the position visually.</td> |
|
88 </tr> |
|
89 <tr> |
|
90 <td><a href="#NotificationsPage.on_warningBgButton_clicked">on_warningBgButton_clicked</a></td> |
|
91 <td>Private slot to set the background color of the warning notifications.</td> |
|
92 </tr> |
|
93 <tr> |
|
94 <td><a href="#NotificationsPage.on_warningDefaultButton_clicked">on_warningDefaultButton_clicked</a></td> |
|
95 <td>Private slot to reset the colors for warning notifications to their default values.</td> |
|
96 </tr> |
|
97 <tr> |
|
98 <td><a href="#NotificationsPage.on_warningFgButton_clicked">on_warningFgButton_clicked</a></td> |
|
99 <td>Private slot to set the foreground color of the warning notifications.</td> |
|
100 </tr> |
|
101 <tr> |
|
102 <td><a href="#NotificationsPage.on_warningResetButton_clicked">on_warningResetButton_clicked</a></td> |
|
103 <td>Private slot to reset the colors for warning notifications to their current values.</td> |
|
104 </tr> |
|
105 <tr> |
|
106 <td><a href="#NotificationsPage.save">save</a></td> |
|
107 <td>Public slot to save the Notifications configuration.</td> |
|
108 </tr> |
|
109 </table> |
|
110 <h3>Static Methods</h3> |
|
111 |
|
112 <table> |
|
113 <tr><td>None</td></tr> |
|
114 </table> |
|
115 |
|
116 <a NAME="NotificationsPage.__init__" ID="NotificationsPage.__init__"></a> |
|
117 <h4>NotificationsPage (Constructor)</h4> |
|
118 <b>NotificationsPage</b>(<i></i>) |
|
119 |
|
120 <p> |
|
121 Constructor |
|
122 </p> |
|
123 <a NAME="NotificationsPage.__moveNotification" ID="NotificationsPage.__moveNotification"></a> |
|
124 <h4>NotificationsPage.__moveNotification</h4> |
|
125 <b>__moveNotification</b>(<i></i>) |
|
126 |
|
127 <p> |
|
128 Private slot to move the notification widget. |
|
129 </p> |
|
130 <a NAME="NotificationsPage.on_criticalBgButton_clicked" ID="NotificationsPage.on_criticalBgButton_clicked"></a> |
|
131 <h4>NotificationsPage.on_criticalBgButton_clicked</h4> |
|
132 <b>on_criticalBgButton_clicked</b>(<i></i>) |
|
133 |
|
134 <p> |
|
135 Private slot to set the background color of the critical notifications. |
|
136 </p> |
|
137 <a NAME="NotificationsPage.on_criticalDefaultButton_clicked" ID="NotificationsPage.on_criticalDefaultButton_clicked"></a> |
|
138 <h4>NotificationsPage.on_criticalDefaultButton_clicked</h4> |
|
139 <b>on_criticalDefaultButton_clicked</b>(<i></i>) |
|
140 |
|
141 <p> |
|
142 Private slot to reset the colors for critical notifications to their |
|
143 default values. |
|
144 </p> |
|
145 <a NAME="NotificationsPage.on_criticalFgButton_clicked" ID="NotificationsPage.on_criticalFgButton_clicked"></a> |
|
146 <h4>NotificationsPage.on_criticalFgButton_clicked</h4> |
|
147 <b>on_criticalFgButton_clicked</b>(<i></i>) |
|
148 |
|
149 <p> |
|
150 Private slot to set the foreground color of the critical notifications. |
|
151 </p> |
|
152 <a NAME="NotificationsPage.on_criticalResetButton_clicked" ID="NotificationsPage.on_criticalResetButton_clicked"></a> |
|
153 <h4>NotificationsPage.on_criticalResetButton_clicked</h4> |
|
154 <b>on_criticalResetButton_clicked</b>(<i></i>) |
|
155 |
|
156 <p> |
|
157 Private slot to reset the colors for critical notifications to their |
|
158 current values. |
|
159 </p> |
|
160 <a NAME="NotificationsPage.on_visualButton_clicked" ID="NotificationsPage.on_visualButton_clicked"></a> |
|
161 <h4>NotificationsPage.on_visualButton_clicked</h4> |
|
162 <b>on_visualButton_clicked</b>(<i>checked</i>) |
|
163 |
|
164 <p> |
|
165 Private slot to select the position visually. |
|
166 </p> |
|
167 <dl> |
|
168 |
|
169 <dt><i>checked</i></dt> |
|
170 <dd> |
|
171 state of the button (boolean) |
|
172 </dd> |
|
173 </dl> |
|
174 <a NAME="NotificationsPage.on_warningBgButton_clicked" ID="NotificationsPage.on_warningBgButton_clicked"></a> |
|
175 <h4>NotificationsPage.on_warningBgButton_clicked</h4> |
|
176 <b>on_warningBgButton_clicked</b>(<i></i>) |
|
177 |
|
178 <p> |
|
179 Private slot to set the background color of the warning notifications. |
|
180 </p> |
|
181 <a NAME="NotificationsPage.on_warningDefaultButton_clicked" ID="NotificationsPage.on_warningDefaultButton_clicked"></a> |
|
182 <h4>NotificationsPage.on_warningDefaultButton_clicked</h4> |
|
183 <b>on_warningDefaultButton_clicked</b>(<i></i>) |
|
184 |
|
185 <p> |
|
186 Private slot to reset the colors for warning notifications to their |
|
187 default values. |
|
188 </p> |
|
189 <a NAME="NotificationsPage.on_warningFgButton_clicked" ID="NotificationsPage.on_warningFgButton_clicked"></a> |
|
190 <h4>NotificationsPage.on_warningFgButton_clicked</h4> |
|
191 <b>on_warningFgButton_clicked</b>(<i></i>) |
|
192 |
|
193 <p> |
|
194 Private slot to set the foreground color of the warning notifications. |
|
195 </p> |
|
196 <a NAME="NotificationsPage.on_warningResetButton_clicked" ID="NotificationsPage.on_warningResetButton_clicked"></a> |
|
197 <h4>NotificationsPage.on_warningResetButton_clicked</h4> |
|
198 <b>on_warningResetButton_clicked</b>(<i></i>) |
|
199 |
|
200 <p> |
|
201 Private slot to reset the colors for warning notifications to their |
|
202 current values. |
|
203 </p> |
|
204 <a NAME="NotificationsPage.save" ID="NotificationsPage.save"></a> |
|
205 <h4>NotificationsPage.save</h4> |
|
206 <b>save</b>(<i></i>) |
|
207 |
|
208 <p> |
|
209 Public slot to save the Notifications configuration. |
|
210 </p> |
|
211 <div align="right"><a href="#top">Up</a></div> |
|
212 <hr /> |
|
213 <hr /> |
|
214 <a NAME="create" ID="create"></a> |
|
215 <h2>create</h2> |
|
216 <b>create</b>(<i>dlg</i>) |
|
217 |
|
218 <p> |
|
219 Module function to create the configuration page. |
|
220 </p> |
|
221 <dl> |
|
222 |
|
223 <dt><i>dlg</i></dt> |
|
224 <dd> |
|
225 reference to the configuration dialog |
|
226 </dd> |
|
227 </dl> |
|
228 <dl> |
|
229 <dt>Return:</dt> |
|
230 <dd> |
|
231 reference to the instantiated page (ConfigurationPageBase) |
|
232 </dd> |
|
233 </dl> |
|
234 <div align="right"><a href="#top">Up</a></div> |
|
235 <hr /> |
|
236 </body></html> |