eric6.E5Network.E5NetworkIcon
Module implementing a statusbar icon tracking the network status.
Global Attributes
Classes
E5NetworkIcon |
Class implementing a statusbar icon tracking the network status. |
Functions
E5NetworkIcon
Class implementing a statusbar icon tracking the network status.
Signals
- onlineStateChanged(online)
-
emitted to indicate a change of the
network state
Derived from
QLabel
Class Attributes
Class Methods
Methods
Static Methods
E5NetworkIcon (Constructor)
E5NetworkIcon(parent=None)
Constructor
- parent (QWidget)
-
reference to the parent widget
E5NetworkIcon.__onlineStateChanged
__onlineStateChanged(online)
Private slot handling online state changes.
- online (bool)
-
flag indicating the online status
E5NetworkIcon.isOnline
isOnline()
Public method to get the online state.
- Returns:
-
online state
- Return Type:
-
bool