main.py 文件源码

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

项目:TWTools 作者: ZeX2 项目源码 文件源码
def download_function(self):
        self.downloadButton.setEnabled(False)
        self.downloadButton.setText("Downloading....")
        server = self.serverBox.currentText()
        world = self.worldBox.currentText()
        url = self.servers_dict[server][world]

        self.get_download_thread = DownloadThread(url)
        self.connect(self.get_download_thread, QtCore.SIGNAL("get_world_data(PyObject)"), self.get_world_data)
        self.connect(self.get_download_thread, QtCore.SIGNAL("download_error(PyObject)"), self.download_error)
        self.get_download_thread.start()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号