Skip to main content

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


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)

Uploaded Source

Built Distribution

PyOverlayKit-0.2.0-py3-none-any.whl (3.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page