|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.Helpviewer.HelpTabBar</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.Helpviewer.HelpTabBar</h1> |
|
23 <p> |
|
24 Module implementing a specialized tab bar for the web browser. |
|
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="#HelpTabBar">HelpTabBar</a></td> |
|
34 <td>Class implementing the tab bar of the web browser.</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="HelpTabBar" ID="HelpTabBar"></a> |
|
43 <h2>HelpTabBar</h2> |
|
44 <p> |
|
45 Class implementing the tab bar of the web browser. |
|
46 </p> |
|
47 <h3>Derived from</h3> |
|
48 E5WheelTabBar |
|
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="#HelpTabBar.__init__">HelpTabBar</a></td> |
|
61 <td>Constructor</td> |
|
62 </tr><tr> |
|
63 <td><a href="#HelpTabBar.__hidePreview">__hidePreview</a></td> |
|
64 <td>Private method to hide the preview.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#HelpTabBar.__showTabPreview">__showTabPreview</a></td> |
|
67 <td>Private slot to show the tab preview.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#HelpTabBar.event">event</a></td> |
|
70 <td>Public method to handle event.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#HelpTabBar.leaveEvent">leaveEvent</a></td> |
|
73 <td>Protected method to handle leave events.</td> |
|
74 </tr><tr> |
|
75 <td><a href="#HelpTabBar.mouseMoveEvent">mouseMoveEvent</a></td> |
|
76 <td>Protected method to handle mouse move events.</td> |
|
77 </tr><tr> |
|
78 <td><a href="#HelpTabBar.mousePressEvent">mousePressEvent</a></td> |
|
79 <td>Protected method to handle mouse press events.</td> |
|
80 </tr><tr> |
|
81 <td><a href="#HelpTabBar.tabRemoved">tabRemoved</a></td> |
|
82 <td>Public slot to handle the removal of a tab.</td> |
|
83 </tr> |
|
84 </table> |
|
85 <h3>Static Methods</h3> |
|
86 <table> |
|
87 <tr><td>None</td></tr> |
|
88 </table> |
|
89 <a NAME="HelpTabBar.__init__" ID="HelpTabBar.__init__"></a> |
|
90 <h4>HelpTabBar (Constructor)</h4> |
|
91 <b>HelpTabBar</b>(<i>parent=None</i>) |
|
92 <p> |
|
93 Constructor |
|
94 </p><dl> |
|
95 <dt><i>parent</i></dt> |
|
96 <dd> |
|
97 reference to the parent widget (HelpTabWidget) |
|
98 </dd> |
|
99 </dl><a NAME="HelpTabBar.__hidePreview" ID="HelpTabBar.__hidePreview"></a> |
|
100 <h4>HelpTabBar.__hidePreview</h4> |
|
101 <b>__hidePreview</b>(<i></i>) |
|
102 <p> |
|
103 Private method to hide the preview. |
|
104 </p><a NAME="HelpTabBar.__showTabPreview" ID="HelpTabBar.__showTabPreview"></a> |
|
105 <h4>HelpTabBar.__showTabPreview</h4> |
|
106 <b>__showTabPreview</b>(<i>index</i>) |
|
107 <p> |
|
108 Private slot to show the tab preview. |
|
109 </p><dl> |
|
110 <dt><i>index</i> (int)</dt> |
|
111 <dd> |
|
112 index of tab to show a preview for |
|
113 </dd> |
|
114 </dl><a NAME="HelpTabBar.event" ID="HelpTabBar.event"></a> |
|
115 <h4>HelpTabBar.event</h4> |
|
116 <b>event</b>(<i>evt</i>) |
|
117 <p> |
|
118 Public method to handle event. |
|
119 </p><p> |
|
120 This event handler just handles the tooltip event and passes the |
|
121 handling of all others to the superclass. |
|
122 </p><dl> |
|
123 <dt><i>evt</i></dt> |
|
124 <dd> |
|
125 reference to the event to be handled (QEvent) |
|
126 </dd> |
|
127 </dl><dl> |
|
128 <dt>Returns:</dt> |
|
129 <dd> |
|
130 flag indicating, if the event was handled (boolean) |
|
131 </dd> |
|
132 </dl><a NAME="HelpTabBar.leaveEvent" ID="HelpTabBar.leaveEvent"></a> |
|
133 <h4>HelpTabBar.leaveEvent</h4> |
|
134 <b>leaveEvent</b>(<i>evt</i>) |
|
135 <p> |
|
136 Protected method to handle leave events. |
|
137 </p><dl> |
|
138 <dt><i>evt</i></dt> |
|
139 <dd> |
|
140 reference to the leave event (QEvent) |
|
141 </dd> |
|
142 </dl><a NAME="HelpTabBar.mouseMoveEvent" ID="HelpTabBar.mouseMoveEvent"></a> |
|
143 <h4>HelpTabBar.mouseMoveEvent</h4> |
|
144 <b>mouseMoveEvent</b>(<i>evt</i>) |
|
145 <p> |
|
146 Protected method to handle mouse move events. |
|
147 </p><dl> |
|
148 <dt><i>evt</i></dt> |
|
149 <dd> |
|
150 reference to the mouse move event (QMouseEvent) |
|
151 </dd> |
|
152 </dl><a NAME="HelpTabBar.mousePressEvent" ID="HelpTabBar.mousePressEvent"></a> |
|
153 <h4>HelpTabBar.mousePressEvent</h4> |
|
154 <b>mousePressEvent</b>(<i>evt</i>) |
|
155 <p> |
|
156 Protected method to handle mouse press events. |
|
157 </p><dl> |
|
158 <dt><i>evt</i></dt> |
|
159 <dd> |
|
160 reference to the mouse press event (QMouseEvent) |
|
161 </dd> |
|
162 </dl><a NAME="HelpTabBar.tabRemoved" ID="HelpTabBar.tabRemoved"></a> |
|
163 <h4>HelpTabBar.tabRemoved</h4> |
|
164 <b>tabRemoved</b>(<i>index</i>) |
|
165 <p> |
|
166 Public slot to handle the removal of a tab. |
|
167 </p><dl> |
|
168 <dt><i>index</i></dt> |
|
169 <dd> |
|
170 index of the removed tab (integer) |
|
171 </dd> |
|
172 </dl> |
|
173 <div align="right"><a href="#top">Up</a></div> |
|
174 <hr /> |
|
175 </body></html> |