|
Enroute Flight Navigation
A navigation app for VFR pilots
|
Notification for available map & data updates. More...
#include <Notification_DataUpdateAvailable.h>
Public Slots | |
| void | onButton1Clicked () override |
| Reimplemented from Notifications::Notification. | |
Public Member Functions | |
| Notification_DataUpdateAvailable (QObject *parent=nullptr) | |
| Standard constructor. | |
| ~Notification_DataUpdateAvailable () override=default | |
| Standard destructor. | |
| Public Member Functions inherited from Notifications::Notification | |
| Notification (QString _title, Notifications::Notification::Importance _importance=Notifications::Notification::Info, QObject *parent=nullptr) | |
| Standard constructor. | |
| ~Notification () override=default | |
| Standard destructor. | |
| QString | button1Text () const |
| Getter function for property of the same name. | |
| QString | button2Text () const |
| Getter function for property of the same name. | |
| Notifications::Notification::Importance | importance () const |
| Getter function for property of the same name. | |
| Units::Timespan | reactionTime () const |
| Getter function for property of the same name. | |
| QString | spokenText () const |
| Getter function for property of the same name. | |
| QString | text () const |
| Getter function for property of the same name. | |
| Notifications::Notification::TextBodyAction | textBodyAction () const |
| Getter function for property of the same name. | |
| QString | title () const |
| Getter function for property of the same name. | |
| void | setButton1Text (const QString &newButton1Text) |
| Setter function for property of the same name. | |
| void | setButton2Text (const QString &newButton2Text) |
| Setter function for property of the same name. | |
| void | setReactionTime (Units::Timespan newReactionTime) |
| Setter function for property of the same name. | |
| void | setSpokenText (const QString &newSpokenText) |
| Setter function for property of the same name. | |
| void | setText (const QString &newText) |
| Setter function for property of the same name. | |
| void | setTextBodyAction (Notifications::Notification::TextBodyAction newTextBodyAction) |
| Setter function for property of the same name. | |
| virtual Q_INVOKABLE void | onButton1Clicked () |
| Mouse click handler. | |
| virtual Q_INVOKABLE void | onButton2Clicked () |
| Mouse click handler. | |
Additional Inherited Members | |
| Public Types inherited from Notifications::Notification | |
| enum | Importance : quint8 { Info = 1<<1 , Info_Navigation = 1<<2 , Warning = 1<<3 , Warning_Navigation = 1<<4 , Alert = 1<<5 } |
| Importance classification. More... | |
| enum | TextBodyAction : quint8 { None , OpenMapsAndDataPage , OpenTrafficReceiverPage } |
| Text body action. More... | |
| Signals inherited from Notifications::Notification | |
| void | button1TextChanged () |
| Notification signal. | |
| void | button2TextChanged () |
| Notification signal. | |
| void | reactionTimeChanged () |
| Notification signal. | |
| void | spokenTextChanged () |
| Notification signal. | |
| void | textChanged () |
| Notification signal. | |
| void | textBodyActionChanged () |
| Notification signal. | |
| Properties inherited from Notifications::Notification | |
| QString | button1Text |
| Text for first button. | |
| QString | button2Text |
| Text for second button. | |
| Notifications::Notification::Importance | importance |
| Importance of the notification. | |
| Units::Timespan | reactionTime |
| Time left to avert negative consequences. | |
| QString | spokenText |
| Spoken text message for the notification. | |
| QString | text |
| Text body of the notification. | |
| Notifications::Notification::TextBodyAction | textBodyAction |
| Text body action. | |
| QString | title |
| Title of the notification. | |
Notification for available map & data updates.
This implementation of Notifications::Notification sets proper button texts, reacts to button clicks and deletes itself in flight and whenever a map and data update starts.
Definition at line 35 of file Notification_DataUpdateAvailable.h.
|
explicit |
Standard constructor.
| parent | The standard QObject parent pointer |