eric7.EricNetwork.EricNetworkIcon
Module implementing a statusbar icon tracking the network status.
Global Attributes
Classes
EricNetworkIcon |
Class implementing a statusbar icon tracking the network status. |
Functions
EricNetworkIcon
Class implementing a statusbar icon tracking the network status.
Signals
- onlineStateChanged(online)
-
emitted to indicate a change of the
network state
- reachabilityStateChanged(reachability)
-
emitted to indicate a
change of the network reachability
Derived from
QLabel
Class Attributes
Class Methods
Methods
Static Methods
EricNetworkIcon (Constructor)
EricNetworkIcon(parent=None)
Constructor
- parent (QWidget)
-
reference to the parent widget
EricNetworkIcon.__reachabilityChanged
__reachabilityChanged(reachability)
Private slot handling reachability state changes.
- reachability (QNetworkInformation.Reachability)
-
new reachability state
EricNetworkIcon.isOnline
isOnline()
Public method to get the online state.
- Return:
-
online state
- Return Type:
-
bool