Sat, 26 Apr 2025 12:34:32 +0200
MicroPython
- Added a configuration option to disable the support for the no longer produced Pimoroni Pico Wireless Pack.
<!DOCTYPE html> <html><head> <title>eric7.WebBrowser.WebBrowserTabBar</title> <meta charset="UTF-8"> <link rel="stylesheet" href="styles.css"> </head> <body> <a NAME="top" ID="top"></a> <h1>eric7.WebBrowser.WebBrowserTabBar</h1> <p> Module implementing a specialized tab bar for the web browser. </p> <h3>Global Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Classes</h3> <table> <tr> <td><a href="#WebBrowserTabBar">WebBrowserTabBar</a></td> <td>Class implementing the tab bar of the web browser.</td> </tr> </table> <h3>Functions</h3> <table> <tr><td>None</td></tr> </table> <hr /> <hr /> <a NAME="WebBrowserTabBar" ID="WebBrowserTabBar"></a> <h2>WebBrowserTabBar</h2> <p> Class implementing the tab bar of the web browser. </p> <h3>Derived from</h3> EricWheelTabBar <h3>Class Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Class Methods</h3> <table> <tr><td>None</td></tr> </table> <h3>Methods</h3> <table> <tr> <td><a href="#WebBrowserTabBar.__init__">WebBrowserTabBar</a></td> <td>Constructor</td> </tr> <tr> <td><a href="#WebBrowserTabBar.__hidePreview">__hidePreview</a></td> <td>Private method to hide the preview.</td> </tr> <tr> <td><a href="#WebBrowserTabBar.__showTabPreview">__showTabPreview</a></td> <td>Private slot to show the tab preview.</td> </tr> <tr> <td><a href="#WebBrowserTabBar.event">event</a></td> <td>Public method to handle event.</td> </tr> <tr> <td><a href="#WebBrowserTabBar.leaveEvent">leaveEvent</a></td> <td>Protected method to handle leave events.</td> </tr> <tr> <td><a href="#WebBrowserTabBar.mouseMoveEvent">mouseMoveEvent</a></td> <td>Protected method to handle mouse move events.</td> </tr> <tr> <td><a href="#WebBrowserTabBar.mousePressEvent">mousePressEvent</a></td> <td>Protected method to handle mouse press events.</td> </tr> <tr> <td><a href="#WebBrowserTabBar.tabRemoved">tabRemoved</a></td> <td>Public slot to handle the removal of a tab.</td> </tr> </table> <h3>Static Methods</h3> <table> <tr><td>None</td></tr> </table> <a NAME="WebBrowserTabBar.__init__" ID="WebBrowserTabBar.__init__"></a> <h4>WebBrowserTabBar (Constructor)</h4> <b>WebBrowserTabBar</b>(<i>parent=None</i>) <p> Constructor </p> <dl> <dt><i>parent</i> (WebBrowserTabWidget)</dt> <dd> reference to the parent widget </dd> </dl> <a NAME="WebBrowserTabBar.__hidePreview" ID="WebBrowserTabBar.__hidePreview"></a> <h4>WebBrowserTabBar.__hidePreview</h4> <b>__hidePreview</b>(<i></i>) <p> Private method to hide the preview. </p> <a NAME="WebBrowserTabBar.__showTabPreview" ID="WebBrowserTabBar.__showTabPreview"></a> <h4>WebBrowserTabBar.__showTabPreview</h4> <b>__showTabPreview</b>(<i>index</i>) <p> Private slot to show the tab preview. </p> <dl> <dt><i>index</i> (int)</dt> <dd> index of tab to show a preview for </dd> </dl> <a NAME="WebBrowserTabBar.event" ID="WebBrowserTabBar.event"></a> <h4>WebBrowserTabBar.event</h4> <b>event</b>(<i>evt</i>) <p> Public method to handle event. </p> <p> This event handler just handles the tooltip event and passes the handling of all others to the superclass. </p> <dl> <dt><i>evt</i> (QEvent)</dt> <dd> reference to the event to be handled </dd> </dl> <dl> <dt>Return:</dt> <dd> flag indicating, if the event was handled </dd> </dl> <dl> <dt>Return Type:</dt> <dd> bool </dd> </dl> <a NAME="WebBrowserTabBar.leaveEvent" ID="WebBrowserTabBar.leaveEvent"></a> <h4>WebBrowserTabBar.leaveEvent</h4> <b>leaveEvent</b>(<i>evt</i>) <p> Protected method to handle leave events. </p> <dl> <dt><i>evt</i> (QEvent)</dt> <dd> reference to the leave event </dd> </dl> <a NAME="WebBrowserTabBar.mouseMoveEvent" ID="WebBrowserTabBar.mouseMoveEvent"></a> <h4>WebBrowserTabBar.mouseMoveEvent</h4> <b>mouseMoveEvent</b>(<i>evt</i>) <p> Protected method to handle mouse move events. </p> <dl> <dt><i>evt</i> (QMouseEvent)</dt> <dd> reference to the mouse move event </dd> </dl> <a NAME="WebBrowserTabBar.mousePressEvent" ID="WebBrowserTabBar.mousePressEvent"></a> <h4>WebBrowserTabBar.mousePressEvent</h4> <b>mousePressEvent</b>(<i>evt</i>) <p> Protected method to handle mouse press events. </p> <dl> <dt><i>evt</i> (QMouseEvent)</dt> <dd> reference to the mouse press event </dd> </dl> <a NAME="WebBrowserTabBar.tabRemoved" ID="WebBrowserTabBar.tabRemoved"></a> <h4>WebBrowserTabBar.tabRemoved</h4> <b>tabRemoved</b>(<i>_index</i>) <p> Public slot to handle the removal of a tab. </p> <dl> <dt><i>_index</i> (int)</dt> <dd> index of the removed tab (unused) </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html>