Awesome
dayu_widgets
<p align="center"> <a href="https://img.shields.io/pypi/pyversions/dayu_widgets"> <img src="https://img.shields.io/pypi/pyversions/dayu_widgets" alt="python version"></a> <a href="https://badge.fury.io/py/dayu_widgets"> <img src="https://img.shields.io/pypi/v/dayu_widgets?color=green" alt="PyPI version"></a> <img src="https://img.shields.io/pypi/dw/dayu_widgets" alt="Downloads Status"> <img src="https://img.shields.io/pypi/l/dayu_widgets" alt="License"> <img src="https://img.shields.io/pypi/format/dayu_widgets" alt="pypi format"> <img src="https://img.shields.io/badge/Maintained%3F-yes-green.svg" alt="Maintenance"></a> <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section --> <!-- ALL-CONTRIBUTORS-BADGE:END --> </p>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
如何贡献代码
安装poetry
shell pip install poetry
安装依赖
poetry install
运行单元测试
poetry run pytest
运行 black检查
poetry run black dayu_widgets
运行isort
poetry run isort dayu_widgets
提交代码
poetry run cz commit
Contributors ✨
Thanks goes to these wonderful people (emoji key):
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --> <!-- prettier-ignore-start --> <!-- markdownlint-disable --> <table> <tr> <td align="center"><a href="https://github.com/muyr"><img src="https://avatars.githubusercontent.com/u/1860334?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Yanru Mu</b></sub></a><br /><a href="https://github.com/phenom-films/dayu_widgets/commits?q=author%3Yanru Mu" itle="Code">💻</a></td> <td align="center"><a href="https://github.com/loonghao"><img src="https://avatars1.githubusercontent.com/u/13111745?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Hal</b></sub></a><br /><a href="https://github.com/phenom-films/dayu_widgets/commits?author=loonghao" title="Code">💻</a></td> <td align="center"><a href="https://github.com/FXTD-ODYSSEY"><img src="https://avatars.githubusercontent.com/u/40897360?v=4?s=100" width="100px;" alt=""/><br /><sub><b>FXTD-ODYSSEY</b></sub></a><br /><a href="https://github.com/phenom-films/dayu_widgets/commits?author=FXTD-ODYSSEY" title="Code">💻</a></td> </tr> </table> <!-- markdownlint-restore --> <!-- prettier-ignore-end --> <!-- ALL-CONTRIBUTORS-LIST:END -->