PyQt buttons (e.g. min/max/close) widget for title bar or menu bar
- PyQt5 >= 5.8
python -m pip install pyqt-titlebar-buttons-widget
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.
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.