# pyqt-top-titlebar-widget
PyQt top title bar widget for frameless window
This package is made for <a href="https://github.com/yjg30737/pyqt-custom-titlebar-window.git">pyqt-custom-titlebar-window</a>'s title bar part. You can see the preview of this in the documentation at the link.
I don't recommend that you use this on your own class, But if you want to do it, try it and please teach me that it works well or not.
## Requirements
* PyQt5 >= 5.15
## Setup
`python -m pip install pyqt-top-titlebar-widget`
## Included Packages
* <a href="https://github.com/yjg30737/pyqt-svg-icon-text-widget.git">pyqt-svg-icon-text-widget</a>
## Methods Overview
* `TopTitleBarWidget(base_widget: QWidget, text: str = '', font: QFont = QFont('Arial', 14), icon_filename: str = None, align=Qt.AlignCenter)` - Constructor
* `setButtons(btnWidget, align=Qt.AlignRight)` - Set button widget(<a href="https://github.com/yjg30737/pyqt-titlebar-buttons-widget.git">pyqt-titlebar-buttons-widget</a>). `align` is to set alignment of buttons widget. Size of `font` should be at least 14.
* `setBottomSeparator()` - Set the `QFrame` type horizontal line separator which is used for the border between title bar and menu bar.
* `getIconTitleWidget() -> SvgIconTextWidget(QWidget)` - Get icon and title widget
* `getIconLbl() -> QLabel` - Get icon label
* `getTitleLbl() -> QLabel` - Get title label
* `getBtnWidget() -> TitleBarButtonsWidget` - Get buttons widget
Raw data
{
"_id": null,
"home_page": "https://github.com/yjg30737/pyqt-top-titlebar-widget.git",
"name": "pyqt-top-titlebar-widget",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "Jung Gyu Yoon",
"author_email": "yjg30737@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/67/59/7f59e570fc82881e8b058891304d41e39d4694a7e70316b7b0edd7e92f2e/pyqt-top-titlebar-widget-0.0.21.tar.gz",
"platform": null,
"description": "\n# pyqt-top-titlebar-widget\n\nPyQt top title bar widget for frameless window\n\n\n\nThis package is made for <a href=\"https://github.com/yjg30737/pyqt-custom-titlebar-window.git\">pyqt-custom-titlebar-window</a>'s title bar part. You can see the preview of this in the documentation at the link.\n\n\n\nI don't recommend that you use this on your own class, But if you want to do it, try it and please teach me that it works well or not.\n\n\n\n## Requirements\n\n* PyQt5 >= 5.15\n\n\n\n## Setup\n\n`python -m pip install pyqt-top-titlebar-widget`\n\n\n\n## Included Packages\n\n* <a href=\"https://github.com/yjg30737/pyqt-svg-icon-text-widget.git\">pyqt-svg-icon-text-widget</a>\n\n\n\n## Methods Overview\n\n* `TopTitleBarWidget(base_widget: QWidget, text: str = '', font: QFont = QFont('Arial', 14), icon_filename: str = None, align=Qt.AlignCenter)` - Constructor\n\n* `setButtons(btnWidget, align=Qt.AlignRight)` - Set button widget(<a href=\"https://github.com/yjg30737/pyqt-titlebar-buttons-widget.git\">pyqt-titlebar-buttons-widget</a>). `align` is to set alignment of buttons widget. Size of `font` should be at least 14. \n\n* `setBottomSeparator()` - Set the `QFrame` type horizontal line separator which is used for the border between title bar and menu bar.\n\n* `getIconTitleWidget() -> SvgIconTextWidget(QWidget)` - Get icon and title widget\n\n* `getIconLbl() -> QLabel` - Get icon label\n\n* `getTitleLbl() -> QLabel` - Get title label\n\n* `getBtnWidget() -> TitleBarButtonsWidget` - Get buttons widget\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "PyQt top title bar widget for frameless window",
"version": "0.0.21",
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "264891cadc44f7c9a43a172ab92882530f77bc71337124aa37753e49181f6452",
"md5": "91e8746eadbef863e29e4df64886e134",
"sha256": "86fb370f3c71b7224714a3880b8f5f900586be0ab9a3b2772165cf87b1fe6b0f"
},
"downloads": -1,
"filename": "pyqt_top_titlebar_widget-0.0.21-py3-none-any.whl",
"has_sig": false,
"md5_digest": "91e8746eadbef863e29e4df64886e134",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 4327,
"upload_time": "2023-01-12T10:34:57",
"upload_time_iso_8601": "2023-01-12T10:34:57.953669Z",
"url": "https://files.pythonhosted.org/packages/26/48/91cadc44f7c9a43a172ab92882530f77bc71337124aa37753e49181f6452/pyqt_top_titlebar_widget-0.0.21-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "67597f59e570fc82881e8b058891304d41e39d4694a7e70316b7b0edd7e92f2e",
"md5": "18276e850c7b6fd18c42613f9cab0788",
"sha256": "d787f2da5ccf2cfcc8769b5f8835c63efa852299062f80b59dd9894bfb7c9b2a"
},
"downloads": -1,
"filename": "pyqt-top-titlebar-widget-0.0.21.tar.gz",
"has_sig": false,
"md5_digest": "18276e850c7b6fd18c42613f9cab0788",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3455,
"upload_time": "2023-01-12T10:35:00",
"upload_time_iso_8601": "2023-01-12T10:35:00.835268Z",
"url": "https://files.pythonhosted.org/packages/67/59/7f59e570fc82881e8b058891304d41e39d4694a7e70316b7b0edd7e92f2e/pyqt-top-titlebar-widget-0.0.21.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-01-12 10:35:00",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "yjg30737",
"github_project": "pyqt-top-titlebar-widget.git",
"lcname": "pyqt-top-titlebar-widget"
}