from PyQt6.QtWidgets import QApplication, QWidget, QLabel
import sys
from uitest import testui
app = QApplication(sys.argv)
window = QWidget()
window.setWindowTitle("程序")
window.resize(1000, 800)
lb = QLabel()
lb.setParent(window)
lb.setText("测试")
lb.move(80, 80)
lb.resize(200, 100)
lb.setStyleSheet("background-color:red;padding:10px")
window.show()
sys.exit(app.exec())