{"id":17603179,"url":"https://github.com/yjg30737/pyqt-corner-widget-example","last_synced_at":"2026-01-15T22:48:51.912Z","repository":{"id":108704790,"uuid":"499010181","full_name":"yjg30737/pyqt-corner-widget-example","owner":"yjg30737","description":"PyQt example which shows widget at the bottom-right corner of window (using event/geometry,  no QGridLayout involved)","archived":false,"fork":false,"pushed_at":"2022-06-02T06:11:13.000Z","size":12,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-03T02:03:57.180Z","etag":null,"topics":["pyqt","pyqt-examples","pyqt-gui","pyqt5","pyqt5-examples","pyqt5-tutorial","qevent","qshowevent","qt","qt5","qwidget"],"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-06-02T05:58:32.000Z","updated_at":"2024-01-18T18:46:29.000Z","dependencies_parsed_at":"2023-03-10T11:15:52.112Z","dependency_job_id":null,"html_url":"https://github.com/yjg30737/pyqt-corner-widget-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yjg30737/pyqt-corner-widget-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjg30737%2Fpyqt-corner-widget-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjg30737%2Fpyqt-corner-widget-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjg30737%2Fpyqt-corner-widget-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjg30737%2Fpyqt-corner-widget-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yjg30737","download_url":"https://codeload.github.com/yjg30737/pyqt-corner-widget-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjg30737%2Fpyqt-corner-widget-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274128206,"owners_count":25226967,"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-09-08T02:00:09.813Z","response_time":121,"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":["pyqt","pyqt-examples","pyqt-gui","pyqt5","pyqt5-examples","pyqt5-tutorial","qevent","qshowevent","qt","qt5","qwidget"],"created_at":"2024-10-22T13:42:08.762Z","updated_at":"2026-01-15T22:48:51.879Z","avatar_url":"https://github.com/yjg30737.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pyqt-corner-widget-example\nPyQt example which shows widget at the bottom-right corner of window (using event/geometry, no QGridLayout involved)\n\nThis is just for example.\n\n## Requirements\n* PyQt5 \u003e= 5.8\n\n## Setup\n`python -m pip install git+https://github.com/yjg30737/pyqt-corner-widget-example.git --upgrade`\n\n## Example\n```python\nfrom PyQt5.QtWidgets import QApplication\nfrom pyqt_corner_widget_example import MainWindow\n\nif __name__ == \"__main__\":\n    import sys\n\n    app = QApplication(sys.argv)\n    w = MainWindow()\n    w.show()\n    app.exec_()\n```\n\nResult\n\nNormal\n\n![image](https://user-images.githubusercontent.com/55078043/171563818-a3fcae10-128c-42b9-b182-a8e9f1c3b0f1.png)\n\nMaximize\n\n![image](https://user-images.githubusercontent.com/55078043/171563860-be8be3b9-03d1-4a4c-a78d-47fef1fd58b0.png)\n\nAfter resize\n\n![image](https://user-images.githubusercontent.com/55078043/171563885-59a07dcf-3848-44fc-a709-f70188709d4f.png)\n\nThis also works when activating/deactivating the window, which means corner widget is completely synchronized with the main window.\n\n## See Also\n* \u003ca href=\"https://github.com/yjg30737/pyqt-show-button-when-hover-widget.git\"\u003epyqt-show-button-when-hover-widget\u003c/a\u003e - In this example, i used `QGridLayout` to set button's position at bottom right.\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyjg30737%2Fpyqt-corner-widget-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyjg30737%2Fpyqt-corner-widget-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyjg30737%2Fpyqt-corner-widget-example/lists"}