Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yjg30737/pyqt-shadow-frame-window-example
PyQt shadow(+rounded) frame window example
https://github.com/yjg30737/pyqt-shadow-frame-window-example
frameless frameless-window pyqt pyqt-examples pyqt5 pyqt5-examples qt qt-examples qt5 rounded-window shadow-window windows11-gui
Last synced: about 1 hour ago
JSON representation
PyQt shadow(+rounded) frame window example
- Host: GitHub
- URL: https://github.com/yjg30737/pyqt-shadow-frame-window-example
- Owner: yjg30737
- License: mit
- Created: 2022-05-16T23:28:34.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-29T11:25:24.000Z (about 2 years ago)
- Last Synced: 2024-12-23T16:21:26.966Z (10 days ago)
- Topics: frameless, frameless-window, pyqt, pyqt-examples, pyqt5, pyqt5-examples, qt, qt-examples, qt5, rounded-window, shadow-window, windows11-gui
- Language: Python
- Homepage:
- Size: 26.4 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pyqt-shadow-frame-window-example
PyQt shadow(+rounded) frame window example.You can move and resize this.
Show the slight shadow around the window's border.
== 2022-07-27 ==
From v0.0.2, window's edges are rounded.
Should've changed the name as pyqt-shadow-rounded-frame-window or something but i'm kinda lazy so whatever.
== 2022-08-06 ==
From v0.0.3, window can be resized and moved by inheriting FramelessWindow in pyqt-frameless-window.
== 2022-09-04 ==
From v0.0.31(don't care about the version policy, just want to slow down), window's shadow and border disappear when window is full screen or maximized. They will reappear when window is back to normal.
## Requirements
* PyQt5 >= 5.15## Setup
`python -m pip install git+https://github.com/yjg30737/pyqt-shadow-frame-window-example.git --upgrade`## Included Package
* pyqt-frameless-window (v0.0.61, Legacy)## Example
Code Sample
```python
from PyQt5.QtWidgets import QApplication
from pyqt_shadow_frame_window_example import MainWindow, ShadowFrameif __name__ == "__main__":
import sysapp = QApplication(sys.argv)
widget = MainWindow()
window = ShadowFrame(widget)
window.show()
app.exec()
```Result
![image](https://user-images.githubusercontent.com/55078043/181148746-f65b0b34-8aed-443f-bf15-c1604d450dc1.png)
Inspired by Windows 11 GUI.