Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace mainWindow by dataSetInfo #121

Merged
merged 1 commit into from
Oct 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions inst/qml/LDamoroso.qml
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ Form
{
distributionName : "Amoroso"
formula : a.label + " = " + a.value + ", " + theta.label + " = " + theta.value + ", " + alpha.label + " = " + alpha.value + ", " + beta.label + " = " + beta.value
enabled : mainWindow.dataAvailable
enabled : dataSetInfo.dataAvailable
}

LD.LDEstimateParameters { enabled: mainWindow.dataAvailable }
LD.LDEstimateParameters { enabled: dataSetInfo.dataAvailable }

LD.LDAssessFit { enabled: mainWindow.dataAvailable }
LD.LDAssessFit { enabled: dataSetInfo.dataAvailable }
}
6 changes: 3 additions & 3 deletions inst/qml/LDbernoulli.qml
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,10 @@ Form
showCumulativeDistribution : false
histogramIsBarPlot : true
allowOnlyScaleColumns : false
enabled : mainWindow.dataAvailable
enabled : dataSetInfo.dataAvailable
}

LD.LDEstimateParameters { enabled: mainWindow.dataAvailable }
LD.LDEstimateParameters { enabled: dataSetInfo.dataAvailable }

LD.LDAssessFit { enabled: mainWindow.dataAvailable; distributionType: "categorical" }
LD.LDAssessFit { enabled: dataSetInfo.dataAvailable; distributionType: "categorical" }
}
6 changes: 3 additions & 3 deletions inst/qml/LDbeta.qml
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ Form
{
distributionName : "Beta"
formula : "α = " + alpha.value + ", β = " + beta.value
enabled : mainWindow.dataAvailable
enabled : dataSetInfo.dataAvailable
}

LD.LDEstimateParameters { enabled: mainWindow.dataAvailable }
LD.LDEstimateParameters { enabled: dataSetInfo.dataAvailable }

LD.LDAssessFit { enabled: mainWindow.dataAvailable }
LD.LDAssessFit { enabled: dataSetInfo.dataAvailable }
}
6 changes: 3 additions & 3 deletions inst/qml/LDbetaBinomial.qml
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,10 @@ Form
histogramIsBarPlot : true
allowOnlyScaleColumns : false
suggestScaleColumns : true
enabled : mainWindow.dataAvailable
enabled : dataSetInfo.dataAvailable
}

LD.LDEstimateParameters { enabled: mainWindow.dataAvailable }
LD.LDEstimateParameters { enabled: dataSetInfo.dataAvailable }

LD.LDAssessFit { enabled: mainWindow.dataAvailable; distributionType: "counts" }
LD.LDAssessFit { enabled: dataSetInfo.dataAvailable; distributionType: "counts" }
}
6 changes: 3 additions & 3 deletions inst/qml/LDbetaPrime.qml
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@ Form
{
distributionName : "Beta prime"
formula : "α = " + alpha.value + ", β = " + beta.value
enabled : mainWindow.dataAvailable
enabled : dataSetInfo.dataAvailable
}

LD.LDEstimateParameters { enabled: mainWindow.dataAvailable }
LD.LDEstimateParameters { enabled: dataSetInfo.dataAvailable }

LD.LDAssessFit { enabled: mainWindow.dataAvailable }
LD.LDAssessFit { enabled: dataSetInfo.dataAvailable }
}
6 changes: 3 additions & 3 deletions inst/qml/LDbetaStretched.qml
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ Form
{
distributionName : "Stretched Beta"
formula : "α = " + alpha.value + ", β = " + beta.value + ", a = " + lowerBound.value + ", b = " + upperBound.value
enabled : mainWindow.dataAvailable
enabled : dataSetInfo.dataAvailable
}

LD.LDEstimateParameters { enabled: mainWindow.dataAvailable }
LD.LDEstimateParameters { enabled: dataSetInfo.dataAvailable }

LD.LDAssessFit { enabled: mainWindow.dataAvailable }
LD.LDAssessFit { enabled: dataSetInfo.dataAvailable }
}
6 changes: 3 additions & 3 deletions inst/qml/LDbinomial.qml
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,10 @@ Form
histogramIsBarPlot : true
allowOnlyScaleColumns : false
suggestScaleColumns : true
enabled : mainWindow.dataAvailable
enabled : dataSetInfo.dataAvailable
}

LD.LDEstimateParameters { enabled: mainWindow.dataAvailable }
LD.LDEstimateParameters { enabled: dataSetInfo.dataAvailable }

LD.LDAssessFit { enabled: mainWindow.dataAvailable; distributionType: "counts" }
LD.LDAssessFit { enabled: dataSetInfo.dataAvailable; distributionType: "counts" }
}
6 changes: 3 additions & 3 deletions inst/qml/LDcauchy.qml
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ Form
{
distributionName : "Cauchy"
formula : mu.label + " = " + mu.value + ", " + sigma.label + " = " + sigma.value
enabled : mainWindow.dataAvailable
enabled : dataSetInfo.dataAvailable
}

LD.LDEstimateParameters { enabled: mainWindow.dataAvailable }
LD.LDEstimateParameters { enabled: dataSetInfo.dataAvailable }

LD.LDAssessFit { enabled: mainWindow.dataAvailable }
LD.LDAssessFit { enabled: dataSetInfo.dataAvailable }
}
6 changes: 3 additions & 3 deletions inst/qml/LDchisq.qml
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ Form
distributionName : "χ²"
distributionSimpleName : "chisq"
formula : "k = " + df.value + ", λ = " + ncp.value
enabled : mainWindow.dataAvailable
enabled : dataSetInfo.dataAvailable
}

LD.LDEstimateParameters { enabled: mainWindow.dataAvailable }
LD.LDEstimateParameters { enabled: dataSetInfo.dataAvailable }

LD.LDAssessFit { enabled: mainWindow.dataAvailable }
LD.LDAssessFit { enabled: dataSetInfo.dataAvailable }
}
6 changes: 3 additions & 3 deletions inst/qml/LDexponential.qml
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@ Form
{
distributionName : "Exponential"
formula : ["λ = ", "β = "][parametrization.currentIndex] + par.value
enabled : mainWindow.dataAvailable
enabled : dataSetInfo.dataAvailable
}

LD.LDEstimateParameters { enabled: mainWindow.dataAvailable }
LD.LDEstimateParameters { enabled: dataSetInfo.dataAvailable }

LD.LDAssessFit { enabled: mainWindow.dataAvailable }
LD.LDAssessFit { enabled: dataSetInfo.dataAvailable }
}
6 changes: 3 additions & 3 deletions inst/qml/LDf.qml
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ Form
{
distributionName : "f"
formula : "df 1 = " + df1.value + ", df 2 = " + df2.value + ", ncp = " + ncp.value
enabled : mainWindow.dataAvailable
enabled : dataSetInfo.dataAvailable
}

LD.LDEstimateParameters { enabled: mainWindow.dataAvailable }
LD.LDEstimateParameters { enabled: dataSetInfo.dataAvailable }

LD.LDAssessFit { enabled: mainWindow.dataAvailable }
LD.LDAssessFit { enabled: dataSetInfo.dataAvailable }
}
6 changes: 3 additions & 3 deletions inst/qml/LDfrechet.qml
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ Form
{
distributionName : "Fréchet"
formula : shape.label + " = " + shape.value + ", " + location.label + " = " + location.value + ", " + scale.label + " = " + scale.value
enabled : mainWindow.dataAvailable
enabled : dataSetInfo.dataAvailable
}

LD.LDEstimateParameters { enabled: mainWindow.dataAvailable }
LD.LDEstimateParameters { enabled: dataSetInfo.dataAvailable }

LD.LDAssessFit { enabled: mainWindow.dataAvailable }
LD.LDAssessFit { enabled: dataSetInfo.dataAvailable }
}
6 changes: 3 additions & 3 deletions inst/qml/LDgamma.qml
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,10 @@ Form
{
distributionName : "Gamma"
formula : shape.label + " = " + shape.value + ", " + par2.label + " = " + par2.value
enabled : mainWindow.dataAvailable
enabled : dataSetInfo.dataAvailable
}

LD.LDEstimateParameters { enabled: mainWindow.dataAvailable }
LD.LDEstimateParameters { enabled: dataSetInfo.dataAvailable }

LD.LDAssessFit { enabled: mainWindow.dataAvailable }
LD.LDAssessFit { enabled: dataSetInfo.dataAvailable }
}
6 changes: 3 additions & 3 deletions inst/qml/LDgammaInverse.qml
Original file line number Diff line number Diff line change
Expand Up @@ -96,15 +96,15 @@ Form
{
distributionName : "InvGamma"
formula : ["k = ", "α = ", "k = "][parametrization.currentIndex] + shape.value + [",θ = ", ",β = ", ",μ = "][parametrization.currentIndex] + par2.value
enabled : mainWindow.dataAvailable
enabled : dataSetInfo.dataAvailable
}

LD.LDEstimateParameters { enabled: mainWindow.dataAvailable }
LD.LDEstimateParameters { enabled: dataSetInfo.dataAvailable }

Section
{
title: qsTr("Assess Fit")
enabled: mainWindow.dataAvailable
enabled: dataSetInfo.dataAvailable

Group
{
Expand Down
6 changes: 3 additions & 3 deletions inst/qml/LDgaussianunivariate.qml
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,10 @@ Form
{
distributionName : "Normal"
formula : mu.label + " = " + mu.value + ", " + varValue.label + " = " + varValue.value
enabled : mainWindow.dataAvailable
enabled : dataSetInfo.dataAvailable
}

LD.LDEstimateParameters { enabled: mainWindow.dataAvailable }
LD.LDEstimateParameters { enabled: dataSetInfo.dataAvailable }

LD.LDAssessFit{ enabled: mainWindow.dataAvailable; includeShapiroWilk: true }
LD.LDAssessFit{ enabled: dataSetInfo.dataAvailable; includeShapiroWilk: true }
}
6 changes: 3 additions & 3 deletions inst/qml/LDgeometric.qml
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,10 @@ Form
histogramIsBarPlot : true
allowOnlyScaleColumns : false
suggestScaleColumns : true
enabled : mainWindow.dataAvailable
enabled : dataSetInfo.dataAvailable
}

LD.LDEstimateParameters { enabled: mainWindow.dataAvailable }
LD.LDEstimateParameters { enabled: dataSetInfo.dataAvailable }

LD.LDAssessFit { enabled: mainWindow.dataAvailable; distributionType: "counts" }
LD.LDAssessFit { enabled: dataSetInfo.dataAvailable; distributionType: "counts" }
}
6 changes: 3 additions & 3 deletions inst/qml/LDgompertz.qml
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,10 @@ Form
{
distributionName : "Gompertz"
formula : shape.label + " = " + shape.value + ", " + scale.label + " = " + scale.value
enabled : mainWindow.dataAvailable
enabled : dataSetInfo.dataAvailable
}

LD.LDEstimateParameters { enabled: mainWindow.dataAvailable }
LD.LDEstimateParameters { enabled: dataSetInfo.dataAvailable }

LD.LDAssessFit { enabled: mainWindow.dataAvailable }
LD.LDAssessFit { enabled: dataSetInfo.dataAvailable }
}
6 changes: 3 additions & 3 deletions inst/qml/LDgumbel.qml
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ Form
{
distributionName : "Gumbel"
formula : mu.label + " = " + mu.value + ", " + beta.label + " = " + beta.value
enabled : mainWindow.dataAvailable
enabled : dataSetInfo.dataAvailable
}

LD.LDEstimateParameters { enabled: mainWindow.dataAvailable }
LD.LDEstimateParameters { enabled: dataSetInfo.dataAvailable }

LD.LDAssessFit { enabled: mainWindow.dataAvailable }
LD.LDAssessFit { enabled: dataSetInfo.dataAvailable }
}
2 changes: 1 addition & 1 deletion inst/qml/LDhypergeometric.qml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ Form
histogramIsBarPlot : true
allowOnlyScaleColumns : false
suggestScaleColumns : true
enabled : mainWindow.dataAvailable
enabled : dataSetInfo.dataAvailable
}

}
6 changes: 3 additions & 3 deletions inst/qml/LDlaplace.qml
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ Form
{
distributionName : "Generalized Normal"
formula : "μ = " + mu.value + ", α = " + alpha.value + ", β = " + beta.value
enabled : mainWindow.dataAvailable
enabled : dataSetInfo.dataAvailable
}

LD.LDEstimateParameters { enabled: mainWindow.dataAvailable }
LD.LDEstimateParameters { enabled: dataSetInfo.dataAvailable }

LD.LDAssessFit{ enabled: mainWindow.dataAvailable }
LD.LDAssessFit{ enabled: dataSetInfo.dataAvailable }
}
6 changes: 3 additions & 3 deletions inst/qml/LDlogLogistic.qml
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,10 @@ Form
{
distributionName : "Log-logistic"
formula : par1.label + " = " + par1.value + ", " + par2.label + " = " + par2.value
enabled : mainWindow.dataAvailable
enabled : dataSetInfo.dataAvailable
}

LD.LDEstimateParameters { enabled: mainWindow.dataAvailable }
LD.LDEstimateParameters { enabled: dataSetInfo.dataAvailable }

LD.LDAssessFit { enabled: mainWindow.dataAvailable }
LD.LDAssessFit { enabled: dataSetInfo.dataAvailable }
}
6 changes: 3 additions & 3 deletions inst/qml/LDlogistic.qml
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ Form
{
distributionName : "Logistic"
formula : mu.label + " = " + mu.value + ", " + sigma.label + " = " + sigma.value
enabled : mainWindow.dataAvailable
enabled : dataSetInfo.dataAvailable
}

LD.LDEstimateParameters { enabled: mainWindow.dataAvailable }
LD.LDEstimateParameters { enabled: dataSetInfo.dataAvailable }

LD.LDAssessFit { enabled: mainWindow.dataAvailable }
LD.LDAssessFit { enabled: dataSetInfo.dataAvailable }
}
6 changes: 3 additions & 3 deletions inst/qml/LDlognormal.qml
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ Form
{
distributionName : "Log-normal"
formula : mu.label + " = " + mu.value + ", " + sigma.label + " = " + sigma.value
enabled : mainWindow.dataAvailable
enabled : dataSetInfo.dataAvailable
}

LD.LDEstimateParameters { enabled: mainWindow.dataAvailable }
LD.LDEstimateParameters { enabled: dataSetInfo.dataAvailable }

LD.LDAssessFit { enabled: mainWindow.dataAvailable }
LD.LDAssessFit { enabled: dataSetInfo.dataAvailable }
}
6 changes: 3 additions & 3 deletions inst/qml/LDmixtureNormalNormal.qml
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ Form
{
distributionName : "Mixture Normal and Normal"
formula : pi.label + " = " + pi.value + ", " + mu1.label + " = " + mu1.value + ", " + sigma1.label + " = " + sigma1.value + ", " + mu2.label + " = " + mu2.value + ", " + sigma2.label + " = " + sigma2.value
enabled : mainWindow.dataAvailable
enabled : dataSetInfo.dataAvailable
}

LD.LDEstimateParameters { enabled: mainWindow.dataAvailable }
LD.LDEstimateParameters { enabled: dataSetInfo.dataAvailable }

LD.LDAssessFit { enabled: mainWindow.dataAvailable }
LD.LDAssessFit { enabled: dataSetInfo.dataAvailable }
}
6 changes: 3 additions & 3 deletions inst/qml/LDmixtureNormalUniform.qml
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@ Form
{
distributionName : "Mixture Normal and Uniform"
formula : pi.label + " = " + pi.value + ", " + mu.label + " = " + mu.value + ", " + sigma.label + " = " + sigma.value + ", " + lowerBoundPar.label + " = " + lowerBoundPar.value + ", " + upperBoundPar.label + " = " + upperBoundPar.value
enabled : mainWindow.dataAvailable
enabled : dataSetInfo.dataAvailable
}

LD.LDEstimateParameters { enabled: mainWindow.dataAvailable }
LD.LDEstimateParameters { enabled: dataSetInfo.dataAvailable }

LD.LDAssessFit { enabled: mainWindow.dataAvailable }
LD.LDAssessFit { enabled: dataSetInfo.dataAvailable }
}
6 changes: 3 additions & 3 deletions inst/qml/LDnegbinomial.qml
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,10 @@ Form
histogramIsBarPlot : true
allowOnlyScaleColumns : false
suggestScaleColumns : true
enabled : mainWindow.dataAvailable
enabled : dataSetInfo.dataAvailable
}

LD.LDEstimateParameters { enabled: mainWindow.dataAvailable }
LD.LDEstimateParameters { enabled: dataSetInfo.dataAvailable }

LD.LDAssessFit { enabled: mainWindow.dataAvailable; distributionType: "counts" }
LD.LDAssessFit { enabled: dataSetInfo.dataAvailable; distributionType: "counts" }
}
6 changes: 3 additions & 3 deletions inst/qml/LDnormalGeneralized.qml
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@ Form
{
distributionName : "Generalized Normal"
formula : "μ = " + mu.value + ", α = " + alpha.value + ", β = " + beta.value
enabled : mainWindow.dataAvailable
enabled : dataSetInfo.dataAvailable
}

LD.LDEstimateParameters { enabled: mainWindow.dataAvailable }
LD.LDEstimateParameters { enabled: dataSetInfo.dataAvailable }

LD.LDAssessFit{ enabled: mainWindow.dataAvailable }
LD.LDAssessFit{ enabled: dataSetInfo.dataAvailable }
}
6 changes: 3 additions & 3 deletions inst/qml/LDnormalSkew.qml
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@ Form
{
distributionName : "Skew Normal"
formula : "ξ = " + xi.value + ", ω = " + omega.value + ", α = " + alpha.value
enabled : mainWindow.dataAvailable
enabled : dataSetInfo.dataAvailable
}

LD.LDEstimateParameters { enabled: mainWindow.dataAvailable }
LD.LDEstimateParameters { enabled: dataSetInfo.dataAvailable }

LD.LDAssessFit{ enabled: mainWindow.dataAvailable }
LD.LDAssessFit{ enabled: dataSetInfo.dataAvailable }
}
Loading