Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
GT-Zhang f396b945b3 | 2 years ago | |
---|---|---|
.github/workflows | 2 years ago | |
ext | 2 years ago | |
ori_doc | 2 years ago | |
psd | 2 years ago | |
qgui | 2 years ago | |
source | 2 years ago | |
.gitignore | 2 years ago | |
LICENSE | 2 years ago | |
MANIFEST.in | 2 years ago | |
Makefile | 2 years ago | |
README.md | 2 years ago | |
make.bat | 2 years ago | |
requirements.txt | 2 years ago | |
setup.py | 2 years ago | |
todo.md | 2 years ago |
QGUI - 低于100k的超轻量桌面图形化框架,可通过几行代码、使用模板来快捷制作出属于你的图形化界面
当前版本为概念版本,如有需求或建议可在issue中提出。
项目名 | 项目描述 | GUI源码 |
---|---|---|
油画带师 | 基于飞桨PaddlePaddle的风格迁移工具,可将图片、视频转化为油画风格,支持GPU转换 | GUI源码 |
QWebsite | 为GitHub浏览与Clone提供加速能力,且非科学上网 | GUI源码 |
人像扣图 | 基于PaddleHub的人像扣图小工具 | GUI源码 |
完整案例 | QGUI的全部基础组件组成的案例 | GUI源码 |
通用方式 python -m pip install qgui
国内推荐 python -m pip install qgui -i https://mirrors.bfsu.edu.cn/pypi/web/simple
运行Demo/安装测试 python -m qgui
简单示例
from qgui import CreateQGUI
from qgui.banner_tools import BaseBarTool, GitHub
from qgui.notebook_tools import ChooseFileTextButton, RunButton
def click(args):
print("你点到我啦~")
print("输入框文字为:", args["文件选择"].get())
# 创建主界面
main_gui = CreateQGUI(title="一个新应用")
# 在界面最上方添加一个按钮,链接到GitHub主页
main_gui.add_banner_tool(GitHub("https://github.com/QPT-Family/QGUI"))
# 要不试试自定义Banner按钮?
main_gui.add_banner_tool(BaseBarTool(click, name="一个新组件"))
# 在主界面部分添加一个文件选择工具吧~
main_gui.add_notebook_tool(ChooseFileTextButton(name="文件选择"))
# 要不要再添加一个运行按钮?,绑定刚刚创建的函数吧~
main_gui.add_notebook_tool(RunButton(click))
# 简单加个简介
main_gui.set_navigation_about(author="GT",
version="0.0.1",
github_url="https://github.com/QPT-Family/QGUI",
other_info=["欢迎加入QPT!"])
# 跑起来~
main_gui.run()
目前组件还在逐步完善,随后就提供目录啦,可以先康一下完整案例
进阶教程和完整组件文档暂时还没有,先委屈一下看看源码吧~
上方Banner工具
左侧Navigation工具:main_gui.set_navigation_about()
and main_gui.set_navigation_info()
中央Notebook工具
No Description
Python Markdown reStructuredText Batchfile Makefile
Dear OpenI User
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.
For more agreement content, please refer to the《Openl Qizhi Community AI Collaboration Platform Usage Agreement》