eric7/Documentation/Source/eric7.WebBrowser.WebBrowserTabBar.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.WebBrowserTabBar</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.WebBrowserTabBar</h1>
24
25 <p>
26 Module implementing a specialized tab bar for the web browser.
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="#WebBrowserTabBar">WebBrowserTabBar</a></td>
39 <td>Class implementing the tab bar of the web browser.</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="WebBrowserTabBar" ID="WebBrowserTabBar"></a>
50 <h2>WebBrowserTabBar</h2>
51
52 <p>
53 Class implementing the tab bar of the web browser.
54 </p>
55 <h3>Derived from</h3>
56 EricWheelTabBar
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="#WebBrowserTabBar.__init__">WebBrowserTabBar</a></td>
73 <td>Constructor</td>
74 </tr>
75 <tr>
76 <td><a href="#WebBrowserTabBar.__hidePreview">__hidePreview</a></td>
77 <td>Private method to hide the preview.</td>
78 </tr>
79 <tr>
80 <td><a href="#WebBrowserTabBar.__showTabPreview">__showTabPreview</a></td>
81 <td>Private slot to show the tab preview.</td>
82 </tr>
83 <tr>
84 <td><a href="#WebBrowserTabBar.event">event</a></td>
85 <td>Public method to handle event.</td>
86 </tr>
87 <tr>
88 <td><a href="#WebBrowserTabBar.leaveEvent">leaveEvent</a></td>
89 <td>Protected method to handle leave events.</td>
90 </tr>
91 <tr>
92 <td><a href="#WebBrowserTabBar.mouseMoveEvent">mouseMoveEvent</a></td>
93 <td>Protected method to handle mouse move events.</td>
94 </tr>
95 <tr>
96 <td><a href="#WebBrowserTabBar.mousePressEvent">mousePressEvent</a></td>
97 <td>Protected method to handle mouse press events.</td>
98 </tr>
99 <tr>
100 <td><a href="#WebBrowserTabBar.tabRemoved">tabRemoved</a></td>
101 <td>Public slot to handle the removal of a tab.</td>
102 </tr>
103 </table>
104 <h3>Static Methods</h3>
105
106 <table>
107 <tr><td>None</td></tr>
108 </table>
109
110 <a NAME="WebBrowserTabBar.__init__" ID="WebBrowserTabBar.__init__"></a>
111 <h4>WebBrowserTabBar (Constructor)</h4>
112 <b>WebBrowserTabBar</b>(<i>parent=None</i>)
113
114 <p>
115 Constructor
116 </p>
117 <dl>
118
119 <dt><i>parent</i></dt>
120 <dd>
121 reference to the parent widget (WebBrowserTabWidget)
122 </dd>
123 </dl>
124 <a NAME="WebBrowserTabBar.__hidePreview" ID="WebBrowserTabBar.__hidePreview"></a>
125 <h4>WebBrowserTabBar.__hidePreview</h4>
126 <b>__hidePreview</b>(<i></i>)
127
128 <p>
129 Private method to hide the preview.
130 </p>
131 <a NAME="WebBrowserTabBar.__showTabPreview" ID="WebBrowserTabBar.__showTabPreview"></a>
132 <h4>WebBrowserTabBar.__showTabPreview</h4>
133 <b>__showTabPreview</b>(<i>index</i>)
134
135 <p>
136 Private slot to show the tab preview.
137 </p>
138 <dl>
139
140 <dt><i>index</i> (int)</dt>
141 <dd>
142 index of tab to show a preview for
143 </dd>
144 </dl>
145 <a NAME="WebBrowserTabBar.event" ID="WebBrowserTabBar.event"></a>
146 <h4>WebBrowserTabBar.event</h4>
147 <b>event</b>(<i>evt</i>)
148
149 <p>
150 Public method to handle event.
151 </p>
152 <p>
153 This event handler just handles the tooltip event and passes the
154 handling of all others to the superclass.
155 </p>
156 <dl>
157
158 <dt><i>evt</i></dt>
159 <dd>
160 reference to the event to be handled (QEvent)
161 </dd>
162 </dl>
163 <dl>
164 <dt>Return:</dt>
165 <dd>
166 flag indicating, if the event was handled (boolean)
167 </dd>
168 </dl>
169 <a NAME="WebBrowserTabBar.leaveEvent" ID="WebBrowserTabBar.leaveEvent"></a>
170 <h4>WebBrowserTabBar.leaveEvent</h4>
171 <b>leaveEvent</b>(<i>evt</i>)
172
173 <p>
174 Protected method to handle leave events.
175 </p>
176 <dl>
177
178 <dt><i>evt</i></dt>
179 <dd>
180 reference to the leave event (QEvent)
181 </dd>
182 </dl>
183 <a NAME="WebBrowserTabBar.mouseMoveEvent" ID="WebBrowserTabBar.mouseMoveEvent"></a>
184 <h4>WebBrowserTabBar.mouseMoveEvent</h4>
185 <b>mouseMoveEvent</b>(<i>evt</i>)
186
187 <p>
188 Protected method to handle mouse move events.
189 </p>
190 <dl>
191
192 <dt><i>evt</i></dt>
193 <dd>
194 reference to the mouse move event (QMouseEvent)
195 </dd>
196 </dl>
197 <a NAME="WebBrowserTabBar.mousePressEvent" ID="WebBrowserTabBar.mousePressEvent"></a>
198 <h4>WebBrowserTabBar.mousePressEvent</h4>
199 <b>mousePressEvent</b>(<i>evt</i>)
200
201 <p>
202 Protected method to handle mouse press events.
203 </p>
204 <dl>
205
206 <dt><i>evt</i></dt>
207 <dd>
208 reference to the mouse press event (QMouseEvent)
209 </dd>
210 </dl>
211 <a NAME="WebBrowserTabBar.tabRemoved" ID="WebBrowserTabBar.tabRemoved"></a>
212 <h4>WebBrowserTabBar.tabRemoved</h4>
213 <b>tabRemoved</b>(<i>index</i>)
214
215 <p>
216 Public slot to handle the removal of a tab.
217 </p>
218 <dl>
219
220 <dt><i>index</i></dt>
221 <dd>
222 index of the removed tab (integer)
223 </dd>
224 </dl>
225 <div align="right"><a href="#top">Up</a></div>
226 <hr />
227 </body></html>

eric ide

mercurial