79 bool(self.portNameComboBox.currentData(self.PortNameRole)) |
79 bool(self.portNameComboBox.currentData(self.PortNameRole)) |
80 and bool(self.deviceTypeComboBox.currentData()) |
80 and bool(self.deviceTypeComboBox.currentData()) |
81 ) |
81 ) |
82 |
82 |
83 @pyqtSlot(str) |
83 @pyqtSlot(str) |
84 def on_portNameComboBox_currentTextChanged(self, txt): |
84 def on_portNameComboBox_currentTextChanged(self, _txt): |
85 """ |
85 """ |
86 Private slot to handle the selection of a port name. |
86 Private slot to handle the selection of a port name. |
87 |
87 |
88 @param txt selected port |
88 @param _txt selected port (unused) |
89 @type str |
89 @type str |
90 """ |
90 """ |
91 self.__updateOK() |
91 self.__updateOK() |
92 |
92 |
93 @pyqtSlot(str) |
93 @pyqtSlot(str) |
94 def on_deviceTypeComboBox_currentTextChanged(self, txt): |
94 def on_deviceTypeComboBox_currentTextChanged(self, _txt): |
95 """ |
95 """ |
96 Private slot to handle the selection of a device type. |
96 Private slot to handle the selection of a device type. |
97 |
97 |
98 @param txt selected device description |
98 @param _txt selected device description (unused) |
99 @type str |
99 @type str |
100 """ |
100 """ |
101 self.__updateOK() |
101 self.__updateOK() |
102 |
102 |
103 def getData(self): |
103 def getData(self): |