chore: scaffold PySide6 application
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
from PySide6.QtCore import Qt
|
||||
from PySide6.QtWidgets import QLabel, QMainWindow
|
||||
|
||||
from version import APP_NAME, APP_VERSION
|
||||
|
||||
|
||||
class MainWindow(QMainWindow):
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
self.setWindowTitle("{} v{}".format(APP_NAME, APP_VERSION))
|
||||
self.resize(1280, 720)
|
||||
|
||||
label = QLabel("自动合成印花服饰效果图工具\n\n工程骨架已创建")
|
||||
label.setAlignment(Qt.AlignCenter)
|
||||
self.setCentralWidget(label)
|
||||
|
||||
self.statusBar().showMessage("就绪")
|
||||
Reference in New Issue
Block a user