16 |
16 |
17 a { color: #BA6D36; } |
17 a { color: #BA6D36; } |
18 |
18 |
19 </style> |
19 </style> |
20 </head> |
20 </head> |
21 <body><a NAME="top" ID="top"></a> |
21 <body> |
|
22 <a NAME="top" ID="top"></a> |
22 <h1>eric6.WebBrowser.StatusBar.StatusBarIcon</h1> |
23 <h1>eric6.WebBrowser.StatusBar.StatusBarIcon</h1> |
|
24 |
23 <p> |
25 <p> |
24 Module implementing the status bar icon base class. |
26 Module implementing the status bar icon base class. |
25 </p> |
27 </p> |
26 <h3>Global Attributes</h3> |
28 <h3>Global Attributes</h3> |
|
29 |
27 <table> |
30 <table> |
28 <tr><td>None</td></tr> |
31 <tr><td>None</td></tr> |
29 </table> |
32 </table> |
30 <h3>Classes</h3> |
33 <h3>Classes</h3> |
31 <table> |
34 |
|
35 <table> |
|
36 |
32 <tr> |
37 <tr> |
33 <td><a href="#StatusBarIcon">StatusBarIcon</a></td> |
38 <td><a href="#StatusBarIcon">StatusBarIcon</a></td> |
34 <td>Class implementing common methods for all status bar icons.</td> |
39 <td>Class implementing common methods for all status bar icons.</td> |
35 </tr> |
40 </tr> |
36 </table> |
41 </table> |
37 <h3>Functions</h3> |
42 <h3>Functions</h3> |
38 <table> |
43 |
39 <tr><td>None</td></tr> |
44 <table> |
40 </table> |
45 <tr><td>None</td></tr> |
41 <hr /><hr /> |
46 </table> |
|
47 <hr /> |
|
48 <hr /> |
42 <a NAME="StatusBarIcon" ID="StatusBarIcon"></a> |
49 <a NAME="StatusBarIcon" ID="StatusBarIcon"></a> |
43 <h2>StatusBarIcon</h2> |
50 <h2>StatusBarIcon</h2> |
|
51 |
44 <p> |
52 <p> |
45 Class implementing common methods for all status bar icons. |
53 Class implementing common methods for all status bar icons. |
46 </p> |
54 </p> |
47 <h3>Derived from</h3> |
55 <h3>Derived from</h3> |
48 E5ClickableLabel |
56 E5ClickableLabel |
49 <h3>Class Attributes</h3> |
57 <h3>Class Attributes</h3> |
|
58 |
50 <table> |
59 <table> |
51 <tr><td>None</td></tr> |
60 <tr><td>None</td></tr> |
52 </table> |
61 </table> |
53 <h3>Class Methods</h3> |
62 <h3>Class Methods</h3> |
|
63 |
54 <table> |
64 <table> |
55 <tr><td>None</td></tr> |
65 <tr><td>None</td></tr> |
56 </table> |
66 </table> |
57 <h3>Methods</h3> |
67 <h3>Methods</h3> |
58 <table> |
68 |
|
69 <table> |
|
70 |
59 <tr> |
71 <tr> |
60 <td><a href="#StatusBarIcon.__init__">StatusBarIcon</a></td> |
72 <td><a href="#StatusBarIcon.__init__">StatusBarIcon</a></td> |
61 <td>Constructor</td> |
73 <td>Constructor</td> |
62 </tr><tr> |
74 </tr> |
|
75 <tr> |
63 <td><a href="#StatusBarIcon._currentPage">_currentPage</a></td> |
76 <td><a href="#StatusBarIcon._currentPage">_currentPage</a></td> |
64 <td>Protected method to get a reference to the current page.</td> |
77 <td>Protected method to get a reference to the current page.</td> |
65 </tr><tr> |
78 </tr> |
|
79 <tr> |
66 <td><a href="#StatusBarIcon._currentPageSettings">_currentPageSettings</a></td> |
80 <td><a href="#StatusBarIcon._currentPageSettings">_currentPageSettings</a></td> |
67 <td>Protected method to get a reference to the web settings of the current page.</td> |
81 <td>Protected method to get a reference to the web settings of the current page.</td> |
68 </tr><tr> |
82 </tr> |
|
83 <tr> |
69 <td><a href="#StatusBarIcon._setCurrentPageWebAttribute">_setCurrentPageWebAttribute</a></td> |
84 <td><a href="#StatusBarIcon._setCurrentPageWebAttribute">_setCurrentPageWebAttribute</a></td> |
70 <td>Protected method to set a web attribute on the current page.</td> |
85 <td>Protected method to set a web attribute on the current page.</td> |
71 </tr><tr> |
86 </tr> |
|
87 <tr> |
72 <td><a href="#StatusBarIcon._testCurrentPageWebAttribute">_testCurrentPageWebAttribute</a></td> |
88 <td><a href="#StatusBarIcon._testCurrentPageWebAttribute">_testCurrentPageWebAttribute</a></td> |
73 <td>Protected method to test a web attribute on the current page.</td> |
89 <td>Protected method to test a web attribute on the current page.</td> |
74 </tr><tr> |
90 </tr> |
|
91 <tr> |
75 <td><a href="#StatusBarIcon.preferencesChanged">preferencesChanged</a></td> |
92 <td><a href="#StatusBarIcon.preferencesChanged">preferencesChanged</a></td> |
76 <td>Public method to handle changes of the settings.</td> |
93 <td>Public method to handle changes of the settings.</td> |
77 </tr> |
94 </tr> |
78 </table> |
95 </table> |
79 <h3>Static Methods</h3> |
96 <h3>Static Methods</h3> |
80 <table> |
97 |
81 <tr><td>None</td></tr> |
98 <table> |
82 </table> |
99 <tr><td>None</td></tr> |
|
100 </table> |
|
101 |
83 <a NAME="StatusBarIcon.__init__" ID="StatusBarIcon.__init__"></a> |
102 <a NAME="StatusBarIcon.__init__" ID="StatusBarIcon.__init__"></a> |
84 <h4>StatusBarIcon (Constructor)</h4> |
103 <h4>StatusBarIcon (Constructor)</h4> |
85 <b>StatusBarIcon</b>(<i>window</i>) |
104 <b>StatusBarIcon</b>(<i>window</i>) |
|
105 |
86 <p> |
106 <p> |
87 Constructor |
107 Constructor |
88 </p><dl> |
108 </p> |
|
109 <dl> |
|
110 |
89 <dt><i>window</i> (WebBrowserWindow)</dt> |
111 <dt><i>window</i> (WebBrowserWindow)</dt> |
90 <dd> |
112 <dd> |
91 reference to the web browser window |
113 reference to the web browser window |
92 </dd> |
114 </dd> |
93 </dl><a NAME="StatusBarIcon._currentPage" ID="StatusBarIcon._currentPage"></a> |
115 </dl> |
|
116 <a NAME="StatusBarIcon._currentPage" ID="StatusBarIcon._currentPage"></a> |
94 <h4>StatusBarIcon._currentPage</h4> |
117 <h4>StatusBarIcon._currentPage</h4> |
95 <b>_currentPage</b>(<i></i>) |
118 <b>_currentPage</b>(<i></i>) |
|
119 |
96 <p> |
120 <p> |
97 Protected method to get a reference to the current page. |
121 Protected method to get a reference to the current page. |
98 </p><dl> |
122 </p> |
|
123 <dl> |
99 <dt>Returns:</dt> |
124 <dt>Returns:</dt> |
100 <dd> |
125 <dd> |
101 reference to the current page |
126 reference to the current page |
102 </dd> |
127 </dd> |
103 </dl><dl> |
128 </dl> |
|
129 <dl> |
104 <dt>Return Type:</dt> |
130 <dt>Return Type:</dt> |
105 <dd> |
131 <dd> |
106 WebBrowserPage |
132 WebBrowserPage |
107 </dd> |
133 </dd> |
108 </dl><a NAME="StatusBarIcon._currentPageSettings" ID="StatusBarIcon._currentPageSettings"></a> |
134 </dl> |
|
135 <a NAME="StatusBarIcon._currentPageSettings" ID="StatusBarIcon._currentPageSettings"></a> |
109 <h4>StatusBarIcon._currentPageSettings</h4> |
136 <h4>StatusBarIcon._currentPageSettings</h4> |
110 <b>_currentPageSettings</b>(<i></i>) |
137 <b>_currentPageSettings</b>(<i></i>) |
|
138 |
111 <p> |
139 <p> |
112 Protected method to get a reference to the web settings of the |
140 Protected method to get a reference to the web settings of the |
113 current page. |
141 current page. |
114 </p><dl> |
142 </p> |
|
143 <dl> |
115 <dt>Returns:</dt> |
144 <dt>Returns:</dt> |
116 <dd> |
145 <dd> |
117 reference to the web settings object |
146 reference to the web settings object |
118 </dd> |
147 </dd> |
119 </dl><dl> |
148 </dl> |
|
149 <dl> |
120 <dt>Return Type:</dt> |
150 <dt>Return Type:</dt> |
121 <dd> |
151 <dd> |
122 QWebEngineSettings |
152 QWebEngineSettings |
123 </dd> |
153 </dd> |
124 </dl><a NAME="StatusBarIcon._setCurrentPageWebAttribute" ID="StatusBarIcon._setCurrentPageWebAttribute"></a> |
154 </dl> |
|
155 <a NAME="StatusBarIcon._setCurrentPageWebAttribute" ID="StatusBarIcon._setCurrentPageWebAttribute"></a> |
125 <h4>StatusBarIcon._setCurrentPageWebAttribute</h4> |
156 <h4>StatusBarIcon._setCurrentPageWebAttribute</h4> |
126 <b>_setCurrentPageWebAttribute</b>(<i>attr, val</i>) |
157 <b>_setCurrentPageWebAttribute</b>(<i>attr, val</i>) |
|
158 |
127 <p> |
159 <p> |
128 Protected method to set a web attribute on the current page. |
160 Protected method to set a web attribute on the current page. |
129 </p><dl> |
161 </p> |
|
162 <dl> |
|
163 |
130 <dt><i>attr</i> (QWebEngineSettings.WebAttribute)</dt> |
164 <dt><i>attr</i> (QWebEngineSettings.WebAttribute)</dt> |
131 <dd> |
165 <dd> |
132 attribute to sett |
166 attribute to sett |
133 </dd><dt><i>val</i> (bool)</dt> |
167 </dd> |
|
168 <dt><i>val</i> (bool)</dt> |
134 <dd> |
169 <dd> |
135 value to be set |
170 value to be set |
136 </dd> |
171 </dd> |
137 </dl><a NAME="StatusBarIcon._testCurrentPageWebAttribute" ID="StatusBarIcon._testCurrentPageWebAttribute"></a> |
172 </dl> |
|
173 <a NAME="StatusBarIcon._testCurrentPageWebAttribute" ID="StatusBarIcon._testCurrentPageWebAttribute"></a> |
138 <h4>StatusBarIcon._testCurrentPageWebAttribute</h4> |
174 <h4>StatusBarIcon._testCurrentPageWebAttribute</h4> |
139 <b>_testCurrentPageWebAttribute</b>(<i>attr</i>) |
175 <b>_testCurrentPageWebAttribute</b>(<i>attr</i>) |
|
176 |
140 <p> |
177 <p> |
141 Protected method to test a web attribute on the current page. |
178 Protected method to test a web attribute on the current page. |
142 </p><dl> |
179 </p> |
|
180 <dl> |
|
181 |
143 <dt><i>attr</i> (QWebEngineSettings.WebAttribute)</dt> |
182 <dt><i>attr</i> (QWebEngineSettings.WebAttribute)</dt> |
144 <dd> |
183 <dd> |
145 attribute to test |
184 attribute to test |
146 </dd> |
185 </dd> |
147 </dl><dl> |
186 </dl> |
|
187 <dl> |
148 <dt>Returns:</dt> |
188 <dt>Returns:</dt> |
149 <dd> |
189 <dd> |
150 flag indicating the attribute is set |
190 flag indicating the attribute is set |
151 </dd> |
191 </dd> |
152 </dl><dl> |
192 </dl> |
|
193 <dl> |
153 <dt>Return Type:</dt> |
194 <dt>Return Type:</dt> |
154 <dd> |
195 <dd> |
155 bool |
196 bool |
156 </dd> |
197 </dd> |
157 </dl><a NAME="StatusBarIcon.preferencesChanged" ID="StatusBarIcon.preferencesChanged"></a> |
198 </dl> |
|
199 <a NAME="StatusBarIcon.preferencesChanged" ID="StatusBarIcon.preferencesChanged"></a> |
158 <h4>StatusBarIcon.preferencesChanged</h4> |
200 <h4>StatusBarIcon.preferencesChanged</h4> |
159 <b>preferencesChanged</b>(<i></i>) |
201 <b>preferencesChanged</b>(<i></i>) |
|
202 |
160 <p> |
203 <p> |
161 Public method to handle changes of the settings. |
204 Public method to handle changes of the settings. |
162 </p> |
205 </p> |
163 <div align="right"><a href="#top">Up</a></div> |
206 <div align="right"><a href="#top">Up</a></div> |
164 <hr /> |
207 <hr /> |