mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-14 08:45:36 +08:00
- changed xSwiftBus page and added terrain probe copy Ui as well - component for terrain probe
51 lines
1.6 KiB
C++
51 lines
1.6 KiB
C++
/* Copyright (C) 2017
|
|
* 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_INSTALLSIMULATORSPECIFICCOMPONENT_H
|
|
#define BLACKGUI_COMPONENTS_INSTALLSIMULATORSPECIFICCOMPONENT_H
|
|
|
|
#include "blackgui/overlaymessagesframe.h"
|
|
#include <QWizard>
|
|
|
|
namespace BlackGui
|
|
{
|
|
namespace Components
|
|
{
|
|
class CInstallXSwiftBusComponent;
|
|
class CInstallFsxTerrainProbeComponent;
|
|
|
|
/**
|
|
* Simulator specific installation
|
|
*/
|
|
class CInstallSimulatorSpecificWizardPage : public COverlayMessagesWizardPage
|
|
{
|
|
public:
|
|
//! Constructors
|
|
using COverlayMessagesWizardPage::COverlayMessagesWizardPage;
|
|
|
|
//! Set config
|
|
void setConfigComponent(CInstallXSwiftBusComponent *config, CInstallFsxTerrainProbeComponent *fsxTerrainProbe)
|
|
{
|
|
m_xSwiftBusConfig = config;
|
|
m_fsxTerrainProbe = fsxTerrainProbe;
|
|
}
|
|
|
|
//! \copydoc QWizardPage::validatePage
|
|
virtual bool validatePage() override { return true; }
|
|
|
|
private:
|
|
CInstallXSwiftBusComponent *m_xSwiftBusConfig = nullptr;
|
|
CInstallFsxTerrainProbeComponent *m_fsxTerrainProbe = nullptr;
|
|
};
|
|
} // ns
|
|
} // ns
|
|
#endif // guard
|