[welcomeq] Use the model properties to show recommendations and requirements

This commit is contained in:
Adriaan de Groot 2020-05-12 17:07:50 +02:00
parent 1a1fde1885
commit 3f9878afc1

View File

@ -60,14 +60,14 @@ Page
property var required: "yes" //requirementsModel
property var satisfied: "yes" //satisfiedRequirements
property var requiredMet: (required != satisfied) ? true : false
visible: requiredMet
visible: !config.requirementsModel.satisfiedRequirements
}
Requirements {
property var required: "yes" //requirementsModel
property var mandatory: "yes" //satisfiedMandatory
property var mandatoryMet: (required != mandatory) ? true : false
visible: mandatoryMet
visible: !config.requirementsModel.satisfiedMandatory
}
RowLayout {