pyqt5 极简窗口设置

'''
pyqt5 极简窗口设置 by 郑瑞国
'''
import sys
from PyQt5.QtWidgets import QWidget, QLabel, QApplication

app = QApplication(sys.argv)

w = QWidget()
w.resize(650,450)
w.move(300,100)
w.setWindowTitle('窗口设置')
w.show()

sys.exit(app.exec_())

 

你可能感兴趣的:(pyqt5 极简窗口设置)