refs #577, allow to assign editor values to a bunch of models by context menu

This commit is contained in:
Klaus Basan
2016-01-25 21:57:49 +01:00
parent bef69cf1a5
commit 68d2a4bc81
4 changed files with 120 additions and 2 deletions

View File

@@ -59,6 +59,11 @@ namespace BlackGui
return livery;
}
CAirlineIcaoCode CLiveryForm::getValueAirlineIcao() const
{
return this->ui->editor_AirlineIcao->getValue();
}
void CLiveryForm::setValue(const CLivery &livery)
{
this->ui->livery_Selector->setLivery(livery);
@@ -88,6 +93,11 @@ namespace BlackGui
return msgs;
}
CStatusMessageList CLiveryForm::validateAirlineIcao() const
{
return this->ui->editor_AirlineIcao->validate();
}
void CLiveryForm::allowDrop(bool allowDrop)
{
this->ui->drop_DropData->allowDrop(allowDrop);