|
Enroute Flight Navigation
A navigation app for VFR pilots
|
Notification for oversized aviation maps. More...
#include <Notification_OversizedMap.h>
Public Slots | |
| void | onButton1Clicked () override |
| Reimplemented from Notifications::Notification. | |
Public Member Functions | |
| Notification_OversizedMap (QObject *parent=nullptr) | |
| Standard constructor. | |
| ~Notification_OversizedMap () 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 oversized aviation maps.
This implementation of Notifications::Notification warns the user that one or more installed aviation maps are too large to be used and will be ignored until they are updated. It sets proper button texts, reacts to button clicks and deletes itself when a map and data update starts or when no oversized maps remain.
Definition at line 37 of file Notification_OversizedMap.h.
|
explicit |
Standard constructor.
| parent | The standard QObject parent pointer |