refs #576, updated mapping & stash components / form for auto stashing

* made some functions public
* removed unused signal
* comments
* consolidate functions
This commit is contained in:
Klaus Basan
2016-01-23 02:25:55 +01:00
parent ae43c4038c
commit f33366ed88
6 changed files with 185 additions and 71 deletions

View File

@@ -45,10 +45,10 @@ namespace BlackGui
return model;
}
CStatusMessageList CModelMappingForm::validate(bool withNestedForms) const
CStatusMessageList CModelMappingForm::validate(bool withNestedObjects) const
{
CAircraftModel model(getValue());
CStatusMessageList msgs(model.validate(withNestedForms));
CStatusMessageList msgs(model.validate(withNestedObjects));
this->ui->val_Indicator->setState(msgs);
return msgs;
}

View File

@@ -40,7 +40,7 @@ namespace BlackGui
BlackMisc::Simulation::CAircraftModel getValue() const;
//! Validate
BlackMisc::CStatusMessageList validate(bool withNestedForms) const;
BlackMisc::CStatusMessageList validate(bool withNestedObjects) const;
//! \copydoc CForm::setReadOnly
virtual void setReadOnly(bool readOnly) override;
@@ -53,9 +53,6 @@ namespace BlackGui
void setValue(BlackMisc::Simulation::CAircraftModel &model);
signals:
//! Request validation
void requestValidation();
//! Request stashing for model
void requestStash();