Material Symbols in PySide and PyQt applications
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file qtmaterialsymbols-1.0.1.tar.gz.
File metadata
- Download URL: qtmaterialsymbols-1.0.1.tar.gz
- Upload date:
- Size: 3.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
63707319982d95434b500ad7a41bdd39ba81fcbedd0a27e1edf9eb51529a6273
|
|
| MD5 |
3f66f30b07721e78f5a37ddac72a5471
|
|
| BLAKE2b-256 |
3afc5635a64d98046c9b161e5c83ed6f233c7d5a808e5ede720cca852836c78a
|
File details
Details for the file qtmaterialsymbols-1.0.1-py3-none-any.whl.
File metadata
- Download URL: qtmaterialsymbols-1.0.1-py3-none-any.whl
- Upload date:
- Size: 3.9 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b7fb0ff64f4671acf3e4fc9b7b6bcc47d0488b22b4ec83e6f26f7da6f71341d4
|
|
| MD5 |
625099218706fdd0eb7c2fff29645fdf
|
|
| BLAKE2b-256 |
a4b8b4d14f0ea7d73a1180106279748a6faafe8b9231498cdba04fcae9d162b6
|