PyQt buttons (e.g. min/max/close) widget for title bar or menu bar
Project description
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
Package Inherited by This
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.