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