dayu-widgets-0.9.1
توضیحات
Components for PySide/PyQt.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | dayu-widgets-0.9.1 |
| نام | dayu-widgets |
| نسخه کتابخانه | 0.9.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | muyr |
| ایمیل نویسنده | muyr@phenom-films.com |
| آدرس صفحه اصلی | https://github.com/phenom-films/dayu_widgets |
| آدرس اینترنتی | https://pypi.org/project/dayu-widgets/ |
| مجوز | MIT |
# 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 -->
[](#contributors-)
<!-- ALL-CONTRIBUTORS-BADGE:END -->
</p>
Components for PySide
主要参考了 [AntDesign](https://ant.design/) 组件库,其他参考了 [iView](https://www.iviewui.com/) 组件库,微信基础组件。
更多在此基础上的组件插件:
* [dayu_widgets_tag](https://github.com/muyr/dayu_widgets_tag): [中文](https://muyr.github.io/dayu_widgets_tag/#/zh-cn/) | [EN](https://muyr.github.io/dayu_widgets_tag/#/)
* [dayu_widgets_log](https://github.com/muyr/dayu_widgets_log): [中文](https://muyr.github.io/dayu_widgets_log/#/zh-cn/) | [EN](https://muyr.github.io/dayu_widgets_log/#/)
* [dayu_widgets_overlay](https://github.com/FXTD-ODYSSEY/dayu_widgets_overlay)
提供**亮色(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
``
## 安装依赖
```shell
poetry install
```
## 运行单元测试
```shell
poetry run pytest
```
## 运行 black检查
```shell
poetry run black dayu_widgets
```
## 运行isort
```shell
poetry run isort dayu_widgets
```
## 提交代码
```shell
poetry run cz commit
```
## Contributors ✨
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/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 -->
نیازمندی
| مقدار | نام |
|---|---|
| >=1.16.0,<2.0.0 | six |
| >=3.7.0,<4.0.0) | singledispatch |
| >=1.3.6,<2.0.0 | Qt.py |
| >=0.5.2,<0.6.0 | dayu-path |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.* | Python |
نحوه نصب
نصب پکیج whl dayu-widgets-0.9.1:
pip install dayu-widgets-0.9.1.whl
نصب پکیج tar.gz dayu-widgets-0.9.1:
pip install dayu-widgets-0.9.1.tar.gz