parent
a43ebcf2cc
commit
b0238ee03c
@ -0,0 +1,18 @@
|
||||
from PySide6.QtWidgets import *
|
||||
import sqlite3
|
||||
|
||||
class Window:
|
||||
def __init__(self):
|
||||
# 初始化窗口
|
||||
self.win = QMainWindow()
|
||||
self.win.resize(500, 400)
|
||||
self.win.move(700, 210)
|
||||
self.win.setWindowTitle("测试窗口")
|
||||
|
||||
if __name__ == '__main__':
|
||||
conn = sqlite3.connect('../../data/lib_manager.db')
|
||||
|
||||
app = QApplication([])
|
||||
w = Window()
|
||||
w.win.show()
|
||||
app.exec()
|
Loading…
Reference in new issue