|
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.__showTabPreview">__showTabPreview</a></td> |
|
64 <td>Private slot to show the tab preview.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#HelpTabBar.event">event</a></td> |
|
67 <td>Public method to handle event.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#HelpTabBar.leaveEvent">leaveEvent</a></td> |
|
70 <td>Protected method to handle leave events.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#HelpTabBar.mouseMoveEvent">mouseMoveEvent</a></td> |
|
73 <td>Protected method to handle mouse move events.</td> |
|
74 </tr><tr> |
|
75 <td><a href="#HelpTabBar.mousePressEvent">mousePressEvent</a></td> |
|
76 <td>Protected method to handle mouse press events.</td> |
|
77 </tr><tr> |
|
78 <td><a href="#HelpTabBar.tabRemoved">tabRemoved</a></td> |
|
79 <td>Public slot to handle the removal of a tab.</td> |
|
80 </tr> |
|
81 </table> |
|
82 <h3>Static Methods</h3> |
|
83 <table> |
|
84 <tr><td>None</td></tr> |
|
85 </table> |
|
86 <a NAME="HelpTabBar.__init__" ID="HelpTabBar.__init__"></a> |
|
87 <h4>HelpTabBar (Constructor)</h4> |
|
88 <b>HelpTabBar</b>(<i>parent=None</i>) |
|
89 <p> |
|
90 Constructor |
|
91 </p><dl> |
|
92 <dt><i>parent</i></dt> |
|
93 <dd> |
|
94 reference to the parent widget (HelpTabWidget) |
|
95 </dd> |
|
96 </dl><a NAME="HelpTabBar.__showTabPreview" ID="HelpTabBar.__showTabPreview"></a> |
|
97 <h4>HelpTabBar.__showTabPreview</h4> |
|
98 <b>__showTabPreview</b>(<i></i>) |
|
99 <p> |
|
100 Private slot to show the tab preview. |
|
101 </p><a NAME="HelpTabBar.event" ID="HelpTabBar.event"></a> |
|
102 <h4>HelpTabBar.event</h4> |
|
103 <b>event</b>(<i>evt</i>) |
|
104 <p> |
|
105 Public method to handle event. |
|
106 </p><p> |
|
107 This event handler just handles the tooltip event and passes the |
|
108 handling of all others to the superclass. |
|
109 </p><dl> |
|
110 <dt><i>evt</i></dt> |
|
111 <dd> |
|
112 reference to the event to be handled (QEvent) |
|
113 </dd> |
|
114 </dl><dl> |
|
115 <dt>Returns:</dt> |
|
116 <dd> |
|
117 flag indicating, if the event was handled (boolean) |
|
118 </dd> |
|
119 </dl><a NAME="HelpTabBar.leaveEvent" ID="HelpTabBar.leaveEvent"></a> |
|
120 <h4>HelpTabBar.leaveEvent</h4> |
|
121 <b>leaveEvent</b>(<i>evt</i>) |
|
122 <p> |
|
123 Protected method to handle leave events. |
|
124 </p><dl> |
|
125 <dt><i>evt</i></dt> |
|
126 <dd> |
|
127 reference to the leave event (QEvent) |
|
128 </dd> |
|
129 </dl><a NAME="HelpTabBar.mouseMoveEvent" ID="HelpTabBar.mouseMoveEvent"></a> |
|
130 <h4>HelpTabBar.mouseMoveEvent</h4> |
|
131 <b>mouseMoveEvent</b>(<i>evt</i>) |
|
132 <p> |
|
133 Protected method to handle mouse move events. |
|
134 </p><dl> |
|
135 <dt><i>evt</i></dt> |
|
136 <dd> |
|
137 reference to the mouse move event (QMouseEvent) |
|
138 </dd> |
|
139 </dl><a NAME="HelpTabBar.mousePressEvent" ID="HelpTabBar.mousePressEvent"></a> |
|
140 <h4>HelpTabBar.mousePressEvent</h4> |
|
141 <b>mousePressEvent</b>(<i>evt</i>) |
|
142 <p> |
|
143 Protected method to handle mouse press events. |
|
144 </p><dl> |
|
145 <dt><i>evt</i></dt> |
|
146 <dd> |
|
147 reference to the mouse press event (QMouseEvent) |
|
148 </dd> |
|
149 </dl><a NAME="HelpTabBar.tabRemoved" ID="HelpTabBar.tabRemoved"></a> |
|
150 <h4>HelpTabBar.tabRemoved</h4> |
|
151 <b>tabRemoved</b>(<i>index</i>) |
|
152 <p> |
|
153 Public slot to handle the removal of a tab. |
|
154 </p><dl> |
|
155 <dt><i>index</i></dt> |
|
156 <dd> |
|
157 index of the removed tab (integer) |
|
158 </dd> |
|
159 </dl> |
|
160 <div align="right"><a href="#top">Up</a></div> |
|
161 <hr /> |
|
162 </body></html> |