Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yjg30737/pyqt-polygon-window

PyQt polygon window
https://github.com/yjg30737/pyqt-polygon-window

pyqt pyqt-examples pyqt-gui pyqt-tutorial pyqt5 pyqt5-examples pyqt5-gui pyqt5-tutorial python python3 python37 qpainter qpolygon qt

Last synced: about 1 month ago
JSON representation

PyQt polygon window

Awesome Lists containing this project

README

        

# pyqt-polygon-window
PyQt polygon window

## Requirements
PyQt5 >= 5.8

## Setup
`python -m pip install pyqt-polygon-window`

## Included packages
pyqt-resource-helper

## Feature
* `setBorderWidth(width: int)`
* `setCornerLength(corner_length: int)`

## Example
Code Sample
```python
from PyQt5.QtWidgets import QApplication
from pyqt_polygon_window import PolygonWindow

if __name__ == "__main__":
import sys

app = QApplication(sys.argv)
pw = PolygonWindow()
pw.show()
app.exec_()
```

Result

![image](https://user-images.githubusercontent.com/55078043/149039804-c080d8fc-379e-4ba5-87c2-c64d53308f99.png)