45 |
45 |
46 self.scanButton.clicked.connect(self.scanNetworks) |
46 self.scanButton.clicked.connect(self.scanNetworks) |
47 |
47 |
48 self.networkList.sortByColumn(0, Qt.SortOrder.AscendingOrder) |
48 self.networkList.sortByColumn(0, Qt.SortOrder.AscendingOrder) |
49 |
49 |
|
50 @pyqtSlot() |
50 def scanNetworks(self): |
51 def scanNetworks(self): |
51 """ |
52 """ |
52 Public method to ask the device for a network scan and display the result. |
53 Public slot to ask the device for a network scan and display the result. |
53 """ |
54 """ |
54 self.networkList.clear() |
55 self.networkList.clear() |
55 self.statusLabel.clear() |
56 self.statusLabel.clear() |
56 |
57 |
57 if not self.periodicCheckBox.isChecked(): |
58 if not self.periodicCheckBox.isChecked(): |