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