Matcher settings as dialog so they can be changed in mapping tool model matcher for testing

This commit is contained in:
Klaus Basan
2018-10-27 20:50:54 +02:00
parent 8c3c55afec
commit 541fd4bd61
9 changed files with 247 additions and 18 deletions

View File

@@ -0,0 +1,48 @@
/* Copyright (C) 2018
* swift project Community / Contributors
*
* This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level
* directory of this distribution and at http://www.swift-project.org/license.html. No part of swift project,
* including this file, may be copied, modified, propagated, or distributed except according to the terms
* contained in the LICENSE file.
*/
//! \file
#ifndef BLACKGUI_COMPONENTS_SETTINGSMATCHINGDIALOG_H
#define BLACKGUI_COMPONENTS_SETTINGSMATCHINGDIALOG_H
#include "blackmisc/simulation/aircraftmatchersetup.h"
#include <QDialog>
#include <QScopedPointer>
namespace Ui { class CSettingsMatchingDialog; }
namespace BlackGui
{
namespace Components
{
//! Matching settings as dialog
class CSettingsMatchingDialog : public QDialog
{
Q_OBJECT
public:
//! Matching settings as dialog
explicit CSettingsMatchingDialog(QWidget *parent = nullptr);
//! Destructor
virtual ~CSettingsMatchingDialog();
//! Get setup
BlackMisc::Simulation::CAircraftMatcherSetup getMatchingSetup() const;
//! Set the setup
void setMatchingSetup(const BlackMisc::Simulation::CAircraftMatcherSetup &setup);
private:
QScopedPointer<Ui::CSettingsMatchingDialog> ui;
};
} // ns
} // ns
#endif // guard