{"id":21905312,"url":"https://github.com/pedrolcl/splashwindow","last_synced_at":"2025-04-15T23:32:19.322Z","repository":{"id":55676272,"uuid":"225651126","full_name":"pedrolcl/SplashWindow","owner":"pedrolcl","description":"Qt splash window recipe replacing QSplashScreen without using the widgets module","archived":false,"fork":false,"pushed_at":"2021-02-23T12:59:24.000Z","size":72,"stargazers_count":8,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-03-08T19:42:57.193Z","etag":null,"topics":["c-plus-plus","gui","qml","qt","splash"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pedrolcl.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}},"created_at":"2019-12-03T15:18:40.000Z","updated_at":"2023-01-12T11:07:00.000Z","dependencies_parsed_at":"2022-08-15T06:11:00.428Z","dependency_job_id":null,"html_url":"https://github.com/pedrolcl/SplashWindow","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedrolcl%2FSplashWindow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedrolcl%2FSplashWindow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedrolcl%2FSplashWindow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedrolcl%2FSplashWindow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pedrolcl","download_url":"https://codeload.github.com/pedrolcl/SplashWindow/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226950379,"owners_count":17708216,"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":["c-plus-plus","gui","qml","qt","splash"],"created_at":"2024-11-28T16:32:43.455Z","updated_at":"2024-11-28T16:32:44.229Z","avatar_url":"https://github.com/pedrolcl.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SplashWindow\n\nSplash window for Qt, replacing `QSplashScreen`\n\nThis `SplashWindow` class can be used instead of `QSplashScreen` in applications using\n`QGuiApplication` instead of `QApplication`. It needs only the `gui` module, but not\nthe `widgets` module as `QSplashScreen`, so it may be useful in QML apps.\n\nIt is derived from the [Raster Window](https://doc.qt.io/qt-5/qtgui-rasterwindow-example.html) Qt example code.\n\n## Usage\n\n* close after a fixed amount of time:\n\n```\n    SplashWindow splash;\n    splash.show();\n    QTimer::singleShot(2500, \u0026splash, SLOT(close()));\n```\n\n* close when another window is shown:\n\n```\n    SplashWindow splash;\n    splash.show();\n    QQuickView *view = new QQuickView;\n    splash.finish(view);\n    view-\u003eshow();\n```\n\nview may be an instance of any `QWindow` derived class (like `QQuickView`)\n\nSince the splash screen is typically displayed before the event loop has started running, \nit is necessary to periodically call `QCoreApplication::processEvents()`.\n\nYou may also call `splash.close()` after completing the application initialization.\nA new method `centerInScreen(QScreen *s)` has been added to control the positioning of the splash window.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpedrolcl%2Fsplashwindow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpedrolcl%2Fsplashwindow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpedrolcl%2Fsplashwindow/lists"}