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

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

eric ide

mercurial