spectrumWindow.py 文件源码

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

项目:Py2DSpectroscopy 作者: SvenBo90 项目源码 文件源码
def create_cursors(self, x1, x2):

        # check whether the spectrum window was visible
        self._visible_flag = self.parent().isVisible()

        # create cursor
        self._spectrum_canvas.create_cursors(x1, x2)

        # bring window to front
        self.parent().show()
        self.parent().setWindowState(self.windowState() & ~Qt.WindowMinimized | Qt.WindowActive)
        self.parent().activateWindow()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号