pyqt-mac-buttons-widget
PyQt macOS style of titlebar buttons (e.g. min/max/close) widget
Requirements
- PyQt5 >= 5.8
Setup
python -m pip install pyqt-mac-buttons-widget
Included Package
- pyqt-titlebar-buttons-widget - Parent widget
Method Overview
-
MacButtonsWidget(base_widget=None, hint=['min', 'max', 'close']))- Constructor. -
getMinimizedBtn(),getMaximizedBtn(),getCloseBtn(). I belive these three methods are quite self-explanatory. -
This module is used for pyqt-custom-titlebar-window's macOS style button. You can see the example of this module's usage on the documentation at the link above.. later.
Example
This example is just to show how it looks.
from PyQt5.QtWidgets import QApplication
from pyqt_mac_buttons_widget import MacButtonsWidget
if __name__ == "__main__":
import sys
app = QApplication(sys.argv)
widget = MacButtonsWidget()
widget.show()
app.exec_()
Result
Metadata
Release files for pyqt-mac-buttons-widget 0.0.15
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyqt-mac-buttons-widget-0.0.15.tar.gz | 3.0 kB | Without provenance | Details for pyqt-mac-buttons-widget-0.0.15.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyqt_mac_buttons_widget-0.0.15-py3-none-any.whl | Python 3 | none | any | Details for pyqt_mac_buttons_widget-0.0.15-py3-none-any.whl |
Total release size: 6.8 kB
Security for pyqt-mac-buttons-widget 0.0.15
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.