Skip to content

philippe-ynput/qtmaterialsymbols

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QtMaterialSymbols

Python Qt wrapper for Material Design icons.

Description

QtMaterialSymbols enables to use Material Symbols font icons in PySide and PyQt applications.

This project is heavily based on QtAwesome.

Installation

You can install QtMaterialSymbols using pip:

pip install qtmaterialsymbols

Usage

To use Material Symbols in your PySide or PyQt application, you can simply import the get_icon function and use it to create icons for your widgets.:

from qtmaterialsymbols import get_icon

icon = get_icon("settings", color="#ffffff")
button = QtWidgets.QPushButton(icon)

Please look into signature of get_icon function for more details on available parameters.

At this moment it is not possible to use font axis (outlined, rounded, fill etc.). It is available since Qt 6.7 which might limit the usage.

About

Python Qt wrapper for Material Design icons

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%