mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 08:28:21 +08:00
36 lines
1.2 KiB
C++
36 lines
1.2 KiB
C++
/* Copyright (C) 2015
|
|
* 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.
|
|
*/
|
|
|
|
#include "simulatorfsxconfigwindow.h"
|
|
#include "ui_simulatorfsxconfigwindow.h"
|
|
|
|
using namespace BlackGui;
|
|
|
|
namespace BlackSimPlugin
|
|
{
|
|
namespace FsxCommon
|
|
{
|
|
CSimulatorFsxConfigWindow::CSimulatorFsxConfigWindow(const QString &simulator, QWidget *parent) :
|
|
CPluginConfigWindow(parent),
|
|
m_simulator(simulator),
|
|
ui(new Ui::CSimulatorFsxConfigWindow)
|
|
{
|
|
ui->setupUi(this);
|
|
ui->tw_Settings->setCurrentIndex(0);
|
|
ui->comp_FsxSettings->setSimulator(m_simulator);
|
|
connect(ui->bb_OkCancel, &QDialogButtonBox::rejected, this, &QWidget::close);
|
|
this->setWindowTitle(m_simulator.toQString(true) + " plugin configuration");
|
|
}
|
|
|
|
CSimulatorFsxConfigWindow::~CSimulatorFsxConfigWindow()
|
|
{
|
|
// void
|
|
}
|
|
} // ns
|
|
} // ns
|