swift
Loading...
Searching...
No Matches
dbaircrafticaocomponent.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (C) 2015 swift Project Community / Contributors
2// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-swift-pilot-client-1
3
5
6#ifndef SWIFT_GUI_COMPONENTS_DBAIRCRAFTICAOCOMPONENT_H
7#define SWIFT_GUI_COMPONENTS_DBAIRCRAFTICAOCOMPONENT_H
8
9#include <QObject>
10#include <QScopedPointer>
11
15#include "gui/swiftguiexport.h"
17
18namespace Ui
19{
20 class CDbAircraftIcaoComponent;
21}
22namespace swift::misc::aviation
23{
25}
26namespace swift::gui
27{
28 namespace views
29 {
31 }
32 namespace components
33 {
41 {
43
44 public:
46 explicit CDbAircraftIcaoComponent(QWidget *parent = nullptr);
47
50
53
56
59
60 private:
62 void onIcaoRead(swift::misc::network::CEntityFlags::Entity entity,
64
66 void onEntityDownloadProgress(swift::misc::network::CEntityFlags::Entity entity, int logId, int progress,
67 qint64 current, qint64 max, const QUrl &url);
68
70 void onReload();
71
72 private:
74 };
75 } // namespace components
76} // namespace swift::gui
77
78#endif // SWIFT_GUI_COMPONENTS_DBAIRCRAFTICAOCOMPONENT_H
CEnableForDockWidgetInfoArea(CDockWidgetInfoArea *parentInfoArea=nullptr)
Constructor.
CEnableForViewBasedIndicator(views::CViewBaseNonTemplate *viewWithIndicator=nullptr)
Constructor.
COverlayMessagesFrame(QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags())
Constructor.
swift::gui::views::CAircraftIcaoCodeView * view() const
Get the view.
bool selectAircraftIcao(const swift::misc::aviation::CAircraftIcaoCode &icao)
Select aircraft ICAO object.
CDbAircraftIcaoComponent(QWidget *parent=nullptr)
Constructor.
void filter(const swift::misc::aviation::CAircraftIcaoCode &icao)
Filter by ICAO as default.
Value object for ICAO classification.
High level reusable GUI components.
Views, mainly QTableView.
GUI related classes.
Q_OBJECTQ_OBJECT
QObject * parent() const const
QWidget(QWidget *parent, Qt::WindowFlags f)
#define SWIFT_GUI_EXPORT
Export a class or function from the library.