Documentation/Source/eric5.Helpviewer.HelpTabBar.html

changeset 634
7b84cbd2f752
child 638
265c31231d9d
equal deleted inserted replaced
633:4bda1d24b8a7 634:7b84cbd2f752
1 <?xml version="1.0" encoding="utf-8"?>
2 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
3 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
4 <html><head>
5 <title>eric5.Helpviewer.HelpTabBar</title>
6 <style>
7 body {
8 background: #EDECE6;
9 margin: 0em 1em 10em 1em;
10 color: black;
11 }
12
13 h1 { color: white; background: #85774A; }
14 h2 { color: white; background: #85774A; }
15 h3 { color: white; background: #9D936E; }
16 h4 { color: white; background: #9D936E; }
17
18 a { color: #BA6D36; }
19
20 </style>
21 </head>
22 <body><a NAME="top" ID="top"></a>
23 <h1>eric5.Helpviewer.HelpTabBar</h1>
24 <p>
25 Module implementing a specialized tab bar for the web browser.
26 </p>
27 <h3>Global Attributes</h3>
28 <table>
29 <tr><td>None</td></tr>
30 </table>
31 <h3>Classes</h3>
32 <table>
33 <tr>
34 <td><a href="#HelpTabBar">HelpTabBar</a></td>
35 <td>Class implementing the tab bar of the web browser.</td>
36 </tr>
37 </table>
38 <h3>Functions</h3>
39 <table>
40 <tr><td>None</td></tr>
41 </table>
42 <hr /><hr />
43 <a NAME="HelpTabBar" ID="HelpTabBar"></a>
44 <h2>HelpTabBar</h2>
45 <p>
46 Class implementing the tab bar of the web browser.
47 </p>
48 <h3>Derived from</h3>
49 E5WheelTabBar
50 <h3>Class Attributes</h3>
51 <table>
52 <tr><td>None</td></tr>
53 </table>
54 <h3>Methods</h3>
55 <table>
56 <tr>
57 <td><a href="#HelpTabBar.__init__">HelpTabBar</a></td>
58 <td>Constructor</td>
59 </tr><tr>
60 <td><a href="#HelpTabBar.__showTabPreview">__showTabPreview</a></td>
61 <td>Private slot to show the tab preview.</td>
62 </tr><tr>
63 <td><a href="#HelpTabBar.event">event</a></td>
64 <td>Protected method to handle event.</td>
65 </tr><tr>
66 <td><a href="#HelpTabBar.leaveEvent">leaveEvent</a></td>
67 <td>Protected method to handle leave events.</td>
68 </tr><tr>
69 <td><a href="#HelpTabBar.mouseMoveEvent">mouseMoveEvent</a></td>
70 <td>Protected method to handle mouse move events.</td>
71 </tr><tr>
72 <td><a href="#HelpTabBar.mousePressEvent">mousePressEvent</a></td>
73 <td>Protected method to handle mouse press events.</td>
74 </tr><tr>
75 <td><a href="#HelpTabBar.tabRemoved">tabRemoved</a></td>
76 <td>Protected slot to handle the removal of a tab.</td>
77 </tr>
78 </table>
79 <a NAME="HelpTabBar.__init__" ID="HelpTabBar.__init__"></a>
80 <h4>HelpTabBar (Constructor)</h4>
81 <b>HelpTabBar</b>(<i>parent = None</i>)
82 <p>
83 Constructor
84 </p><dl>
85 <dt><i>parent</i></dt>
86 <dd>
87 reference to the parent widget (QWidget)
88 </dd>
89 </dl><a NAME="HelpTabBar.__showTabPreview" ID="HelpTabBar.__showTabPreview"></a>
90 <h4>HelpTabBar.__showTabPreview</h4>
91 <b>__showTabPreview</b>(<i></i>)
92 <p>
93 Private slot to show the tab preview.
94 </p><a NAME="HelpTabBar.event" ID="HelpTabBar.event"></a>
95 <h4>HelpTabBar.event</h4>
96 <b>event</b>(<i>evt</i>)
97 <p>
98 Protected method to handle event.
99 </p><p>
100 This event handler just handles the tooltip event and passes the
101 handling of all others to the superclass.
102 </p><dl>
103 <dt><i>evt</i></dt>
104 <dd>
105 reference to the event to be handled (QEvent)
106 </dd>
107 </dl><dl>
108 <dt>Returns:</dt>
109 <dd>
110 flag indicating, if the event was handled (boolean)
111 </dd>
112 </dl><a NAME="HelpTabBar.leaveEvent" ID="HelpTabBar.leaveEvent"></a>
113 <h4>HelpTabBar.leaveEvent</h4>
114 <b>leaveEvent</b>(<i>evt</i>)
115 <p>
116 Protected method to handle leave events.
117 </p><dl>
118 <dt><i>evt</i></dt>
119 <dd>
120 reference to the leave event (QEvent)
121 </dd>
122 </dl><a NAME="HelpTabBar.mouseMoveEvent" ID="HelpTabBar.mouseMoveEvent"></a>
123 <h4>HelpTabBar.mouseMoveEvent</h4>
124 <b>mouseMoveEvent</b>(<i>evt</i>)
125 <p>
126 Protected method to handle mouse move events.
127 </p><dl>
128 <dt><i>reference</i></dt>
129 <dd>
130 to the mouse move event (QMouseEvent)
131 </dd>
132 </dl><a NAME="HelpTabBar.mousePressEvent" ID="HelpTabBar.mousePressEvent"></a>
133 <h4>HelpTabBar.mousePressEvent</h4>
134 <b>mousePressEvent</b>(<i>evt</i>)
135 <p>
136 Protected method to handle mouse press events.
137 </p><dl>
138 <dt><i>evt</i></dt>
139 <dd>
140 reference to the mouse press event (QMouseEvent)
141 </dd>
142 </dl><a NAME="HelpTabBar.tabRemoved" ID="HelpTabBar.tabRemoved"></a>
143 <h4>HelpTabBar.tabRemoved</h4>
144 <b>tabRemoved</b>(<i>index</i>)
145 <p>
146 Protected slot to handle the removal of a tab.
147 </p><dl>
148 <dt><i>index</i></dt>
149 <dd>
150 index of the removed tab (integer)
151 </dd>
152 </dl>
153 <div align="right"><a href="#top">Up</a></div>
154 <hr />
155 </body></html>

eric ide

mercurial