Home

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

<!-- ALL-CONTRIBUTORS-BADGE:END --> </p>

Components for PySide

主要参考了 AntDesign 组件库,其他参考了 iView 组件库,微信基础组件。

更多在此基础上的组件插件:

提供亮色(light)暗色(dark) 两种主题,每种主题可以设置主题颜色。 以下截图以:

General

MPushButton(<- QPushButton)

pagerespageres

MLabel (<- QLabel)

pagerespageres

MLoading (<- QWidget)

pagerespageres

MToolButton (<- QToolButton)

pagerespageres

Navigation

MBreadcrumb (<- QWidget)

pagerespageres

MMenuTabWidget (<- QWidget)

pagerespageres

MPage (<- QWidget)

pagerespageres

Data Entry

MCheckBox <- QCheckBox

pagerespageres

MClickBrowserFilePushButton <- MPushButton

MClickBrowserFileToolButton <- MToolButton

MClickBrowserFolderPushButton <- MPushButton

MClickBrowserFolderToolButton <- MToolButton

MDragFileButton <- MToolButton

MDragFolderButton <- MToolButton

pagerespageres

MLineEdit <- QLineEdit

pagerespageres

MRadioButton <- QRadioButton

pagerespageres

MSwitch <- QRadioButton

pagerespageres

MSilder <- QSlider

pagerespageres

MSpinBox <- QSpinBox

MDoubleSpinBox <- QDoubleSpinBox

MDateTimeEdit <- QDateTimeEdit

MDateEdit <- QDateEdit

MTimeEdit <- QTimeEdit

pagerespageres

Data Display

MAvatar <- QLabel

pagerespageres

MBadge <- QWidget

pagerespageres

MCarousel <- QGraphicsView

pagerespageres

MCard <- QWidget

pagerespageres

MCollapse <- QWidget

pagerespageres

MLineTabWidget <- QWidget

pagerespageres

MTag <- QLabel

MCheckableTag <- QCheckBox

MNewTag <- QWidget

pagerespageres

Feedback

MAlert <- QWidget

pagerespageres

MDrawer <- QWidget

pagerespageres

MMessage <- QWidget

pagerespageres

MProgressBar <- QProgressBar

pagerespageres

MProgressCircle <- QProgressBar

pagerespageres

MToast <- QWidget

pagerespageres

Other

MDivider <- QWidget

pagerespageres

如何贡献代码

安装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 -->