{ "info": { "author": "Simon Garisch", "author_email": "gatman946@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "[![Build Status](https://travis-ci.org/simongarisch/qtstyles.svg?branch=master)](https://travis-ci.org/simongarisch/qtstyles)\n[![Coverage Status](https://coveralls.io/repos/github/simongarisch/qtstyles/badge.svg?branch=master&service=github)](https://coveralls.io/github/simongarisch/qtstyles?branch=master)\n[![PyPI version](https://badge.fury.io/py/qtstyles.svg)](https://badge.fury.io/py/qtstyles)\n\n# qtstyles\nA collection of Qt Style Sheets accompanied by useful classes. \n\n## Installation\nqtstyles is python 2 and 3 compatible.\n```bash\npip install qtstyles\n```\n\n## Overview\n\nProvided are **Two ways** to change your Qt application style sheet:\n\n## 1. With the StylePicker class\n\nView available styles with:\n```python\nfrom qtstyles import StylePicker\n\nStylePicker().available_styles\n```\n\nAnd change the Qt application style using the get_sheet() method:\n```python\nfrom qtpy import QtWidgets\nfrom qtstyles import StylePicker\n\napp = QtWidgets.QApplication([])\nwin = QtWidgets.QMainWindow()\napp.setStyleSheet(StylePicker(\"qdark\").get_sheet()) # <-- changing the style here\nwin.show()\napp.exec_()\n```\n\n## 2. We can also change the style sheet with an instance of StylePickerWidget (inherits from QComboBox)\n```python\nfrom qtpy import QtWidgets\nfrom qtstyles import StylePickerWidget\n\napp = QtWidgets.QApplication([])\nwin = QtWidgets.QMainWindow()\npicker_widget = StylePickerWidget() # <-- this QComboBox allows the user to change style sheets\nwin.setCentralWidget(picker_widget)\nwin.show()\napp.exec_()\n```\n\nSee the 'Overview Notebook.ipynb' for additional details.\n\n## Motivation\nWhen looking for Qt ('.qss') style sheets most were scattered across different sites. \nDisclaimer: I've collected these style sheets from different repositories and they are not my own work.\nAttribution, links and the associated licenses have been provided at the top of each qss file.\nIf you'd like to add a style sheet please create a pull request and I'll be happy to take a look.\n\n## What does it look like\nThe StylePickerWidget is in the bottom left hand side of this window:\n![qstyles demo](https://github.com/simongarisch/qtstyles/blob/master/demo.PNG?raw=true)\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/simongarisch/qtstyles", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "qtstyles", "package_url": "https://pypi.org/project/qtstyles/", "platform": "", "project_url": "https://pypi.org/project/qtstyles/", "project_urls": { "Homepage": "https://github.com/simongarisch/qtstyles" }, "release_url": "https://pypi.org/project/qtstyles/0.0.2/", "requires_dist": [ "QtPy (>=1.4.1)" ], "requires_python": "", "summary": "A collection of Qt style sheets and helpful classes for applying them.", "version": "0.0.2" }, "last_serial": 4092116, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "01c21d6e8a1c1efb9b5e071fba2d0534", "sha256": "423cda52d1e5ea740eb149c837adbeaf920c8d8d6816533d93a200c802c9bbbe" }, "downloads": -1, "filename": "qtstyles-0.0.1-py2-none-any.whl", "has_sig": false, "md5_digest": "01c21d6e8a1c1efb9b5e071fba2d0534", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 103257, "upload_time": "2018-07-23T07:18:41", "url": "https://files.pythonhosted.org/packages/93/14/9b2009f94c2310806305dfc3c455a388656ae9aacc92d5d886a18ebd0771/qtstyles-0.0.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ec1b398202119f8cc4a751decce20bb4", "sha256": "75caafe1ddf6be65dec431cd39bec1a76961444fd79fd706c281824ba208e9ea" }, "downloads": -1, "filename": "qtstyles-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "ec1b398202119f8cc4a751decce20bb4", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 103239, "upload_time": "2018-07-23T07:16:56", "url": "https://files.pythonhosted.org/packages/a5/f9/429720f16839eed31e34c975ce97fb381018cfef0f27b3a55a398216fb86/qtstyles-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "94ce026feb47c54ae5fab7a65c795b4d", "sha256": "ee6c4a0ac28bb6fd47a5da099e234543492c4b80b5bd531ade6ebe1c514f99ec" }, "downloads": -1, "filename": "qtstyles-0.0.1.tar.gz", "has_sig": false, "md5_digest": "94ce026feb47c54ae5fab7a65c795b4d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 93859, "upload_time": "2018-07-23T07:16:58", "url": "https://files.pythonhosted.org/packages/0e/75/5853522916557e56ccdb6d8ff57dc3d0884c21baa366698cbfd672d73c6a/qtstyles-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "e8465007fc72a2e67c83de402be291ff", "sha256": "a78e787d91561e834d9809890ce8024f452bddb8e4751e8f7e8060c623855a3d" }, "downloads": -1, "filename": "qtstyles-0.0.2-py2-none-any.whl", "has_sig": false, "md5_digest": "e8465007fc72a2e67c83de402be291ff", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 103334, "upload_time": "2018-07-23T07:49:20", "url": "https://files.pythonhosted.org/packages/76/74/4d7b9ff0b6d5085ac13d33e181ecca0eb3fad5ec91d62384d842bf8c5532/qtstyles-0.0.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5292115820d5d7c1cf7f1d2e41f4bc2a", "sha256": "0531cdf34fe9bcd320285885e2d032e56f398bf4468f405573ab7abe5d922d23" }, "downloads": -1, "filename": "qtstyles-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "5292115820d5d7c1cf7f1d2e41f4bc2a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 103315, "upload_time": "2018-07-23T07:48:00", "url": "https://files.pythonhosted.org/packages/65/d2/5835a2f9c0d63165512a1da4a1242f5ea0f2613d009717115a0de96d6321/qtstyles-0.0.2-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e8465007fc72a2e67c83de402be291ff", "sha256": "a78e787d91561e834d9809890ce8024f452bddb8e4751e8f7e8060c623855a3d" }, "downloads": -1, "filename": "qtstyles-0.0.2-py2-none-any.whl", "has_sig": false, "md5_digest": "e8465007fc72a2e67c83de402be291ff", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 103334, "upload_time": "2018-07-23T07:49:20", "url": "https://files.pythonhosted.org/packages/76/74/4d7b9ff0b6d5085ac13d33e181ecca0eb3fad5ec91d62384d842bf8c5532/qtstyles-0.0.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5292115820d5d7c1cf7f1d2e41f4bc2a", "sha256": "0531cdf34fe9bcd320285885e2d032e56f398bf4468f405573ab7abe5d922d23" }, "downloads": -1, "filename": "qtstyles-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "5292115820d5d7c1cf7f1d2e41f4bc2a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 103315, "upload_time": "2018-07-23T07:48:00", "url": "https://files.pythonhosted.org/packages/65/d2/5835a2f9c0d63165512a1da4a1242f5ea0f2613d009717115a0de96d6321/qtstyles-0.0.2-py3-none-any.whl" } ] }