Material Symbols by Google for Qt using PySide
Project description
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
# Create a QIcon object
icon = MaterialIcon('search')
# Set a color
color = QtGui.QColor('red')
icon.set_color(color)
# Set a color for a state, for example when a button is checked
icon.set_color(color, state=QtGui.QIcon.State.On)
# Set a different icon for a state, for example when a button is checked
toggle_icon = MaterialIcon('toggle_off')
toggle_icon_on = MaterialIcon('toggle_on')
toggle_icon.set_icon(toggle_icon_on, state=QtGui.QIcon.State.On)
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.
Project details
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 qt_material_icons-0.3.0.tar.gz.
File metadata
- Download URL: qt_material_icons-0.3.0.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a3577b2d84676e10ef3e0852d0332cd557ab24f9b3e85631f2848f4a84246726
|
|
| MD5 |
735a93eaf0f95a385cdb68fa3affa5a3
|
|
| BLAKE2b-256 |
7b8d4838dc5850eb09d5fded13462dc36786727503081f0ed59b62aeba7d4977
|
Provenance
The following attestation bundles were made for qt_material_icons-0.3.0.tar.gz:
Publisher:
publish.yml on beatreichenbach/qt-material-icons
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
qt_material_icons-0.3.0.tar.gz -
Subject digest:
a3577b2d84676e10ef3e0852d0332cd557ab24f9b3e85631f2848f4a84246726 - Sigstore transparency entry: 726711371
- Sigstore integration time:
-
Permalink:
beatreichenbach/qt-material-icons@956bd14181339d2900ad77690028a53322788277 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/beatreichenbach
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@956bd14181339d2900ad77690028a53322788277 -
Trigger Event:
release
-
Statement type:
File details
Details for the file qt_material_icons-0.3.0-py3-none-any.whl.
File metadata
- Download URL: qt_material_icons-0.3.0-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a49a88e2ec0b32c7ce6c57c0cb46e2639a1505868c65b3f02f60df40938ae779
|
|
| MD5 |
f7addd5f8289cac23bb83b97379a148d
|
|
| BLAKE2b-256 |
d2f481ef59643e2d05fb2e97266e5081dfd5cdfc51748c566be370f0eeaaac15
|
Provenance
The following attestation bundles were made for qt_material_icons-0.3.0-py3-none-any.whl:
Publisher:
publish.yml on beatreichenbach/qt-material-icons
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
qt_material_icons-0.3.0-py3-none-any.whl -
Subject digest:
a49a88e2ec0b32c7ce6c57c0cb46e2639a1505868c65b3f02f60df40938ae779 - Sigstore transparency entry: 726711372
- Sigstore integration time:
-
Permalink:
beatreichenbach/qt-material-icons@956bd14181339d2900ad77690028a53322788277 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/beatreichenbach
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@956bd14181339d2900ad77690028a53322788277 -
Trigger Event:
release
-
Statement type: