Documentation/Source/eric6.E5Network.E5NetworkIcon.html

Tue, 29 Dec 2015 15:13:23 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 29 Dec 2015 15:13:23 +0100
changeset 4629
99aaac59be4f
child 4630
7b0e38956b5c
permissions
-rw-r--r--

Added a status bar icon to show the online status.

<!DOCTYPE html>
<html><head>
<title>eric6.E5Network.E5NetworkIcon</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.E5Network.E5NetworkIcon</h1>
<p>
Module implementing a statusbar icon tracking the network status.
</p>
<h3>Global Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Classes</h3>
<table>
<tr>
<td><a href="#E5NetworkIcon">E5NetworkIcon</a></td>
<td>Class implementing a statusbar icon tracking the network status.</td>
</tr>
</table>
<h3>Functions</h3>
<table>
<tr><td>None</td></tr>
</table>
<hr /><hr />
<a NAME="E5NetworkIcon" ID="E5NetworkIcon"></a>
<h2>E5NetworkIcon</h2>
<p>
    Class implementing a statusbar icon tracking the network status.
</p>
<h3>Derived from</h3>
E5ClickableLabel
<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="#E5NetworkIcon.__init__">E5NetworkIcon</a></td>
<td>Constructor</td>
</tr><tr>
<td><a href="#E5NetworkIcon.__onlineStateChanged">__onlineStateChanged</a></td>
<td>Private slot handling online state changes.</td>
</tr><tr>
<td><a href="#E5NetworkIcon.isOnline">isOnline</a></td>
<td>Public method to get the online state.</td>
</tr>
</table>
<h3>Static Methods</h3>
<table>
<tr><td>None</td></tr>
</table>
<a NAME="E5NetworkIcon.__init__" ID="E5NetworkIcon.__init__"></a>
<h4>E5NetworkIcon (Constructor)</h4>
<b>E5NetworkIcon</b>(<i>parent=None</i>)
<p>
        Constructor
</p><dl>
<dt><i>parent</i> (QWidget)</dt>
<dd>
reference to the parent widget
</dd>
</dl><a NAME="E5NetworkIcon.__onlineStateChanged" ID="E5NetworkIcon.__onlineStateChanged"></a>
<h4>E5NetworkIcon.__onlineStateChanged</h4>
<b>__onlineStateChanged</b>(<i>online</i>)
<p>
        Private slot handling online state changes.
</p><dl>
<dt><i>online</i> (bool)</dt>
<dd>
flag indicating the online status
</dd>
</dl><a NAME="E5NetworkIcon.isOnline" ID="E5NetworkIcon.isOnline"></a>
<h4>E5NetworkIcon.isOnline</h4>
<b>isOnline</b>(<i></i>)
<p>
        Public method to get the online state.
</p><dl>
<dt>Returns:</dt>
<dd>
online state
</dd>
</dl><dl>
<dt>Return Type:</dt>
<dd>
bool
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial