Skip to main content

Always-on-top overlays for PyQt and PySide, including when applications are full-screen.

Project description

PyOverlayKit

This package provides a customizable overlay for PySide6/PyQt6 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 PySide6.QtWidgets import QApplication, QLabel, QPushButton, QGridLayout
from PySide6.QtGui import QColor
from PyOverlayKit.overlay import Overlay

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.3.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

PyOverlayKit-0.3.0-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file PyOverlayKit-0.3.0.tar.gz.

File metadata

  • Download URL: PyOverlayKit-0.3.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.6

File hashes

Hashes for PyOverlayKit-0.3.0.tar.gz
Algorithm Hash digest
SHA256 e64142a7bb3d174a106cea886d97696cdf4ad631dccfbf521255aca321cb4063
MD5 0ca6bda3d801e756f508cd5f805aba05
BLAKE2b-256 371d0efddf17ded3e1346fe036e5612edd238750aa6425ff630f11069e97b063

See more details on using hashes here.

File details

Details for the file PyOverlayKit-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: PyOverlayKit-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.6

File hashes

Hashes for PyOverlayKit-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1db7d29f80e103668405e92d1c120c9e0b22e30f257c407046b6b0823e51f11d
MD5 8be8718cd14d5f8bb609ab1cb5edd94b
BLAKE2b-256 b23aedd1d22a225bbe88b9bdc3fe4939b9a98f4ff6e4445e8d67f46aaf2ad654

See more details on using hashes here.

Supported by

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