Metadata-Version: 2.1
Name: pyqt-windows-buttons-widget
Version: 0.0.1
Summary: PyQt Windows titlebar buttons (e.g. min/max/close button) widget
Home-page: https://github.com/yjg30737/pyqt-windows-buttons-widget.git
Author: Jung Gyu Yoon
Author-email: yjg30737@gmail.com
License: MIT
Platform: UNKNOWN
Description-Content-Type: text/markdown
License-File: LICENSE


# 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

* <a href="https://github.com/yjg30737/pyqt-titlebar-buttons-widget.git">pyqt-titlebar-buttons-widget</a> - Parent widget



## Usage

* `WindowsButtonsWidget(base_widget: QWidget, hint=['min', 'max', 'close'], font=QFont('Arial', 12))` - Constructor. The argument ```base_widget``` is used for matching the color of buttons with ```QWidget```(including ```QMenuBar```)'s base color. ```font``` argument is the font of each button's text.

* ```getMinimizedBtn()```, ```getMaximizedBtn()```, ```getCloseBtn()```.

* This module is used for <a href="https://github.com/yjg30737/pyqt-custom-titlebar-window.git">pyqt-custom-titlebar-window</a>'s Windows style button. You can see the example of this module's usage on the documentation at the link above.



