analysis.py 文件源码

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

项目:rteeg 作者: kaczmarj 项目源码 文件源码
def _loop_analysis_show_window(self):
        """Show feedback window. This window updates the feedback at an interval
        defined by the user.

        If this function is called, `func` must return a string to be displayed
        in the feedback window. This string can include HTML and CSS, though not
        all CSS is supported. See PyQt's stylesheet.
        """
        app = QApplication.instance()
        if not app:
            app = QApplication(sys.argv)
        self.window = MainWindow(self.stream, self.func,
                                 self.args, self.buffer_len,
                                 self._kill_signal)
        self.window.show()
        # Stop the analysis loop if MainWindow is closed.
        app.aboutToQuit.connect(self.stop)
        sys.exit(app.exec_())
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号