2021-01-19 21:35:18 +03:00
2020-04-19 17:31:46 +03:00
2021-01-19 21:35:18 +03:00
2021-01-19 21:35:18 +03:00
2021-01-17 14:10:47 +03:00
2020-03-30 15:47:10 +03:00
2020-12-27 15:41:29 +03:00
2019-11-19 13:28:02 +03:00
2019-11-19 15:20:38 +03:00
2021-01-19 21:35:18 +03:00
2019-11-19 18:09:01 +03:00
2019-11-19 15:20:38 +03:00
2020-05-23 02:30:51 +03:00
2019-11-19 15:20:38 +03:00
2020-03-30 16:01:45 +03:00

SimpleQmlNotify

Simple Qml notification service for qml applications.

Include

For qmake projects

  • cd yourRepo
  • git submodule add https://github.com/QuasarApp/SimpleQmlNotify.git # add the repository of QSimpleQmlNotify into your repo like submodule
  • git submodule update --init --recursive
  • Include in your pro file the pri file of Qt-Secret library
  include($$PWD/SimpleQmlNotify/QmlNotify.pri)
  • Rebuild yuor project

For cmake projects

The cmake build do not required Qt libraries.

  • cd yourRepo
  • git submodule add https://github.com/QuasarApp/SimpleQmlNotify.git # add the repository of QSimpleQmlNotify into your repo like submodule
  • git submodule update --init --recursive
  • Include in your CMakeLists.txt file the main CMakeLists.txt file of QSimpleQmlNotify library
  include(QmlNotyfyService)
  • Rebuild yuor project

For other build system

  • cd yourRepo
  • git submodule add https://github.com/QuasarApp/SimpleQmlNotify.git # add the repository of QSimpleQmlNotify into your repo like submodule
  • git submodule update --init --recursive
  • Add the rule for build QmlNotyfyService
  • Add INCLUDEPATH and LIBS for your build system
  • Rebuild yuor project

Use

CPP

 #include <qmlnotifyservice.h>

 int main() {
     QmlNotificationService::init();
     auto service = QmlNotificationService::NotificationService::getService();
     service->setNotify("title", "text", "UrlOfImage", NotificationData::Normal);
 }


QML


 NotificationServiceView {
     anchors.fill: parent;
 }

Description
No description provided
Readme GPL-3.0 586 KiB
Languages
C++ 58.3%
QML 35.5%
CMake 6.2%