Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qtmaterialsymbols-1.0.1.tar.gz (3.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qtmaterialsymbols-1.0.1-py3-none-any.whl (3.9 MB view details)

Uploaded Python 3

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

Hashes for qtmaterialsymbols-1.0.1.tar.gz
Algorithm Hash digest
SHA256 63707319982d95434b500ad7a41bdd39ba81fcbedd0a27e1edf9eb51529a6273
MD5 3f66f30b07721e78f5a37ddac72a5471
BLAKE2b-256 3afc5635a64d98046c9b161e5c83ed6f233c7d5a808e5ede720cca852836c78a

See more details on using hashes here.

File details

Details for the file qtmaterialsymbols-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for qtmaterialsymbols-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b7fb0ff64f4671acf3e4fc9b7b6bcc47d0488b22b4ec83e6f26f7da6f71341d4
MD5 625099218706fdd0eb7c2fff29645fdf
BLAKE2b-256 a4b8b4d14f0ea7d73a1180106279748a6faafe8b9231498cdba04fcae9d162b6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page