{"id":23896808,"url":"https://github.com/yeahitsjan/fhnotifier","last_synced_at":"2026-05-15T21:35:52.728Z","repository":{"id":145007836,"uuid":"583935070","full_name":"yeahitsjan/FHNotifier","owner":"yeahitsjan","description":"Experimental prebuilt notification widgets for FramelessHelper","archived":false,"fork":false,"pushed_at":"2023-03-01T12:31:49.000Z","size":217,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2025-07-25T01:53:33.099Z","etag":null,"topics":["framelesshelper","qt","qt5","qt6"],"latest_commit_sha":null,"homepage":"","language":"C++","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/yeahitsjan.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-12-31T14:31:46.000Z","updated_at":"2024-11-23T10:24:08.000Z","dependencies_parsed_at":"2023-04-09T11:01:36.158Z","dependency_job_id":null,"html_url":"https://github.com/yeahitsjan/FHNotifier","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yeahitsjan/FHNotifier","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yeahitsjan%2FFHNotifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yeahitsjan%2FFHNotifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yeahitsjan%2FFHNotifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yeahitsjan%2FFHNotifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yeahitsjan","download_url":"https://codeload.github.com/yeahitsjan/FHNotifier/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yeahitsjan%2FFHNotifier/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33080777,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T20:25:35.270Z","status":"ssl_error","status_checked_at":"2026-05-15T20:25:34.732Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["framelesshelper","qt","qt5","qt6"],"created_at":"2025-01-04T16:55:29.961Z","updated_at":"2026-05-15T21:35:52.721Z","avatar_url":"https://github.com/yeahitsjan.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"## FHNotifier\n\nWorks on:\n\n![qt5](https://img.shields.io/badge/qt5-5.14.x-brightgreen?style=flat-square)\n![qt6](https://img.shields.io/badge/qt6-with--changes-orange?style=flat-square)\n\n\u003e **WARNING** - Currently not ready for production use! Code will change, break some things - or not.\n\n``FHNotifier`` tries to extend [FramelessHelper](https://github.com/wangwenx190/framelesshelper) with prebuilt widgets.\n\n- ``FHNotifyWidget`` - toast-like notification to display a text for a short amount of time\n- ``FHMessageBox`` - message box to display info, warning or error\n\nMainly needed for [Pawxel](https://pawxel.rocks), I thought, why not use it as an example of what is possible with FramelessHelper.\n\n### How to use\n\nJust include the ``FHNotifier.pri`` file or the relevant files from the ``FHNotifier/`` folder in your project. Do not exclude ``FHNotifier.h`` as it is used in some files for theming. The classes itself **do not** rely on each other.\n\n**You don't need to pull the submodules, as this is just for testing purposes only. FHNotifier works with your already working FramelessHelper _installation_.**\n\n### Example\n\nThis is an Example, how FHNotifier is used inside Pawxel:\n```cpp\n#include \u003cFHNotifier/FHMessageBox.h\u003e\n\nvoid Application::onPrefChangeRestartRequired() {\n    if (!m_restartMsgBox)\n        m_restartMsgBox = new FHMessageBox(FHMessageBox::Ok, m_accentColor, m_shouldAppsUseDarkMode);\n    m_restartMsgBox-\u003esetMessageBoxTitle(tr(\"Restart required\"));\n    m_restartMsgBox-\u003esetText(tr(\"A restart is required for these changes to take some effect.\"));\n    m_restartMsgBox-\u003esetMessageBoxIcon(FHMessageBox::Warning);\n    {\n        m_restartMsgBox-\u003etitleWidget()-\u003esetFont(QFont(\"Josefin Sans Bold\", 9));\n        m_restartMsgBox-\u003etextWidget()-\u003esetFont(QFont(\"Josefin Sans\", 9));\n        m_restartMsgBox-\u003esetButtonFont(QFont(\"Josefin Sans\", 9));\n    }\n    connect(m_restartMsgBox, \u0026FHMessageBox::firstButtonClicked, this, [=]() {\n        m_restartMsgBox-\u003eclose();\n    });\n    m_restartMsgBox-\u003eshow();\n}\n```\n\n### Run the demo\n\nIf you want to run the demo, fire up a terminal:\n```\n$ git clone https://github.com/yeahitsjan/FHNotifier.git\n$ cd FHNotifier\n$ git submodule init \u0026\u0026 git submodule update\n```\n\nFrom there on either use Qt Creator or QMake from terminal (``demo/demo.pro``). The demo uses an [own fork](https://github.com/yeahitsjan/framelesshelper/tree/qmake_mods) of FramelessHelper which does not always include the newest features. You are able to opt-in whatever version you want by cloning into the root directory!\n\n### License\n\nMIT. Just as FramelessHelper.\n\n```\nCopyright (c) 2022-2023 Jan Kowalewicz \u003cjan.kowalewicz@web.de, jan@nitroosit.de\u003e\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyeahitsjan%2Ffhnotifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyeahitsjan%2Ffhnotifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyeahitsjan%2Ffhnotifier/lists"}