A PyQt package for creating customizable always-on-top overlays, including when applications are full-screen.
Project description
PyOverlayKit
This package provides a customizable overlay for PyQt applications, allowing you to create always-on-top windows with adjustable background colors, transparency, and layouts. Specifically, this package allows these overlays to stay on top of full-screened applications.
Installation
You can install the package using pip:
pip install PyOverlayKit
Example Usage
from PyQt6.QtWidgets import QApplication, QLabel, QPushButton, QGridLayout
from PyOverlayKit.overlay import Overlay
from PyQt6.QtGui import QColor
app = QApplication([])
overlay = Overlay()
overlay.set_background_color(QColor(0, 255, 0, 150)) # Green with 150 transparency
overlay.set_geometry(100, 100, 400, 200)
grid_layout = QGridLayout()
overlay.setLayout(grid_layout)
label1 = QLabel("Label 1")
button1 = QPushButton("Button 1")
grid_layout.addWidget(label1, 0, 0)
grid_layout.addWidget(button1, 0, 1)
overlay.show()
app.exec()
Contributing
Contributions are welcome. Please fork the repository and submit a pull request.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
PyOverlayKit-0.2.0.tar.gz
(3.2 kB
view hashes)
Built Distribution
Close
Hashes for PyOverlayKit-0.2.0-py3-none-any.whl
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 | c4c39b3b3f3e4ed1a9cd8f6c89a7173f19a52e121bf13e3bbc75e02c30416c2a |
|
| MD5 | d01a1e956957f63e4001695748b1e6d5 |
|
| BLAKE2b-256 | 7fbe0db93db4f2a45cb245cc26bdfba126305a54cf8e4f785c6f071e4cdd49d6 |