qt-material-icons
A Python library that enables Material Symbols / Material Icons by Google
to be used in Qt using PySide.
Installation
Install using pip:
pip install qt-material-icons
Usage
from PySide6 import QtGui
from qt_material_icons import MaterialIcon
icon = MaterialIcon('search')
color = QtGui.QColor('red')
icon.set_color(color)
icon.set_color(color, state=QtGui.QIcon.State.On)
toggle_icon = MaterialIcon('toggle_off')
toggle_icon_on = MaterialIcon('toggle_on')
toggle_icon.set_icon(toggle_icon_on, state=QtGui.QIcon.State.On)
![Screenshot of the icons](/.github/assets/icons.png)
Refer to Google Material Symbols & Icons for browsing icons.
Contributing
To contribute please refer to the Contributing Guide.
License
MIT License. Copyright 2024 - Beat Reichenbach.
See the License file for details.
The Material Symbols / Material Icons are licensed under
Apache License Version 2.0.