eric7/Documentation/Source/eric7.WebBrowser.StatusBar.StatusBarIcon.html

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

eric ide

mercurial