mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 12:55:33 +08:00
Matcher settings as dialog so they can be changed in mapping tool model matcher for testing
This commit is contained in:
48
src/blackgui/components/settingsmatchingdialog.h
Normal file
48
src/blackgui/components/settingsmatchingdialog.h
Normal 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
|
||||
Reference in New Issue
Block a user