Skip to content

Commit

Permalink
Use visible property in place of a loader
Browse files Browse the repository at this point in the history
  • Loading branch information
boutinb committed Oct 30, 2023
1 parent 8f2f018 commit 6b7e357
Showing 1 changed file with 9 additions and 14 deletions.
23 changes: 9 additions & 14 deletions inst/qml/common/classical/AssumptionChecks.qml
Original file line number Diff line number Diff line change
Expand Up @@ -29,21 +29,16 @@ Section
property int analysis

CheckBox { name: "homogeneityTests"; label: qsTr("Homogeneity tests") }
Loader
Group
{
Component
{
id: homogeneityCorrections
Group
{
title: qsTr("Homogeneity corrections")
columns: 3
CheckBox { name: "homogeneityCorrectionNone"; label: qsTr("None") ; checked: true }
CheckBox { name: "homogeneityCorrectionBrown"; label: qsTr("Brown-Forsythe") ; checked: false }
CheckBox { name: "homogeneityCorrectionWelch"; label: qsTr("Welch") ; checked: false }
}
}
sourceComponent: analysis === Common.Type.Analysis.ANOVA ? homogeneityCorrections : undefined
visible: analysis === Common.Type.Analysis.ANOVA
height: visible ? implicitHeight : 0

title: qsTr("Homogeneity corrections")
columns: 3
CheckBox { name: "homogeneityCorrectionNone"; label: qsTr("None") ; checked: true }
CheckBox { name: "homogeneityCorrectionBrown"; label: qsTr("Brown-Forsythe") ; checked: false }
CheckBox { name: "homogeneityCorrectionWelch"; label: qsTr("Welch") ; checked: false }
}
CheckBox { name: "qqPlot"; label: qsTr("Q-Q plot of residuals") }
}

0 comments on commit 6b7e357

Please sign in to comment.