Metadata-Version: 2.1
Name: dayu-widgets-overlay
Version: 0.1.1
Summary: dayu_widgets MOverlay Widget for QtDesigner
License: MIT
Keywords: PySide,PyQt,UI,PySide2,PyQt5,dayu_widgets
Author: timmyliang
Author-email: 820472580@qq.com
Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: Qt.py (>=1.3.6,<2.0.0)
Requires-Dist: dayu-path (>=0.5.2,<0.6.0)
Requires-Dist: singledispatch (>=3.7.0,<4.0.0); python_version == "2.7"
Requires-Dist: six (>=1.16.0,<2.0.0)
Description-Content-Type: text/markdown

# dayu_widgets_overlay

Python Qt Overlay Widget as a [dayu_widgets](https://github.com/phenom-films/dayu_widgets) plugin

## How it work

![designer](./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](./images/01.png)


## QtDesigner Property

`direction` : `E` `S` `W` `N`

`stretch` (optional - default: Auto) : `NoStretch` `Vertical` `Horizontal` `Center` `Auto`

![designer](./images/02.png)

---

See my blog article for more details in chinese

https://blog.l0v0.com/posts/1ba28015.html

