swift
dbmodelmappingmodifydialog.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (C) 2016 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_DBMODELMAPPINGMODIFYDIALOG_H
7 #define SWIFT_GUI_COMPONENTS_DBMODELMAPPINGMODIFYDIALOG_H
8 
9 #include <QDialog>
10 #include <QObject>
11 #include <QScopedPointer>
12 
14 #include "gui/swiftguiexport.h"
16 
17 namespace swift::misc::simulation
18 {
19  class CAircraftModel;
20 }
21 namespace Ui
22 {
23  class CDbModelMappingModifyDialog;
24 }
25 namespace swift::gui::components
26 {
31  {
32  Q_OBJECT
33 
34  public:
36  explicit CDbModelMappingModifyDialog(QWidget *parent = nullptr);
37 
39  virtual ~CDbModelMappingModifyDialog();
40 
42  swift::misc::CPropertyIndexVariantMap getValues() const;
43 
45  void setValue(const swift::misc::simulation::CAircraftModel &model);
46 
47  private:
48  QScopedPointer<Ui::CDbModelMappingModifyDialog> ui;
49  };
50 } // namespace swift::gui::components
51 #endif // SWIFT_GUI_COMPONENTS_DBMODELMAPPINGMODIFYDIALOG_H
Allows subcomponents to gain access to model component.
Specialized value object compliant map for variants, based on indexes.
Aircraft model (used by another pilot, my models on disk)
Definition: aircraftmodel.h:71
High level reusable GUI components.
Definition: aboutdialog.cpp:13
#define SWIFT_GUI_EXPORT
Export a class or function from the library.