minxss_beacon_decoder.py 文件源码

python
阅读 20 收藏 0 点赞 0 评论 0

项目:MinXSS_Beacon_Decoder 作者: jmason86 项目源码 文件源码
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)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号