pyqt-titlebar-buttons-widget
PyQt buttons (e.g. min/max/close) widget for title bar or menu bar
Requirements
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.