dayu_widgets
AI Assistant Integration: This project is integrated with Context7, allowing AI assistants to access up-to-date documentation and examples. Try prompts like:
帮我创建一个dayu_widgets的进度条, use context7
Components for PySide
主要参考了 AntDesign 组件库,其他参考了 iView 组件库,微信基础组件。
更多在此基础上的组件插件:
提供亮色(light) 和 暗色(dark) 两种主题,每种主题可以设置主题颜色。 以下截图以:
- 亮色 #1890ff
- 暗色 #fa8c16
General
MPushButton(<- QPushButton)
MLabel (<- QLabel)
MLoading (<- QWidget)
MToolButton (<- QToolButton)
Navigation
MBreadcrumb (<- QWidget)
MMenuTabWidget (<- QWidget)
MPage (<- QWidget)
Data Entry
MCheckBox <- QCheckBox
MClickBrowserFilePushButton <- MPushButton
MClickBrowserFileToolButton <- MToolButton
MClickBrowserFolderPushButton <- MPushButton
MClickBrowserFolderToolButton <- MToolButton
MDragFileButton <- MToolButton
MDragFolderButton <- MToolButton
MLineEdit <- QLineEdit
MRadioButton <- QRadioButton
MSwitch <- QRadioButton
MSilder <- QSlider
MSpinBox <- QSpinBox
MDoubleSpinBox <- QDoubleSpinBox
MDateTimeEdit <- QDateTimeEdit
MDateEdit <- QDateEdit
MTimeEdit <- QTimeEdit
Data Display
MAvatar <- QLabel
MBadge <- QWidget
MCarousel <- QGraphicsView
MCard <- QWidget
MCollapse <- QWidget
MLineTabWidget <- QWidget
MTag <- QLabel
MCheckableTag <- QCheckBox
MNewTag <- QWidget
Feedback
MAlert <- QWidget
MDrawer <- QWidget
MMessage <- QWidget
MProgressBar <- QProgressBar
MProgressCircle <- QProgressBar
MToast <- QWidget
Other
MDivider <- QWidget
使用方法
安装
pip install dayu_widgets
运行示例程序
安装后,可以通过以下命令直接运行示例程序。注意,运行示例程序需要 Qt 环境(如 PySide2 或 PyQt5):
# 使用 Python 模块方式运行(需要先安装 PySide2 或 PyQt5)
python -m dayu_widgets
# 使用 uvx 命令行工具运行(推荐方式,自动处理依赖)
uvx --python 3.10 --with pyside2 dayu_widgets
注意:dayu_widgets 是一个 Qt 界面库,运行示例程序需要 Qt 环境。使用
uvx命令时可以通过--with pyside2参数自动处理 Qt 依赖。
如何贡献代码
安装poetry
pip install poetry
安装依赖
poetry install
运行单元测试
poetry run pytest
运行 black检查
poetry run black dayu_widgets
运行isort
poetry run isort dayu_widgets
提交代码
poetry run cz commit
Context7 Integration
This project includes a llms.txt file that provides code examples and documentation for AI assistants and LLMs through Context7. The file is automatically generated from the examples in the examples/ directory.
To manually generate the llms.txt file, run:
python scripts/generate_llms_txt.py
Contributors ✨
Thanks goes to these wonderful people (emoji key):
Yanru Mu 💻 |
Hal 💻 |
FXTD-ODYSSEY 💻 |
Release files for dayu-widgets 1.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dayu_widgets-1.1.1.tar.gz | 225.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dayu_widgets-1.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 510.0 kB
Release files / dayu_widgets-1.1.1.tar.gz
| Download URL | dayu_widgets-1.1.1.tar.gz |
|---|---|
| Size | 225.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
535b19951aeab11790ed66783d295d8acd6f57988d8ca5b96df93a07990d3f70
|
|
BLAKE2b-256 checksum How to use checksums |
8f1922ad9be883308ea04f07ffd1a6280db2a58b14ef9c06f8b3898ca36c1292
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 28, 2025.
Transparency logRelease files / dayu_widgets-1.1.1-py3-none-any.whl
| Download URL | dayu_widgets-1.1.1-py3-none-any.whl |
|---|---|
| Size | 284.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
633f350451a1cdf1ef61d746e1c2e9b95128cb01a2947f6394d2dbe29ab9a8e6
|
|
BLAKE2b-256 checksum How to use checksums |
7fe276a84fabc7ca7630a3c1ff36d129b5d8c385005617786ef756362a53d205
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 28, 2025.
Transparency log