def stopRead(self):
"""
Purpose:
Respond to disconnect button being clicked -- disconnect from the port, be it serial or socket
Input:
None
Output:
None
"""
self.connectedPort.close()
# Update GUI
self.label_serialStatus.setText(QtGui.QApplication.translate("MainWindow", "Port closed", None, QtGui.QApplication.UnicodeUTF8))
palette = QtGui.QPalette()
palette.setColor(QtGui.QPalette.Foreground, QColor(242, 86, 77)) # Red
self.label_serialStatus.setPalette(palette)
minxss_beacon_decoder.py 文件源码
python
阅读 20
收藏 0
点赞 0
评论 0
评论列表
文章目录