标签:控件 col demo 窗口 alt 图片 == widgets des
import sys from PyQt5.QtWidgets import QApplication,QMainWindow import Ui_demoui if __name__ == "__main__": app = QApplication(sys.argv) mainWindow = QMainWindow() ui = Ui_demoui.Ui_MainWindow() # 向主窗口添加控件 ui.setupUi(mainWindow) mainWindow.show() sys.exit(app.exec_())
[python、VScode]PyQt5-designer-新建窗口2
标签:控件 col demo 窗口 alt 图片 == widgets des
原文地址:https://www.cnblogs.com/dandanduba/p/12448730.html