PyQt Windows titlebar buttons (e.g. min/max/close button) widget
- PyQt5 >= 5.8
python -m pip install pyqt-windows-buttons-widget
- pyqt-titlebar-buttons-widget - Parent widget
WindowsButtonsWidget(base_widget: QWidget, hint=['min', 'max', 'close'])
- Constructor. The argumentbase_widget
is used for matching the color of buttons withQWidget
(includingQMenuBar
)'s base color.getMinimizedBtn()
,getMaximizedBtn()
,getCloseBtn()
.- This module is used for pyqt-custom-titlebar-window's Windows style button. You can see the example of this module's usage on the documentation at the link above.