src/eric7/MicroPython/WifiDialogs/WifiController.py

branch
eric7
changeset 11263
28f0ead11a82
parent 11236
75c26fe1d1c7
child 11270
0e220c26e60e
equal deleted inserted replaced
11262:07d9cc8d773c 11263:28f0ead11a82
104 @pyqtSlot() 104 @pyqtSlot()
105 def __connectWifi(self): 105 def __connectWifi(self):
106 """ 106 """
107 Private slot to connect the current device to a WiFi network. 107 Private slot to connect the current device to a WiFi network.
108 """ 108 """
109 # TODO: add country to WiFi connection
109 from .WifiConnectionDialog import WifiConnectionDialog 110 from .WifiConnectionDialog import WifiConnectionDialog
110 111
111 dlg = WifiConnectionDialog(parent=self.__mpy) 112 dlg = WifiConnectionDialog(parent=self.__mpy)
112 if dlg.exec() == QDialog.DialogCode.Accepted: 113 if dlg.exec() == QDialog.DialogCode.Accepted:
113 ssid, password, hostname = dlg.getConnectionParameters() 114 ssid, password, hostname = dlg.getConnectionParameters()

eric ide

mercurial