# eric7.MicroPython.WifiDialogs.WifiStatusDialog

Module implementing a dialog to show the WiFi status of the connected device.

### Global Attributes

None

### Classes

WifiStatusDialog | Class implementing a dialog to show the WiFi status of the connected device.

### Functions

None

## WifiStatusDialog

Class implementing a dialog to show the WiFi status of the connected device.

### Derived from

QDialog, Ui_WifiStatusDialog

### Class Attributes

None

### Class Methods

None

### Methods

WifiStatusDialog | Constructor
__createHeader | Private method to create a header item.
__createSubheader | Private method to create a subheader item.

### Static Methods

None

#### WifiStatusDialog (Constructor)

WifiStatusDialog(clientStatus, apStatus, overallStatus, parent=None)

Constructor

clientStatus (dict)
  dictionary containing the WiFi status data of the client interface
apStatus (dict)
  dictionary containing the WiFi status data of the access point interface
overallStatus (dict)
  dictionary containing the overall WiFi status data
parent (QWidget (optional))
  reference to the parent widget (defaults to None)

#### WifiStatusDialog.__createHeader

__createHeader(headerText)

Private method to create a header item.

headerText (str)
  text for the header item

Return:
  reference to the created header item

Return Type:
  QTreeWidgetItem

#### WifiStatusDialog.__createSubheader

__createSubheader(parent, text)

Private method to create a subheader item.

parent (QTreeWidgetItem)
  reference to the parent item
text (str)
  text for the header item

Return:
  reference to the created header item

Return Type:
  QTreeWidgetItem

Up