{"id":17603152,"url":"https://github.com/yjg30737/pyqt-transparent-button-background-animation-example","last_synced_at":"2026-02-19T04:32:36.964Z","repository":{"id":108706744,"uuid":"493034016","full_name":"yjg30737/pyqt-transparent-button-background-animation-example","owner":"yjg30737","description":"PyQt example of transparent button's background animation","archived":false,"fork":false,"pushed_at":"2022-05-17T00:01:41.000Z","size":7,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-18T21:56:36.007Z","etag":null,"topics":["button-animation","pyqt","pyqt-examples","pyqt-tutorial","pyqt5","pyqt5-examples","qpropertyanimation","qpushbutton","qt","qt-examples","qt5","qt5-examples"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yjg30737.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2022-05-16T23:51:35.000Z","updated_at":"2024-06-04T11:43:55.000Z","dependencies_parsed_at":"2023-04-11T16:46:48.794Z","dependency_job_id":null,"html_url":"https://github.com/yjg30737/pyqt-transparent-button-background-animation-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yjg30737/pyqt-transparent-button-background-animation-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjg30737%2Fpyqt-transparent-button-background-animation-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjg30737%2Fpyqt-transparent-button-background-animation-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjg30737%2Fpyqt-transparent-button-background-animation-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjg30737%2Fpyqt-transparent-button-background-animation-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yjg30737","download_url":"https://codeload.github.com/yjg30737/pyqt-transparent-button-background-animation-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjg30737%2Fpyqt-transparent-button-background-animation-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29603081,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T04:01:40.476Z","status":"ssl_error","status_checked_at":"2026-02-19T04:01:12.960Z","response_time":117,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["button-animation","pyqt","pyqt-examples","pyqt-tutorial","pyqt5","pyqt5-examples","qpropertyanimation","qpushbutton","qt","qt-examples","qt5","qt5-examples"],"created_at":"2024-10-22T13:41:26.713Z","updated_at":"2026-02-19T04:32:36.924Z","avatar_url":"https://github.com/yjg30737.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pyqt-transparent-button-background-animation-example\nPyQt example of transparent button's background animation\n\nThis example shows the transparent background button (button's text is visible) reveal the color with animation when you put the mouse cursor in it.\n\nThis can't be done by QGraphicsOpacityEffect which is normally used at opacity transition.\n\nBecause if you use QGraphicsOpacityEffect, everything become invisible at the transparent state. \n\nSo i use stylesheet instead.\n\n## Requirements\n* PyQt5 \u003e= 5.8\n\n## Setup\n`python -m pip install git+https://github.com/yjg30737/pyqt-transparent-button-background-animation-example.git --upgrade`\n\n## Example\nCode Sample\n```python\nfrom PyQt5.QtWidgets import QApplication\nfrom pyqt_transparent_button_background_animation_example import MainWindow\n\nif __name__ == \"__main__\":\n    import sys\n\n    app = QApplication(sys.argv)\n    ex = MainWindow()\n    ex.show()\n    sys.exit(app.exec_())\n```\n\nResult\n\nhttps://user-images.githubusercontent.com/55078043/168700640-05a64ab3-d09d-4bca-8e53-20677feba60f.mp4\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyjg30737%2Fpyqt-transparent-button-background-animation-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyjg30737%2Fpyqt-transparent-button-background-animation-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyjg30737%2Fpyqt-transparent-button-background-animation-example/lists"}