refs #575, using livery completer

* embedded in form
* rectified readOnly / only for selection
* added uper case validator where missing
* selecting airline triggers loading of default livery
This commit is contained in:
Klaus Basan
2016-01-15 23:10:39 +01:00
parent 8d57566a24
commit 6c81a0259a
19 changed files with 129 additions and 63 deletions

View File

@@ -56,6 +56,11 @@ namespace BlackGui
this->ui->le_Name->setReadOnly(readOnly);
}
void CModelMappingForm::setSelectOnly()
{
this->setReadOnly(true);
}
void CModelMappingForm::setValue(BlackMisc::Simulation::CAircraftModel &model)
{
ui->le_ModelKey->setText(model.getModelString());