-
ab123lic说:
给我一个pyside6代码
示例
from PySide6 import QtCore, QtWidgets app = QtWidgets.QApplication() window = QtWidgets.QWidget() window.setWindowTitle("My Window") window.resize(500, 500) label = QtWidgets.QLabel(window) label.setText("Hello World!") label.setGeometry(QtCore.QRect(100, 100, 300, 200)) window.show() app.exec_()