Name | qt-material-icons JSON |
Version |
0.2.0
JSON |
| download |
home_page | None |
Summary | Material Symbols by Google for Qt using PySide |
upload_time | 2024-10-04 22:38:30 |
maintainer | None |
docs_url | None |
author | Beat Reichenbach |
requires_python | >=3.6 |
license | MIT |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# 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:
```shell
pip install qt-material-icons
```
## Usage
```python
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.
[Google Material Symbols & Icons]: https://fonts.google.com/icons
## Contributing
To contribute please refer to the [Contributing Guide](CONTRIBUTING.md).
## License
MIT License. Copyright 2024 - Beat Reichenbach.
See the [License file](LICENSE) for details.
The [Material Symbols / Material Icons] are licensed under
[Apache License Version 2.0](https://github.com/google/material-design-icons/blob/master/LICENSE).
[Material Symbols / Material Icons]: https://github.com/google/material-design-icons
Raw data
{
"_id": null,
"home_page": null,
"name": "qt-material-icons",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": null,
"author": "Beat Reichenbach",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/9b/6a/03670a80bba974c93b2b93f0efe905f8a26ca4d9d5e176a2216fb7949dcb/qt_material_icons-0.2.0.tar.gz",
"platform": null,
"description": "# qt-material-icons\n\nA Python library that enables [Material Symbols / Material Icons] by Google\nto be used in Qt using PySide.\n\n## Installation\n\nInstall using pip:\n```shell\npip install qt-material-icons\n```\n\n## Usage\n\n```python\nfrom PySide6 import QtGui\nfrom qt_material_icons import MaterialIcon\n\n# Create a QIcon object\nicon = MaterialIcon('search')\n\n# Set a color\ncolor = QtGui.QColor('red')\nicon.set_color(color)\n\n# Set a color for a state, for example when a button is checked\nicon.set_color(color, state=QtGui.QIcon.State.On)\n\n# Set a different icon for a state, for example when a button is checked\ntoggle_icon = MaterialIcon('toggle_off')\ntoggle_icon_on = MaterialIcon('toggle_on')\ntoggle_icon.set_icon(toggle_icon_on, state=QtGui.QIcon.State.On)\n```\n\n\n\n\nRefer to [Google Material Symbols & Icons] for browsing icons.\n\n[Google Material Symbols & Icons]: https://fonts.google.com/icons\n\n## Contributing\n\nTo contribute please refer to the [Contributing Guide](CONTRIBUTING.md).\n\n## License\n\nMIT License. Copyright 2024 - Beat Reichenbach.\nSee the [License file](LICENSE) for details.\n\nThe [Material Symbols / Material Icons] are licensed under\n[Apache License Version 2.0](https://github.com/google/material-design-icons/blob/master/LICENSE).\n\n[Material Symbols / Material Icons]: https://github.com/google/material-design-icons\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Material Symbols by Google for Qt using PySide",
"version": "0.2.0",
"project_urls": null,
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "321ae729db8a654f7da5644f1b06c55b9e1f770d2f4744f2deee86b9f9d59c13",
"md5": "38037e7347ffc6022a5b88c2117eb328",
"sha256": "bdc14af68e7576b1b0847eb37b53fd68962cab9e2469c8a22a06a860b8deb604"
},
"downloads": -1,
"filename": "qt_material_icons-0.2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "38037e7347ffc6022a5b88c2117eb328",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 17925867,
"upload_time": "2024-10-04T22:38:25",
"upload_time_iso_8601": "2024-10-04T22:38:25.992827Z",
"url": "https://files.pythonhosted.org/packages/32/1a/e729db8a654f7da5644f1b06c55b9e1f770d2f4744f2deee86b9f9d59c13/qt_material_icons-0.2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "9b6a03670a80bba974c93b2b93f0efe905f8a26ca4d9d5e176a2216fb7949dcb",
"md5": "d55a510122c7b56bbeaca72f4993b1f0",
"sha256": "4711082ceb3a91743df00a0f366df3c94adbd149bdfa73973e6a8dd0ac5c8603"
},
"downloads": -1,
"filename": "qt_material_icons-0.2.0.tar.gz",
"has_sig": false,
"md5_digest": "d55a510122c7b56bbeaca72f4993b1f0",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 17474283,
"upload_time": "2024-10-04T22:38:30",
"upload_time_iso_8601": "2024-10-04T22:38:30.009655Z",
"url": "https://files.pythonhosted.org/packages/9b/6a/03670a80bba974c93b2b93f0efe905f8a26ca4d9d5e176a2216fb7949dcb/qt_material_icons-0.2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-04 22:38:30",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "qt-material-icons"
}