Skip to main content

pyqt-transparent-centralwidget-window

PyQt window which can set the QMainWindow as main widget and make central widget of QMainWindow transparent. Simply put, frame with no image.

Frame will be removed when full screen is being activated.

This module directly inherits the pyqt-custom-titlebar-window.

Requirements

PyQt5 >= 5.15

Setup

python -m pip install pyqt-transparent-centralwidget-window

Included Package

Example

Code Sample

from PyQt5.QtWidgets import QMainWindow, QMenuBar, QMenu, QApplication

from pyqt_transparent_centralwidget_window import TransparentCentralWidgetWindow





class MainWindow(QMainWindow):

    def __init__(self):

        super().__init__()

        self.__initUi()



    def __initUi(self):

        menuBar = QMenuBar()

        filemenu = QMenu('File', self)

        menuBar.addMenu(filemenu)

        self.setMenuBar(menuBar)





if __name__ == "__main__":

    import sys



    app = QApplication(sys.argv)

    example = TransparentCentralWidgetWindow(MainWindow())

    example.setButtons()

    example.show()

    app.exec_()

Result

image

Example by App

Metadata

Release files for pyqt-transparent-centralwidget-window 0.0.13

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyqt-transparent-centralwidget-window 0.0.13
File Size Uploaded
pyqt_transparent_centralwidget_window-0.0.13.tar.gz 3.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyqt-transparent-centralwidget-window 0.0.13
File Interpreter ABI Platform
pyqt_transparent_centralwidget_window-0.0.13-py3-none-any.whl Python 3 none any Details

Total release size: 7.2 kB

Release files / pyqt_transparent_centralwidget_window-0.0.13.tar.gz

Download URL pyqt_transparent_centralwidget_window-0.0.13.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
4eba5c9f7c1f300cfc7e2204c7f6af8ed55ea4cfd73e5219b675ef0f774e0cd8
BLAKE2b-256 checksum
How to use checksums
47d25e1c2da668c089cc4c82e91c14ea9c909b369f61cf33698c60b13704be7f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.2

Release files / pyqt_transparent_centralwidget_window-0.0.13-py3-none-any.whl

Download URL pyqt_transparent_centralwidget_window-0.0.13-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2e8d3c9330afa5ca10abe7e0d06c78c574f9b08dd8ecae262f1e2de3fdfccec4
BLAKE2b-256 checksum
How to use checksums
aff5273c75c593afebc8fd2e05c898b63c342fd8621918be9d65d161d01c7e52
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.2

Release history Release notifications | RSS feed

This release

0.0.13 This release

2 release files

0.0.12

2 release files

0.0.11

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page