# eric6.E5Network.E5NetworkIcon

Module implementing a statusbar icon tracking the network status.

### Global Attributes

None

### Classes

E5NetworkIcon | Class implementing a statusbar icon tracking the network status.

### Functions

None

## 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

None

### Class Methods

None

### Methods

E5NetworkIcon | Constructor
__onlineStateChanged | Private slot handling online state changes.
isOnline | Public method to get the online state.

### Static Methods

None

#### 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

Up