{"id":22476891,"url":"https://github.com/jomart02/qt-animated-switch","last_synced_at":"2026-02-14T02:02:04.683Z","repository":{"id":252033736,"uuid":"839194236","full_name":"Jomart02/QT-Animated-Switch","owner":"Jomart02","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-05T06:38:36.000Z","size":492,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-01T20:46:08.037Z","etag":null,"topics":["cpp","linux","qt","qt6","qt6-widgets","switch","ubuntu","windows"],"latest_commit_sha":null,"homepage":"","language":"C++","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/Jomart02.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2024-08-07T06:21:16.000Z","updated_at":"2024-12-13T04:03:30.000Z","dependencies_parsed_at":"2024-12-03T21:32:11.281Z","dependency_job_id":null,"html_url":"https://github.com/Jomart02/QT-Animated-Switch","commit_stats":null,"previous_names":["jomart02/qt-animated-switch"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jomart02%2FQT-Animated-Switch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jomart02%2FQT-Animated-Switch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jomart02%2FQT-Animated-Switch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jomart02%2FQT-Animated-Switch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jomart02","download_url":"https://codeload.github.com/Jomart02/QT-Animated-Switch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245897099,"owners_count":20690412,"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","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":["cpp","linux","qt","qt6","qt6-widgets","switch","ubuntu","windows"],"created_at":"2024-12-06T14:08:33.574Z","updated_at":"2026-02-14T02:02:04.675Z","avatar_url":"https://github.com/Jomart02.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n![Windows](https://github.com/barry-ran/QtScrcpy/workflows/Windows/badge.svg)\n![Ubuntu](https://github.com/barry-ran/QtScrcpy/workflows/Ubuntu/badge.svg)\n[![Qt](https://img.shields.io/badge/Qt-6.x-66cc00.svg)](https://www.qt.io/)\n[![C++](https://img.shields.io/badge/C%2B%2B-17.0-4c979e.svg)](https://isocpp.org/)\n\n# QT-Animated-Switch\nA visually appealing and interactive switch widget that can be turned on or off with a smooth animation.\n\n![switch](gitResources/standartSwitch.gif)\n\n## Features\n- Animated switch with a toggle button\n- Smooth and visually appealing animation\n- Interactive and responsive to user input\n- Customizable animation duration and style\n\n## QSS properties\nThe switch class has a set of properties with which you can use your own style sheet to customize the style and speed of animations\n\n### Style properties\n```css\nToggleSwitch{\n    //Color switch\n    qproperty-colorSwitch: rgb(65, 80, 255);\n    //Setting blue in rgb on hover\n    qproperty-colorHover: 0;\n    //Minimum opacity switch\n    qproperty-minOpacity: 0;\n    //Maximum opacity switch\n    qproperty-maxOpacity: 255;\n    //min Setting blue in rgb on hover\n    qproperty-mincolorHover: 180;\n    //min Setting blue in rgb on hover\n    qproperty-maxcolorHover: 222;\n    //Maximum opacity switch on hover\n    qproperty-maxHoverOpacity: 50;\n}\n```\n\n### Duration properties\n```css\nToggleSwitch{\n    //Slider movement speed \n    qproperty-durationToggledProcces_sliderPos: 300;\n    //Duration change blue rgb setting on Toggled status\n    qproperty-durationToggledHovered: 120;\n    //Duration change blue rgb setting on UnToggled status\n    qproperty-durationUnToggledHovered: 20;\n    //Duration change opacity rgb setting on UnToggled status\n    qproperty-durationToggledHovered_opacity: 120;\n    //Duration change opacity switch rgb setting \n    qproperty-durationToggledProcces_opacity: 300;\n}\n```\n\n# Build plugin\n```\nmkdir build\ncd build\ncmake ..\ncmake --build . --target install ToggleSwitchPlugin  -j 8    \n```\n\nAfter the build and installation of the plugin, this build is not required\n\n# Build Windows (msvc)\n```\nmkdir build\ncd build\ncmake ..\ncmake --build . --config Release -j 10\n```\n# Build Linux (clang , gcc)\n```\nmkdir build\ncd build\ncmake ..\nmake -j 10 ( or cmake --build . --config Release -j 10)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjomart02%2Fqt-animated-switch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjomart02%2Fqt-animated-switch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjomart02%2Fqt-animated-switch/lists"}