Skip to content

pyapp-kit/fonticon-materialdesignicons6

Repository files navigation

fonticon-materialdesignicons6

License PyPI Python Version

Material Design Icons extension for superqt font icons

https://github.com/templarian/MaterialDesign

pip install superqt fonticon-materialdesignicons6
from fonticon_mdi6 import MDI6
from qtpy.QtCore import QSize
from qtpy.QtWidgets import QApplication, QPushButton
from superqt.fonticon import icon, pulse

app = QApplication([])

btn2 = QPushButton()
btn2.setIcon(icon(MDI6.fan, animation=pulse(btn2)))
btn2.setIconSize(QSize(225, 225))
btn2.show()

app.exec_()

Dev note

To update this package for new fonticon releases, update the VERSION = ... string in scripts/bundle.py, and rerun python scripts/bundle.py.