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

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

eric ide

mercurial