与主窗口一样,创建窗口是不够的,还必须显示它。 from PyQt5.QtWidgets import QApplication, QMainWindow, QPushButton, QLabel, QVBoxLayout, ...
確定! 回上一頁