NotificationInterface QML Type

An interface for requesting notifications. More...

Since: Qt 5.11

Detailed Description

NotificationInterface inherits Notification from Qt Application Manager and acts like an adapter for Neptune 3 UI. The NotificationInterface properties timeout and category are adopted to match Neptune 3 UI requirements and should not be used. In the Neptune 3 UI interaction, notifications should always be dismissed by an end user instead of a time-out.

Example Usage

The following example demonstrates the NotificationInterface usage:

NotificationInterface {
    summary: "Notification Prio 9"
    body: "Notification sample"
    priority: 9
    icon: Style.imageM("maps")

summary defines a notification title. body defines a notification description. Notifications are queued based on a value in priority. icon must contain an absolute icon path. Otherwise, the icon is not shown.

© 2018 Pelagicore AG. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.