{"id":18338620,"url":"https://github.com/noxware/qt-quick-flickable-and-zoomable-by-mouse-image-example","last_synced_at":"2025-04-06T05:31:47.475Z","repository":{"id":96414719,"uuid":"245288797","full_name":"noxware/qt-quick-flickable-and-zoomable-by-mouse-image-example","owner":"noxware","description":"Qt Quick example project for desktop applications that shows an image and lets you zoom and move.","archived":false,"fork":false,"pushed_at":"2024-06-03T01:46:44.000Z","size":5210,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-21T18:01:41.772Z","etag":null,"topics":["example","image-viewer","qml","qt","qt5","qtquick"],"latest_commit_sha":null,"homepage":"","language":"QML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/noxware.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":"2020-03-05T23:29:20.000Z","updated_at":"2024-11-15T16:21:10.000Z","dependencies_parsed_at":"2023-07-13T13:45:14.787Z","dependency_job_id":null,"html_url":"https://github.com/noxware/qt-quick-flickable-and-zoomable-by-mouse-image-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noxware%2Fqt-quick-flickable-and-zoomable-by-mouse-image-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noxware%2Fqt-quick-flickable-and-zoomable-by-mouse-image-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noxware%2Fqt-quick-flickable-and-zoomable-by-mouse-image-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noxware%2Fqt-quick-flickable-and-zoomable-by-mouse-image-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/noxware","download_url":"https://codeload.github.com/noxware/qt-quick-flickable-and-zoomable-by-mouse-image-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247440346,"owners_count":20939221,"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":["example","image-viewer","qml","qt","qt5","qtquick"],"created_at":"2024-11-05T20:14:44.974Z","updated_at":"2025-04-06T05:31:47.041Z","avatar_url":"https://github.com/noxware.png","language":"QML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Qt-Quick-Flickable-And-Zoomable-By-Mouse-Image-Example\n\n\u003e **NOTE:** This was made a long time ago with Qt 5. It may need some adjustments to work with newer versions of Qt.\n\nThis is a simple example of how to do... what the title says... maybe...\n\n## What it does\n  - It shows an image of your choice\n  - The image is easily adjusted to the window size\n  - You can zoom the image\n  - You can move using your mouse through the zoomed image\n\n\u003e **NOTE:** This example only works using a mouse, it is not for touch devices.\n\n## Code notes\n\nThe code...\n\n- Is very short and readable\n- Is a good QML example\n- Only uses a signal handler for handling the mouse wheel event (everything else is done automatically by property bindings)\n- Shows you how powerful property bindings are\n\n## Recordings\n\nhttps://github.com/noxware/qt-quick-flickable-and-zoomable-by-mouse-image-example/assets/7684329/1d05a9cc-7d6c-4e75-a414-d53d08767855\n\n## More\n\n- [@nocanstillbb](https://github.com/nocanstillbb) contributed an alternative solution that works differently but preserves mouse position when you zoom. You can try it by uncommenting their QML file in `main.cpp`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoxware%2Fqt-quick-flickable-and-zoomable-by-mouse-image-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoxware%2Fqt-quick-flickable-and-zoomable-by-mouse-image-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoxware%2Fqt-quick-flickable-and-zoomable-by-mouse-image-example/lists"}