mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-20 12:35:43 +08:00
Ref T357, wizard page to copy terrain probe
- changed xSwiftBus page and added terrain probe copy Ui as well - component for terrain probe
This commit is contained in:
50
src/blackgui/components/installsimulatorspecificwizardpage.h
Normal file
50
src/blackgui/components/installsimulatorspecificwizardpage.h
Normal file
@@ -0,0 +1,50 @@
|
||||
/* 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
|
||||
Reference in New Issue
Block a user