# dayu_widgets_overlay
[![python version](https://img.shields.io/pypi/pyversions/dayu-widgets-overlay)](https://img.shields.io/pypi/pyversions/dayu-widgets-overlay)
[![PyPI version](https://img.shields.io/pypi/v/dayu-widgets-overlay?color=green)](https://badge.fury.io/py/dauy_widgets_overlay)
![Downloads Status](https://img.shields.io/pypi/dw/dayu-widgets-overlay)
![License](https://img.shields.io/pypi/l/dayu-widgets-overlay)
![pypi format](https://img.shields.io/pypi/format/dayu-widgets-overlay)
[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/loonghao/dauy_widgets_overlay/graphs/commit-activity)
Python Qt Overlay Widget as a [dayu_widgets](https://github.com/phenom-films/dayu_widgets) plugin
## How it work
![designer](https://cdn.jsdelivr.net/gh/FXTD-odyssey/dayu_widgets_overlay@main/images/designer.png)
![demo](https://cdn.jsdelivr.net/gh/FXTD-odyssey/FXTD-odyssey.github.io@master/post_img/1ba28015/09.gif)
overlay the widget onto the other widget and resize together
much easy to add and maintain instead of create a New type of widget.
## How to use
```cmd
pip install dayu-widgets-overlay
```
```Python
from dayu_widgets_overlay import MOverlay
```
In Qt Designer, you can extend a QWidget into MOverlay
![designer](https://cdn.jsdelivr.net/gh/FXTD-odyssey/dayu_widgets_overlay@main/images/01.png)
## QtDesigner Property
`direction` : `E` `S` `W` `N`
`stretch` (optional - default: Auto) : `NoStretch` `Vertical` `Horizontal` `Center` `Auto`
![designer](https://cdn.jsdelivr.net/gh/FXTD-odyssey/dayu_widgets_overlay@main/images/02.png)
---
See my blog article for more details in chinese
https://blog.l0v0.com/posts/1ba28015.html
Raw data
{
"_id": null,
"home_page": "",
"name": "dayu-widgets-overlay2",
"maintainer": "",
"docs_url": null,
"requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*",
"maintainer_email": "",
"keywords": "PySide,PyQt,UI,PySide2,PyQt5,dayu_widgets",
"author": "timmyliang",
"author_email": "820472580@qq.com",
"download_url": "https://files.pythonhosted.org/packages/9e/7b/6f4fa4badb79ad8312eaf647d43fd3da758e7a7b261552c752539451f12b/dayu_widgets_overlay2-0.1.2.tar.gz",
"platform": null,
"description": "# dayu_widgets_overlay\n\n[![python version](https://img.shields.io/pypi/pyversions/dayu-widgets-overlay)](https://img.shields.io/pypi/pyversions/dayu-widgets-overlay)\n[![PyPI version](https://img.shields.io/pypi/v/dayu-widgets-overlay?color=green)](https://badge.fury.io/py/dauy_widgets_overlay)\n![Downloads Status](https://img.shields.io/pypi/dw/dayu-widgets-overlay)\n![License](https://img.shields.io/pypi/l/dayu-widgets-overlay)\n![pypi format](https://img.shields.io/pypi/format/dayu-widgets-overlay)\n[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/loonghao/dauy_widgets_overlay/graphs/commit-activity)\n\n\nPython Qt Overlay Widget as a [dayu_widgets](https://github.com/phenom-films/dayu_widgets) plugin\n\n## How it work\n\n![designer](https://cdn.jsdelivr.net/gh/FXTD-odyssey/dayu_widgets_overlay@main/images/designer.png)\n\n![demo](https://cdn.jsdelivr.net/gh/FXTD-odyssey/FXTD-odyssey.github.io@master/post_img/1ba28015/09.gif)\n\noverlay the widget onto the other widget and resize together\nmuch easy to add and maintain instead of create a New type of widget.\n\n## How to use\n\n```cmd\npip install dayu-widgets-overlay\n```\n\n```Python\nfrom dayu_widgets_overlay import MOverlay\n```\n\nIn Qt Designer, you can extend a QWidget into MOverlay\n![designer](https://cdn.jsdelivr.net/gh/FXTD-odyssey/dayu_widgets_overlay@main/images/01.png)\n\n\n## QtDesigner Property\n\n`direction` : `E` `S` `W` `N`\n\n`stretch` (optional - default: Auto) : `NoStretch` `Vertical` `Horizontal` `Center` `Auto`\n\n![designer](https://cdn.jsdelivr.net/gh/FXTD-odyssey/dayu_widgets_overlay@main/images/02.png)\n\n---\n\nSee my blog article for more details in chinese\n\nhttps://blog.l0v0.com/posts/1ba28015.html\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "dayu_widgets MOverlay Widget for QtDesigner(qtpy)",
"version": "0.1.2",
"project_urls": null,
"split_keywords": [
"pyside",
"pyqt",
"ui",
"pyside2",
"pyqt5",
"dayu_widgets"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "237dec7ceae9c8ebba8931c7be68ed534662f98bec567a8d519c20434a09446c",
"md5": "f2d1d3130795df90541fa80bf4ca43b5",
"sha256": "8bfe96bc34d2fff75008413d2ff8f2335155e5964256ed579a5a9898834b6f30"
},
"downloads": -1,
"filename": "dayu_widgets_overlay2-0.1.2-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "f2d1d3130795df90541fa80bf4ca43b5",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*",
"size": 5237,
"upload_time": "2023-08-18T08:17:55",
"upload_time_iso_8601": "2023-08-18T08:17:55.122397Z",
"url": "https://files.pythonhosted.org/packages/23/7d/ec7ceae9c8ebba8931c7be68ed534662f98bec567a8d519c20434a09446c/dayu_widgets_overlay2-0.1.2-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "9e7b6f4fa4badb79ad8312eaf647d43fd3da758e7a7b261552c752539451f12b",
"md5": "da08ff3e5c7a050a514d1d4379273adb",
"sha256": "e6ca61802a6a2d88c69271ca5b75a0a7151b35531f38c240f63ef9e553d2d026"
},
"downloads": -1,
"filename": "dayu_widgets_overlay2-0.1.2.tar.gz",
"has_sig": false,
"md5_digest": "da08ff3e5c7a050a514d1d4379273adb",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*",
"size": 4997,
"upload_time": "2023-08-18T08:17:56",
"upload_time_iso_8601": "2023-08-18T08:17:56.711918Z",
"url": "https://files.pythonhosted.org/packages/9e/7b/6f4fa4badb79ad8312eaf647d43fd3da758e7a7b261552c752539451f12b/dayu_widgets_overlay2-0.1.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-08-18 08:17:56",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "dayu-widgets-overlay2"
}