mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 05:26:45 +08:00
Ref T265, Ref T430, Ref T473 renamed to CDbModelMappingModifyDialog (as it is a dialog)
This commit is contained in:
committed by
Mat Sutcliffe
parent
4aec50ccfc
commit
ddb26a0ea5
47
src/blackgui/components/dbmodelmappingmodifydialog.cpp
Normal file
47
src/blackgui/components/dbmodelmappingmodifydialog.cpp
Normal file
@@ -0,0 +1,47 @@
|
||||
/* 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 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 "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
|
||||
Reference in New Issue
Block a user