Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yjg30737/pyqt-titlebar-buttons-widget
PyQt buttons (e.g. min/max/close) widget for title bar or menu bar
https://github.com/yjg30737/pyqt-titlebar-buttons-widget
pyqt pyqt5 pyqt5-examples qpushbutton qt qwidget
Last synced: about 1 month ago
JSON representation
PyQt buttons (e.g. min/max/close) widget for title bar or menu bar
- Host: GitHub
- URL: https://github.com/yjg30737/pyqt-titlebar-buttons-widget
- Owner: yjg30737
- License: mit
- Created: 2022-02-16T12:10:12.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-24T02:05:33.000Z (about 2 years ago)
- Last Synced: 2024-12-23T16:21:03.762Z (about 2 months ago)
- Topics: pyqt, pyqt5, pyqt5-examples, qpushbutton, qt, qwidget
- Language: Python
- Homepage:
- Size: 65.4 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pyqt-titlebar-buttons-widget
PyQt buttons (e.g. min/max/close) widget for title bar or menu bar## Requirements
* PyQt5 >= 5.8## Setup
`python -m pip install pyqt-titlebar-buttons-widget`## Included Packages
* pyqt-svg-button## Package Inherited by This
* pyqt-windows-buttons-widget
* pyqt-mac-buttons-widget## Class, Methods Overview
* `TitlebarButtonsWidget(base_widget=None, hint=['min, 'max', 'close'])` - Constructor.
* `getMinimizedBtn()`, `getMaximizedBtn()`, `getCloseBtn()`. I belive these three methods are quite self-explanatory.
* `setButtonSize(w, h)`. Set the overall width/height, text/icon size of button.## Note
This package was actually made for those two packages i mentioned. Reducing redundancy.=== 2022/5/20 ===
I'm working on other features such as help/tack buttons.
I could be working on adding another widgets(e.g. search bar) beside the buttons. So far i'm only working on the button because that seems to be the most generic feature.