mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 20:15:35 +08:00
53 lines
1.6 KiB
C++
53 lines
1.6 KiB
C++
/* 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. 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_INSTALLFSXTERRAINPROBECOMPONENT_H
|
|
#define BLACKGUI_COMPONENTS_INSTALLFSXTERRAINPROBECOMPONENT_H
|
|
|
|
#include "blackmisc/simulation/settings/simulatorsettings.h"
|
|
#include <QFrame>
|
|
#include <QScopedPointer>
|
|
|
|
namespace Ui { class CInstallFsxTerrainProbeComponent; }
|
|
namespace BlackGui
|
|
{
|
|
namespace Components
|
|
{
|
|
//! Install the FSX/P3D terrain probe
|
|
class CInstallFsxTerrainProbeComponent : public QFrame
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
//! Constructor
|
|
explicit CInstallFsxTerrainProbeComponent(QWidget *parent = nullptr);
|
|
|
|
//! Destructors
|
|
virtual ~CInstallFsxTerrainProbeComponent();
|
|
|
|
private:
|
|
QScopedPointer<Ui::CInstallFsxTerrainProbeComponent> ui;
|
|
|
|
//! Select the directory
|
|
void selectSimObjectsDir();
|
|
|
|
//! Copy probe
|
|
void copyProbe();
|
|
|
|
//! Simulator has been changed
|
|
void onSimulatorChanged(const BlackMisc::Simulation::CSimulatorInfo &simulator);
|
|
|
|
BlackMisc::Simulation::Settings::CMultiSimulatorSettings m_simulatorSettings { this }; //!< for SimObjects directories
|
|
};
|
|
} // ns
|
|
} // ns
|
|
|
|
#endif // guard
|