Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yjg30737/pyqt-windows-buttons-widget
PyQt Windows titlebar buttons (e.g. min/max/close button) widget
https://github.com/yjg30737/pyqt-windows-buttons-widget
pyqt pyqt-examples pyqt5 pyqt5-examples pyqt5-tutorial python python3 python37 qpushbutton qt windows windows-titlebar windows10 windows10-gui windows10-titlebar windows10-ui
Last synced: 5 days ago
JSON representation
PyQt Windows titlebar buttons (e.g. min/max/close button) widget
- Host: GitHub
- URL: https://github.com/yjg30737/pyqt-windows-buttons-widget
- Owner: yjg30737
- License: mit
- Created: 2022-02-16T09:47:02.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-06-08T04:56:19.000Z (over 2 years ago)
- Last Synced: 2024-11-12T22:38:27.894Z (about 2 months ago)
- Topics: pyqt, pyqt-examples, pyqt5, pyqt5-examples, pyqt5-tutorial, python, python3, python37, qpushbutton, qt, windows, windows-titlebar, windows10, windows10-gui, windows10-titlebar, windows10-ui
- Language: Python
- Homepage:
- Size: 61.5 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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'])` - 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.