pyqt应用程序框架
winterstone的Python项目详细描述
关于
Winterstone–PYQT应用程序的框架。
功能
- 申请模板
- 一些预定义的用户界面
- 设置管理器
- 插件
- 开发工具
快速启动
- 安装
- 运行winter_admin.py new appname(用简单的应用程序创建appname dir)
- 用数据填充appname/config/main.cfg
- 运行appname/main.py
- 有关其他信息,请参见docs文件夹和main.py的源文件
项目文件夹结构
. ├── config │ ├── debug.cfg -- options of debug widget (WinterDebug) │ ├── main.cfg -- options of application. use this file for your settings │ └── plugins.cfg -- list of active plugins. do not edit ├── etc │ └── pre-commit -- hook for git. do winter_ver.py before commit (bump version in main.cfg) ├── icons -- some icons. place your icons here ├── plugins -- usful examples of plugins │ ├── QSciConfig │ │ ├── plugin.cfg │ │ └── QSciConfig.py │ └── UIConfig │ ├── plugin.cfg │ └── UIConfig.py ├── ABOUT -- information about your application ├── core.py -- main logic of your app ├── __init__.py ├── LICENSE ├── main.py -- main executable file. all UI logic here └── TODO
库结构
. ├── base.py -- base classes of library ├── baseQt.py -- base classes of UI ├── extraQt.py -- some extra widgets ├── snowflake.py -- small useful functions └── winterBug.py -- all about debug widget
依赖关系
python配置:
http://www.red-dove.com/config-doc/ install: sudo pip install config or sudo easy_install config
python kde:
**optional** requires for color comboboxes in settings manager install: sudo apt-get install python-kde
Pythonqscintria2:
**optional** requires for dev tools install: sudo apt-get install python-qscintilla2