swift
Loading...
Searching...
No Matches
dbmodelmappingmodifydialog.cpp
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#include <QWidget>
7
8#include "ui_dbmodelmappingmodifydialog.h"
9
11
12using namespace swift::misc;
13using namespace swift::misc::simulation;
14
16{
23
25
27 {
28 return (ui->editor_ModelMappingModify->getValues());
29 }
30
32 {
33 ui->editor_ModelMappingModify->setValue(model);
34 }
35} // namespace swift::gui::components
swift::misc::CPropertyIndexVariantMap getValues() const
Get the values.
void setValue(const swift::misc::simulation::CAircraftModel &model)
Set default values.
Specialized value object compliant map for variants, based on indexes.
Aircraft model (used by another pilot, my models on disk).
High level reusable GUI components.
Free functions in swift::misc.
QDialog(QWidget *parent, Qt::WindowFlags f)
QObject * parent() const const
WindowContextHelpButtonHint
QWidget(QWidget *parent, Qt::WindowFlags f)
void setWindowFlags(Qt::WindowFlags type)