swift
settingsmatchingdialog.cpp
1 // SPDX-FileCopyrightText: Copyright (C) 2018 swift Project Community / Contributors
2 // SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-swift-pilot-client-1
3 
5 
6 #include "ui_settingsmatchingdialog.h"
7 
8 using namespace swift::misc::simulation;
9 
10 namespace swift::gui::components
11 {
12  CSettingsMatchingDialog::CSettingsMatchingDialog(QWidget *parent)
13  : QDialog(parent), ui(new Ui::CSettingsMatchingDialog)
14  {
15  ui->setupUi(this);
16  }
17 
19 
21  {
22  return ui->comp_Settings->getMatchingSetup();
23  }
24 
26  {
27  ui->comp_Settings->setMatchingSetup(setup);
28  }
29 } // namespace swift::gui::components
swift::misc::simulation::CAircraftMatcherSetup getMatchingSetup() const
Get setup.
void setMatchingSetup(const swift::misc::simulation::CAircraftMatcherSetup &setup)
Set the setup.
High level reusable GUI components.
Definition: aboutdialog.cpp:13