swift
dbaircraftcategorycomponent.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (C) 2019 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_DBAIRCRAFTCATEGORYCOMPONENT_H
7 #define SWIFT_GUI_COMPONENTS_DBAIRCRAFTCATEGORYCOMPONENT_H
8 
9 #include <QScopedPointer>
10 
14 #include "gui/swiftguiexport.h"
16 
17 namespace Ui
18 {
19  class CDbAircraftCategoryComponent;
20 }
21 namespace swift::gui::components
22 {
27  public COverlayMessagesFrame,
30  {
31  Q_OBJECT
32 
33  public:
35  explicit CDbAircraftCategoryComponent(QWidget *parent = nullptr);
36 
39 
40  private:
42  void onCategoryRead(swift::misc::network::CEntityFlags::Entity entity,
44 
46  void onEntityDownloadProgress(swift::misc::network::CEntityFlags::Entity entity, int logId, int progress,
47  qint64 current, qint64 max, const QUrl &url);
48 
50  void onReload();
51 
52  QScopedPointer<Ui::CDbAircraftCategoryComponent> ui;
53  };
54 } // namespace swift::gui::components
55 
56 #endif // SWIFT_GUI_COMPONENTS_DBAIRCRAFTCATEGORYCOMPONENT_H
Helper class: If a component is residing in an dockable widget. This class provides access to its inf...
Hand over indication task to an embedded view.
Using this class provides a QFrame with the overlay functionality already integrated.
High level reusable GUI components.
Definition: aboutdialog.cpp:13
#define SWIFT_GUI_EXPORT
Export a class or function from the library.