Documentation/Source/eric6.WebBrowser.WebBrowserTabBar.html

Thu, 18 Oct 2018 18:53:23 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 18 Oct 2018 18:53:23 +0200
changeset 6550
7c20da9a480a
parent 6125
bb1c79bf4f33
permissions
-rw-r--r--

Updated source docu.

<!DOCTYPE html>
<html><head>
<title>eric6.WebBrowser.WebBrowserTabBar</title>
<meta charset="UTF-8">
<style>
body {
    background: #EDECE6;
    margin: 0em 1em 10em 1em;
    color: black;
}

h1 { color: white; background: #85774A; }
h2 { color: white; background: #85774A; }
h3 { color: white; background: #9D936E; }
h4 { color: white; background: #9D936E; }
    
a { color: #BA6D36; }

</style>
</head>
<body><a NAME="top" ID="top"></a>
<h1>eric6.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>
E5WheelTabBar
<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></dt>
<dd>
reference to the parent widget (WebBrowserTabWidget)
</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></dt>
<dd>
reference to the event to be handled (QEvent)
</dd>
</dl><dl>
<dt>Returns:</dt>
<dd>
flag indicating, if the event was handled (boolean)
</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></dt>
<dd>
reference to the leave event (QEvent)
</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></dt>
<dd>
reference to the mouse move event (QMouseEvent)
</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></dt>
<dd>
reference to the mouse press event (QMouseEvent)
</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></dt>
<dd>
index of the removed tab (integer)
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial