# Form implementation generated from reading ui file 'main.py'
#
# Created by: PyQt6 UI code generator 6.4.2
#
# WARNING: Any manual changes made to this file will be lost when pyuic6 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt6.QtWidgets import QApplication
from PyQt6 import uic
import sys
if __name__ == '__main__':
app = QApplication(sys.argv)
ui = uic.loadUi("./uitest/testui.ui")
ui.show()
sys.exit(app.exec())
pyQt显示设计好的界面
最新推荐文章于 2024-07-24 20:42:53 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)