mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 21:56:43 +08:00
37 lines
1.3 KiB
C++
37 lines
1.3 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 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.
|
|
*/
|
|
|
|
#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_Settings->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
|