diff --git a/.gitignore b/.gitignore index f8b73e7..7ae802f 100644 --- a/.gitignore +++ b/.gitignore @@ -138,3 +138,4 @@ dmypy.json # Cython debug symbols cython_debug/ +.idea \ No newline at end of file diff --git a/data/lib_manager.db b/data/lib_manager.db new file mode 100644 index 0000000..e69de29 diff --git a/src/educoder/main.py b/src/educoder/main.py new file mode 100644 index 0000000..cb639c7 --- /dev/null +++ b/src/educoder/main.py @@ -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() \ No newline at end of file