PyQt Windows titlebar buttons (e.g. min/max/close button) widget
Project description
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
- pyqt-titlebar-buttons-widget - Parent widget
Usage
-
WindowsButtonsWidget(base_widget: QWidget, hint=['min', 'max', 'close'], font=QFont('Arial', 12))
- Constructor. The argumentbase_widget
is used for matching the color of buttons withQWidget
(includingQMenuBar
)'s base color.font
argument is the font of each button's text. -
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pyqt-windows-buttons-widget-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17ac2f1084339956d037662a3905f20cf139ee106032fa8f18cb3a6d76b6ef48 |
|
MD5 | b221dfa2a8bca6a93b4706dbcd7d4890 |
|
BLAKE2b-256 | 404fc047116c26fd70cefd05d02509488b2d12212dd377b2e57d5067a4a976d2 |
Hashes for pyqt_windows_buttons_widget-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3238cbcc53d4b5a9c457821abca4e0209c42ae0ae80c45e0c5d0f6458c8fbda9 |
|
MD5 | 79047bb40e49dfc5af3a5537a39557a1 |
|
BLAKE2b-256 | 0189c3e37701ed52dd604a44d3d7fa8873be92e5bd883f5f4f4f70198784957a |