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