Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yjg30737/pyqt-svg-toolbutton
PyQt SVG icon QToolButton
https://github.com/yjg30737/pyqt-svg-toolbutton
pyqt pyqt5 qsvg qt qt5 qtoolbutton svg svg-button
Last synced: 2 days ago
JSON representation
PyQt SVG icon QToolButton
- Host: GitHub
- URL: https://github.com/yjg30737/pyqt-svg-toolbutton
- Owner: yjg30737
- License: mit
- Created: 2022-05-19T08:33:46.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-09-03T23:57:26.000Z (over 2 years ago)
- Last Synced: 2024-12-27T05:30:13.997Z (9 days ago)
- Topics: pyqt, pyqt5, qsvg, qt, qt5, qtoolbutton, svg, svg-button
- Language: Python
- Homepage:
- Size: 10.7 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pyqt-svg-toolbutton
PyQt SVG icon QToolButtonParent class of this is `QToolButton` and `SvgAbstractButton`. (Multiple inheritance)
If you want to use svg supporting `QPushButton` instead of `QToolButton`, use pyqt-svg-button.
Note: Don't use this to PySide project. It doesn't take multiple inheritance well. Besides, you don't have to use this to PySide6 at all because i find that PySide6 or PyQt6(if you will) can automatically turn png into svg icon, or make it smoother. Correct me if i'm wrong.
## Requirements
* PyQt5 >= 5.8## Install
`python -m pip install pyqt-svg-toolbutton`## Included Packages
* pyqt-svg-abstractbutton