Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/yjg30737/pyqt-polygon-window
- Owner: yjg30737
- License: mit
- Created: 2022-01-11T23:51:22.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-05-13T22:22:56.000Z (almost 3 years ago)
- Last Synced: 2024-12-29T08:42:08.684Z (about 2 months ago)
- Topics: pyqt, pyqt-examples, pyqt-gui, pyqt-tutorial, pyqt5, pyqt5-examples, pyqt5-gui, pyqt5-tutorial, python, python3, python37, qpainter, qpolygon, qt
- Language: Python
- Homepage:
- Size: 11.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 PolygonWindowif __name__ == "__main__":
import sysapp = QApplication(sys.argv)
pw = PolygonWindow()
pw.show()
app.exec_()
```Result
![image](https://user-images.githubusercontent.com/55078043/149039804-c080d8fc-379e-4ba5-87c2-c64d53308f99.png)