mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 21:15:33 +08:00
47 lines
1.5 KiB
C++
47 lines
1.5 KiB
C++
/* Copyright (C) 2016
|
|
* 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 "blackgui/components/dbmodelmappingmodifydialog.h"
|
|
#include "blackgui/editors/modelmappingmodifyform.h"
|
|
#include "ui_dbmodelmappingmodifydialog.h"
|
|
|
|
#include <QWidget>
|
|
|
|
using namespace BlackMisc;
|
|
using namespace BlackMisc::Simulation;
|
|
|
|
namespace BlackGui
|
|
{
|
|
namespace Components
|
|
{
|
|
CDbModelMappingModifyDialog::CDbModelMappingModifyDialog(QWidget *parent) :
|
|
QDialog(parent),
|
|
CDbMappingComponentAware(parent),
|
|
ui(new Ui::CDbModelMappingModifyDialog)
|
|
{
|
|
ui->setupUi(this);
|
|
this->setWindowFlags(this->windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
|
}
|
|
|
|
CDbModelMappingModifyDialog::~CDbModelMappingModifyDialog()
|
|
{
|
|
// void
|
|
}
|
|
|
|
CPropertyIndexVariantMap CDbModelMappingModifyDialog::getValues() const
|
|
{
|
|
return (ui->editor_ModelMappingModify->getValues());
|
|
}
|
|
|
|
void CDbModelMappingModifyDialog::setValue(const CAircraftModel &model)
|
|
{
|
|
ui->editor_ModelMappingModify->setValue(model);
|
|
}
|
|
} // ns
|
|
} // ns
|