{"id":29452608,"url":"https://github.com/githubuser0xffff/qtass-pyside6","last_synced_at":"2025-08-08T23:11:07.260Z","repository":{"id":302875593,"uuid":"1009018821","full_name":"githubuser0xFFFF/qtass-pyside6","owner":"githubuser0xFFFF","description":"Qt Advanced Stylesheets for PySide6","archived":false,"fork":false,"pushed_at":"2025-07-11T13:51:00.000Z","size":27038,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-11T15:51:53.239Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/githubuser0xFFFF.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-26T12:57:29.000Z","updated_at":"2025-07-11T13:51:04.000Z","dependencies_parsed_at":"2025-07-04T15:17:47.574Z","dependency_job_id":"31440e43-923d-406c-a3fb-3cabf7e25da6","html_url":"https://github.com/githubuser0xFFFF/qtass-pyside6","commit_stats":null,"previous_names":["githubuser0xffff/qtass-pyside6"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/githubuser0xFFFF/qtass-pyside6","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/githubuser0xFFFF%2Fqtass-pyside6","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/githubuser0xFFFF%2Fqtass-pyside6/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/githubuser0xFFFF%2Fqtass-pyside6/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/githubuser0xFFFF%2Fqtass-pyside6/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/githubuser0xFFFF","download_url":"https://codeload.github.com/githubuser0xFFFF/qtass-pyside6/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/githubuser0xFFFF%2Fqtass-pyside6/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269502567,"owners_count":24427790,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-08T02:00:09.200Z","response_time":72,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-07-13T22:09:18.200Z","updated_at":"2025-08-08T23:11:07.253Z","avatar_url":"https://github.com/githubuser0xFFFF.png","language":"CSS","funding_links":["https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=85R64TMMSY9T6"],"categories":[],"sub_categories":[],"readme":"![ukraine](doc/ukraine.jpg)\n\n![logo](doc/ass_logo.svg)\n\n------------------\n\n# Qt Advanced Stylesheets for PySide6\n\n[![PyPI version](https://img.shields.io/pypi/v/qtass-pyside6)](https://pypi.org/project/qtass-pyside6/)\n[![Python Version](https://img.shields.io/pypi/pyversions/qtass-pyside6)](https://www.python.org/downloads/)\n\n- Original Repository: https://github.com/githubuser0xFFFF/qtass-pyside6\n- [Documentation](doc/user-guide.md)\n\nThis is the Python version of the [Qt Advanced Stylesheets Project](https://github.com/githubuser0xFFFF/Qt-Advanced-Stylesheets) for C++.\n\nThe library allows runtime color switching for CSS stylesheet themes including\nSVG resources and SVG icons. The image below shows switching of accent color\nand switching between dark and light theme. Notice how the icons in the left \nsidebar change color when switching between dark and light theme.\n\n![color_switching](doc/CETONI_Elements_Styling.gif)\n\nThe main features are:\n\n- runtime switching of CSS colors\n- runtime color switching of CSS SVG icons / resources\n- runtime color switching of icons loaded via `loadThemeAwareSvgIcon()`\n- runtime switching of QPalette colors\n- definition of CSS styles that switch the complete application design\n- definition of XML color themes that allow switching of theme colors (dark / light)\n- switching of individual theme color or switching of accent color\n- QML support\n\nIf you run the `full_features` example, then you can test the functionality. \nThere are some custom dark themes:\n\n![dark](doc/qt_material_dark.gif)\n\nAnd light:\n\n![light](doc/qt_material_light.gif)\n\nThe library allows you to create stylesheets that contain variables that are\nreplaced at runtime like in this example:\n\n```css\nQComboBox:disabled {\n  color: {{primaryColor|opacity(0.2)}};\n  background-color: {{secondaryColor|opacity(0.75)}};\n  border-bottom: 2px solid {{primaryColor|opacity(0.2)}};\n}\n\nQComboBox::drop-down {\n  border: none;\n  color: {{primaryColor}};\n  width: 20px;\n}\n```\n\n## Navigation\n\n- [Navigation](#navigation)\n- [Features](#features)\n  - [Theme-aware Icons](#theme-aware-icons)\n- [Getting started](#getting-started)\n- [Run examples](#run-examples)\n- [Credits](#credits)\n- [Donation](#donation)\n- [Showcase](#showcase)\n  - [CETONI Elements](#cetoni-elements)\n  - [PySoWorks](#pysoworks)\n\n## Features\n\n### Theme-aware Icons\n\nThe library supports loading of theme-aware SVG icons.\n\n```python\nQtAdvancedStylesheet.load_theme_aware_svg_icon(\":/app/images/progress.svg\");\n```\n\nThis allows runtime color switching of application icons like in the\ntoolbar below.\n\n![Theme Aware Icon](doc/theme_aware_icons.gif)\n\n\n## Getting started\n\nHave look into the file `CMainWindow` in the full_features example to learn\nho to use the `CStyleManager`. Here are the basic steps to add the style\nmanager to your application:\n\n```python\nQString AppDir = qApp-\u003eapplicationDirPath();\nQtAdvancedStylesheet AdvancedStylesheet;\n\n// first set the directory that contains all your styles\nAdvancedStylesheet.setStylesDirPath(AppDir + \"/../../styles\");\n\n// now set the output folder where the processed styles are stored. The\n// style manager will create a sub directory for each style\nAdvancedStylesheet.setOutputDirPath(AppDir + \"/output\");\n\n// set the current style and select a theme. After these two calls, the output\n// folder will contains the generated resoruces and stylesheet.\nAdvancedStylesheet.setCurrentStyle(\"qt_material\");\nAdvancedStylesheet.setCurrentTheme(\"dark_teal\");\n\n// now you can set the generated stylesheet\nqApp-\u003esetStyleSheet(StyleManager.styleSheet());\n```\n\n## Run examples\n\nThe `full_features` example shows a window with almost all widgets to test all \nthemes and create new ones.\n\n![theme](doc/theme.gif)\n\n\n## Credits\n\n- Uwe Kindler, Project Maintainer\n- [GCPDS](https://github.com/UN-GCPDS) - Grupo de control y procesamiento digital de señales\n\nThe project is strongly inspired by the great [Qt-material](https://github.com/UN-GCPDS/qt-material) project from [GCPDS](https://github.com/UN-GCPDS) and uses the qt-material stylesheet from this project.\n\n## Donation\n\nIf this project help you reduce time to develop or if you just like it, you can give me a cup of coffee :coffee::wink:.\n\n\u003ca href=\"https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=85R64TMMSY9T6\"\u003e\n  \u003cimg src=\"doc/donate.png\" alt=\"Donate with PayPal\" width=\"160\"/\u003e\n\u003c/a\u003e\n\n## Showcase\n\n### [CETONI Elements](https://cetoni.com/cetoni-elements/)\n\nThe [CETONI Elements](https://youtu.be/xWTpCwCz8dI) software from\n[CETONI](https://www.cetoni.com) is a comprehensive,\nplugin-based and modular laboratory automation software for controlling CETONI devices using a joint graphical user interface. The software features a powerful script system to automate processes.\n\nCETONI Elements Dark Theme\n![CETONI_Elements Dark](doc/CETONI_Elements_Dark.png)\n\nCETONI Elements Light Theme\n![CETONI_Elements Light](doc/CETONI_Elements_Light.png)\n\n### [PySoWorks](https://github.com/piezosystemjena/PySoWorks)\n\n[PySoWorks](https://pypi.org/project/pysoworks/) is an application for controlling the piezo amplifiers, such as the [NV200/D](https://www.piezosystem.com/product/nv-200-d-compact-amplifier/), from [piezosystem jena](https://www.piezosystem.com/) GmbH. It demonstrates the use of the [NV200 Python library](https://pypi.org/project/nv200/) within a graphical interface based on PySide6.\n\n![PySoWorks Theme](doc/pysoworks_ui.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgithubuser0xffff%2Fqtass-pyside6","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgithubuser0xffff%2Fqtass-pyside6","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgithubuser0xffff%2Fqtass-pyside6/lists"}