# 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 <a href="https://github.com/yjg30737/pyqt-custom-titlebar-window.git">pyqt-custom-titlebar-window</a>.
## Requirements
PyQt5 >= 5.15
## Setup
`python -m pip install pyqt-transparent-centralwidget-window`
## Included Package
* <a href="https://github.com/yjg30737/pyqt-custom-titlebar-window.git">pyqt-custom-titlebar-window</a> - Parent widget
## Example
Code Sample
```python
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

## Example by App
* <a href="https://github.com/yjg30737/pyqt-capturer.git">pyqt-capturer</a>
Raw data
{
"_id": null,
"home_page": "https://github.com/yjg30737/pyqt-transparent-centralwidget-window.git",
"name": "pyqt-transparent-centralwidget-window",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": null,
"author": "Jung Gyu Yoon",
"author_email": "yjg30737@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/47/d2/5e1c2da668c089cc4c82e91c14ea9c909b369f61cf33698c60b13704be7f/pyqt_transparent_centralwidget_window-0.0.13.tar.gz",
"platform": null,
"description": "\r\n# pyqt-transparent-centralwidget-window\r\n\r\nPyQt window which can set the QMainWindow as main widget and make central widget of QMainWindow transparent. Simply put, frame with no image.\r\n\r\n\r\n\r\nFrame will be removed when full screen is being activated.\r\n\r\n\r\n\r\nThis module directly inherits the <a href=\"https://github.com/yjg30737/pyqt-custom-titlebar-window.git\">pyqt-custom-titlebar-window</a>.\r\n\r\n\r\n\r\n## Requirements\r\n\r\nPyQt5 >= 5.15\r\n\r\n\r\n\r\n## Setup\r\n\r\n`python -m pip install pyqt-transparent-centralwidget-window`\r\n\r\n\r\n\r\n## Included Package\r\n\r\n* <a href=\"https://github.com/yjg30737/pyqt-custom-titlebar-window.git\">pyqt-custom-titlebar-window</a> - Parent widget\r\n\r\n\r\n\r\n## Example\r\n\r\nCode Sample\r\n\r\n```python\r\n\r\nfrom PyQt5.QtWidgets import QMainWindow, QMenuBar, QMenu, QApplication\r\n\r\nfrom pyqt_transparent_centralwidget_window import TransparentCentralWidgetWindow\r\n\r\n\r\n\r\n\r\n\r\nclass MainWindow(QMainWindow):\r\n\r\n def __init__(self):\r\n\r\n super().__init__()\r\n\r\n self.__initUi()\r\n\r\n\r\n\r\n def __initUi(self):\r\n\r\n menuBar = QMenuBar()\r\n\r\n filemenu = QMenu('File', self)\r\n\r\n menuBar.addMenu(filemenu)\r\n\r\n self.setMenuBar(menuBar)\r\n\r\n\r\n\r\n\r\n\r\nif __name__ == \"__main__\":\r\n\r\n import sys\r\n\r\n\r\n\r\n app = QApplication(sys.argv)\r\n\r\n example = TransparentCentralWidgetWindow(MainWindow())\r\n\r\n example.setButtons()\r\n\r\n example.show()\r\n\r\n app.exec_()\r\n\r\n```\r\n\r\n\r\n\r\nResult\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n## Example by App\r\n\r\n* <a href=\"https://github.com/yjg30737/pyqt-capturer.git\">pyqt-capturer</a>\r\n\r\n\r\n\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "PyQt window which can set the QMainWindow as main widget and make central widget of QMainWindow transparent. Simply put, frame with no image",
"version": "0.0.13",
"project_urls": {
"Homepage": "https://github.com/yjg30737/pyqt-transparent-centralwidget-window.git"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "aff5273c75c593afebc8fd2e05c898b63c342fd8621918be9d65d161d01c7e52",
"md5": "a679b9c942a68ad243553292b5e66be3",
"sha256": "2e8d3c9330afa5ca10abe7e0d06c78c574f9b08dd8ecae262f1e2de3fdfccec4"
},
"downloads": -1,
"filename": "pyqt_transparent_centralwidget_window-0.0.13-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a679b9c942a68ad243553292b5e66be3",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 3926,
"upload_time": "2024-09-15T02:27:05",
"upload_time_iso_8601": "2024-09-15T02:27:05.576506Z",
"url": "https://files.pythonhosted.org/packages/af/f5/273c75c593afebc8fd2e05c898b63c342fd8621918be9d65d161d01c7e52/pyqt_transparent_centralwidget_window-0.0.13-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "47d25e1c2da668c089cc4c82e91c14ea9c909b369f61cf33698c60b13704be7f",
"md5": "9c7cb2751a331a5422d0eaa4963775a1",
"sha256": "4eba5c9f7c1f300cfc7e2204c7f6af8ed55ea4cfd73e5219b675ef0f774e0cd8"
},
"downloads": -1,
"filename": "pyqt_transparent_centralwidget_window-0.0.13.tar.gz",
"has_sig": false,
"md5_digest": "9c7cb2751a331a5422d0eaa4963775a1",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3270,
"upload_time": "2024-09-15T02:27:07",
"upload_time_iso_8601": "2024-09-15T02:27:07.220789Z",
"url": "https://files.pythonhosted.org/packages/47/d2/5e1c2da668c089cc4c82e91c14ea9c909b369f61cf33698c60b13704be7f/pyqt_transparent_centralwidget_window-0.0.13.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-15 02:27:07",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "yjg30737",
"github_project": "pyqt-transparent-centralwidget-window",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "pyqt-transparent-centralwidget-window"
}