Skip to content

PyQt Windows titlebar buttons (e.g. min/max/close button) widget

License

Notifications You must be signed in to change notification settings

yjg30737/pyqt-windows-buttons-widget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyqt-windows-buttons-widget

PyQt Windows titlebar buttons (e.g. min/max/close button) widget

Requirements

  • PyQt5 >= 5.8

Setup

python -m pip install pyqt-windows-buttons-widget

Imported Package

Usage

  • WindowsButtonsWidget(base_widget: QWidget, hint=['min', 'max', 'close']) - Constructor. The argument base_widget is used for matching the color of buttons with QWidget(including QMenuBar)'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.