mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-16 18:35:35 +08:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user