deep-wine-runner/wine/installwine.py

18 lines
530 B
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 本来是用C++写的但在非deepin/UOS编译/运行就是下载不了https文件只能用python重写
import sys
import PyQt5.QtWidgets as QtWidgets
import mainwindowui
# 继承至界面文件的主窗口类
class MyMainWindow(mainwindowui.Ui_MainWindow):
def __init__(self, parent=None):
#pass
super(MyMainWindow, self).__init__(parent)
#self.setupUi(self)
if __name__ == "__main__":
app = QtWidgets.QApplication(sys.argv)
window = MyMainWindow()
window.show()
app.exec_()