Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yjg30737/pyqt-titlebar-buttons-widget

PyQt buttons (e.g. min/max/close) widget for title bar or menu bar
https://github.com/yjg30737/pyqt-titlebar-buttons-widget

pyqt pyqt5 pyqt5-examples qpushbutton qt qwidget

Last synced: about 1 month ago
JSON representation

PyQt buttons (e.g. min/max/close) widget for title bar or menu bar

Awesome Lists containing this project

README

        

# pyqt-titlebar-buttons-widget
PyQt buttons (e.g. min/max/close) widget for title bar or menu bar

## Requirements
* PyQt5 >= 5.8

## Setup
`python -m pip install pyqt-titlebar-buttons-widget`

## Included Packages
* pyqt-svg-button

## Package Inherited by This
* pyqt-windows-buttons-widget
* pyqt-mac-buttons-widget

## Class, Methods Overview
* `TitlebarButtonsWidget(base_widget=None, hint=['min, 'max', 'close'])` - Constructor.
* `getMinimizedBtn()`, `getMaximizedBtn()`, `getCloseBtn()`. I belive these three methods are quite self-explanatory.
* `setButtonSize(w, h)`. Set the overall width/height, text/icon size of button.

## Note
This package was actually made for those two packages i mentioned. Reducing redundancy.

=== 2022/5/20 ===

I'm working on other features such as help/tack buttons.

I could be working on adding another widgets(e.g. search bar) beside the buttons. So far i'm only working on the button because that seems to be the most generic feature.