Enroute Flight Navigation
A navigation app for VFR pilots
Notification_OversizedMap.h
1/***************************************************************************
2 * Copyright (C) 2026 by Stefan Kebekus *
3 * stefan.kebekus@gmail.com *
4 * *
5 * This program is free software; you can redistribute it and/or modify *
6 * it under the terms of the GNU General Public License as published by *
7 * the Free Software Foundation; either version 3 of the License, or *
8 * (at your option) any later version. *
9 * *
10 * This program is distributed in the hope that it will be useful, *
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13 * GNU General Public License for more details. *
14 * *
15 * You should have received a copy of the GNU General Public License *
16 * along with this program; if not, write to the *
17 * Free Software Foundation, Inc., *
18 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
19 ***************************************************************************/
20
21#pragma once
22
23#include "notification/Notification.h"
24
25namespace Notifications {
26
35
36
38{
39 Q_OBJECT
40
41public:
42 //
43 // Constructors and destructors
44 //
45
50 explicit Notification_OversizedMap(QObject* parent = nullptr);
51
52 // No default constructor, always want a parent
53 explicit Notification_OversizedMap() = delete;
54
56 ~Notification_OversizedMap() override = default;
57
58public slots:
60 void onButton1Clicked() override;
61
62private slots:
63 // Check if this notification is still useful and delete it if not.
64 void update();
65
66private:
67 Q_DISABLE_COPY_MOVE(Notification_OversizedMap)
68
69};
70
71} // namespace Notifications
~Notification_OversizedMap() override=default
Standard destructor.
Notification_OversizedMap(QObject *parent=nullptr)
Standard constructor.
void onButton1Clicked() override
Reimplemented from Notifications::Notification.
Notification(QString _title, Notifications::Notification::Importance _importance=Notifications::Notification::Info, QObject *parent=nullptr)
Standard constructor.