budget/README.md
2023-05-23 18:06:46 +08:00

43 lines
911 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

### 技术栈
- 语言: Python
- 库:
- PyQt6: 程序界面
- psycopg2: 连接 Postgres 数据库
- json处理 json 格式
- 数据库: PostgreSQL
### 部署方法
```
pip install -r requirements.text
```
### 启动方法
```
python src/main.py
```
### 开发方法
用 VS Code 打开 `src` 文件夹,通过边栏里的“调试”窗口运行。逻辑都在 `budget` 模块里。
### 模块说明
程序界面分为主装口和多个菜单栏(`TabPage`)。
每个菜单栏类中包括界面初始化和槽连接的逻辑。
类的继顺序为 菜单栏 -> `TabPage` (在 `_tab.py` 里) -> `QWidget`
预计应该有这样的几个页面:
- [x] 数据库连接(已经写了)
- [ ] 账户管理(没写完)
- [ ] 账目分类管理(没写完)
- [ ] 记录管理(没开始写)
- [ ] 统计页面(没开始写)
已经写了不少了照葫芦画瓢总能画吧