Skip to content

Commit

Permalink
change variable types to single type (#317)
Browse files Browse the repository at this point in the history
  • Loading branch information
JTPetter authored Jun 14, 2024
1 parent e0dcf6c commit ea4a93d
Show file tree
Hide file tree
Showing 11 changed files with 41 additions and 41 deletions.
2 changes: 1 addition & 1 deletion inst/qml/attributesCharts.qml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Form
title: qsTr("Timestamp (optional)")
id: timeStamp
singleVariable: true
allowedColumns: ["nominal","ordinal"]
allowedColumns: ["nominal"]
}
}

Expand Down
18 changes: 9 additions & 9 deletions inst/qml/doeAnalysis.qml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Form
AssignedVariablesList
{
name: "dependentFactorial"
allowedColumns: ["scale", "ordinal"]
allowedColumns: ["scale"]
singleVariable: true
label: qsTr("Response")
}
Expand All @@ -41,7 +41,7 @@ Form
{
id: fixedFactorsFactorial
name: "fixedFactorsFactorial"
allowedColumns: ["ordinal", "nominal"]
allowedColumns: ["nominal"]
label: qsTr("Discrete predictors")
height: 75 * preferencesModel.uiScale
}
Expand All @@ -50,7 +50,7 @@ Form
{
id: continuousFactorsFactorial
name: "continuousFactorsFactorial"
allowedColumns: ["scale", "ordinal"]
allowedColumns: ["scale"]
label: qsTr("Continuous predictors")
height: 75 * preferencesModel.uiScale
}
Expand All @@ -60,7 +60,7 @@ Form
name: "covariates"
id: covariates
label: qsTr("Covariates")
allowedColumns: ["ordinal", "scale"]
allowedColumns: ["scale"]
height: 75 * preferencesModel.uiScale
}

Expand All @@ -69,7 +69,7 @@ Form
name: "blocksFactorial"
singleVariable: true
label: qsTr("Blocks")
allowedColumns: ["ordinal", "scale", "nominal"]
allowedColumns: ["nominal"]
}
}

Expand All @@ -86,7 +86,7 @@ Form
AssignedVariablesList
{
name: "dependentResponseSurface"
allowedColumns: ["scale", "ordinal"]
allowedColumns: ["scale"]
singleVariable: true
label: qsTr("Response")
}
Expand All @@ -95,7 +95,7 @@ Form
{
id: continuousFactorsResponseSurface
name: "continuousFactorsResponseSurface"
allowedColumns: ["scale", "ordinal"]
allowedColumns: ["scale"]
label: qsTr("Continuous predictors")
height: 125 * preferencesModel.uiScale
}
Expand All @@ -104,7 +104,7 @@ Form
{
id: fixedFactorsResponseSurface
name: "fixedFactorsResponseSurface"
allowedColumns: ["ordinal", "nominal"]
allowedColumns: ["nominal"]
label: qsTr("Discrete predictors")
height: 125 * preferencesModel.uiScale
}
Expand All @@ -114,7 +114,7 @@ Form
name: "blocksResponseSurface"
singleVariable: true
label: qsTr("Blocks")
allowedColumns: ["ordinal", "scale", "nominal"]
allowedColumns: ["nominal"]
}
}

Expand Down
12 changes: 6 additions & 6 deletions inst/qml/msaAttribute.qml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Form
title: qsTr("Results")
id: measurementLongFormat
singleVariable: true
allowedColumns: ["nominal", "ordinal","scale"]
allowedColumns: ["nominal"]
}

AssignedVariablesList
Expand All @@ -67,15 +67,15 @@ Form
name: "partLongFormat"
title: qsTr("Part")
singleVariable: true
allowedColumns: ["nominal", "ordinal", "scale"]
allowedColumns: ["nominal"]
}

AssignedVariablesList
{
name: "standardLongFormat"
title: qsTr("Standard")
singleVariable: true
allowedColumns: ["nominal", "ordinal","scale"]
allowedColumns: ["nominal"]
}
}

Expand All @@ -94,7 +94,7 @@ Form
name: "measurementsWideFormat"
title: qsTr("Results")
id: measurementsWideFormat
allowedColumns: ["nominal", "ordinal","scale"]
allowedColumns: ["nominal"]
}

AssignedVariablesList
Expand All @@ -110,15 +110,15 @@ Form
name: "partWideFormat"
title: qsTr("Part")
singleVariable: true
allowedColumns: ["nominal", "ordinal", "scale"]
allowedColumns: ["nominal"]
}

AssignedVariablesList
{
name: "standardWideFormat"
title: qsTr("Standard")
singleVariable: true
allowedColumns: ["nominal", "ordinal","scale"]
allowedColumns: ["nominal"]
}

}
Expand Down
6 changes: 3 additions & 3 deletions inst/qml/msaGaugeLinearity.qml
Original file line number Diff line number Diff line change
Expand Up @@ -35,23 +35,23 @@ Form
name: "part"
title: qsTr("Parts")
singleVariable: true
allowedColumns: ["nominal", "ordinal","scale"]
allowedColumns: ["nominal"]
}

AssignedVariablesList
{
name: "measurement"
title: qsTr("Measurements")
singleVariable: true
allowedColumns: ["nominal", "ordinal","scale"]
allowedColumns: ["scale"]
}

AssignedVariablesList
{
name: "standard"
title: qsTr("Standard")
singleVariable: true
allowedColumns: ["nominal", "ordinal","scale"]
allowedColumns: ["scale"]
}
}

Expand Down
8 changes: 4 additions & 4 deletions inst/qml/msaGaugeRR.qml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Form
title: qsTr("Operator")
id: operatorLongFormat
singleVariable: true
allowedColumns: ["nominal", "ordinal"]
allowedColumns: ["nominal"]
enabled: !type3.checked
}

Expand All @@ -73,7 +73,7 @@ Form
name: "partLongFormat"
title: qsTr("Part")
singleVariable: true
allowedColumns: ["nominal", "ordinal", "scale"]
allowedColumns: ["nominal"]
}
}

Expand Down Expand Up @@ -102,7 +102,7 @@ Form
title: qsTr("Operator")
id: operatorWideFormat
singleVariable: true
allowedColumns: ["nominal", "ordinal"]
allowedColumns: ["nominal"]
enabled: !type3.checked
}

Expand All @@ -111,7 +111,7 @@ Form
name: "partWideFormat"
title: qsTr("Part")
singleVariable: true
allowedColumns: ["nominal", "ordinal", "scale"]
allowedColumns: ["nominal"]
}
}

Expand Down
8 changes: 4 additions & 4 deletions inst/qml/msaGaugeRRnonrep.qml
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,15 @@ Form
name: "operatorLongFormat"
title: qsTr("Operators")
singleVariable: true
allowedColumns: ["nominal", "ordinal"]
allowedColumns: ["nominal"]
}

AssignedVariablesList
{
name: "partLongFormat"
title: qsTr("Parts")
singleVariable: true
allowedColumns: ["nominal", "ordinal", "scale"]
allowedColumns: ["nominal"]
}
}

Expand All @@ -93,15 +93,15 @@ Form
name: "operatorWideFormat"
title: qsTr("Operators")
singleVariable: true
allowedColumns: ["nominal", "ordinal"]
allowedColumns: ["nominal"]
}

AssignedVariablesList
{
name: "partWideFormat"
title: qsTr("Parts")
singleVariable: true
allowedColumns: ["nominal", "ordinal", "scale"]
allowedColumns: ["nominal"]
}
}

Expand Down
4 changes: 2 additions & 2 deletions inst/qml/msaTestRetest.qml
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,15 @@ Form
name: "partLongFormat"
title: qsTr("Part")
singleVariable: true
allowedColumns: ["nominal", "ordinal", "scale"]
allowedColumns: ["nominal"]
}

AssignedVariablesList
{
name: "operator"
title: qsTr("Operator / Repetition")
singleVariable: true
allowedColumns: ["nominal", "ordinal"]
allowedColumns: ["nominal"]
}
}

Expand Down
2 changes: 1 addition & 1 deletion inst/qml/probabilityOfDetection.qml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Form
VariablesForm
{
AvailableVariablesList { name: "allVariablesList" }
AssignedVariablesList { name: "outcome"; title: qsTr("Outcomes"); allowedColumns: ["ordinal", "nominal"] }
AssignedVariablesList { name: "outcome"; title: qsTr("Outcomes"); allowedColumns: ["nominal"] }
AssignedVariablesList { name: "covariate"; title: qsTr("Covariates"); singleVariable: true }
}

Expand Down
8 changes: 4 additions & 4 deletions inst/qml/processCapabilityStudies.qml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Form
title: qsTr("Subgroup")
id: subgroup
singleVariable: true
allowedColumns: ["nominal", "ordinal"]
allowedColumns: ["nominal"]
enabled: subgroupSizeType.value == "groupingVariable"
}

Expand All @@ -75,7 +75,7 @@ Form
name: "stagesLongFormat"
title: qsTr("Stages")
singleVariable: true
allowedColumns: ["nominal", "ordinal"]
allowedColumns: ["nominal"]
}
}

Expand Down Expand Up @@ -103,7 +103,7 @@ Form
name: "axisLabels"
title: qsTr("Timestamp (optional)")
singleVariable: true
allowedColumns: ["nominal", "ordinal"]
allowedColumns: ["nominal"]
}

AssignedVariablesList
Expand All @@ -112,7 +112,7 @@ Form
name: "stagesWideFormat"
title: qsTr("Stages")
singleVariable: true
allowedColumns: ["nominal", "ordinal"]
allowedColumns: ["nominal"]
}
}

Expand Down
6 changes: 3 additions & 3 deletions inst/qml/variablesChartsIndividuals.qml
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,23 @@ Form
name: "measurement"
title: qsTr("Measurement")
singleVariable: true
allowedColumns: ["scale", "ordinal"]
allowedColumns: ["scale"]
}

AssignedVariablesList
{
name: "axisLabels"
title: qsTr("Timestamp (optional)")
singleVariable: true
allowedColumns: ["nominal", "ordinal"]
allowedColumns: ["nominal"]
}

AssignedVariablesList
{
name: "stage"
title: qsTr("Stage")
singleVariable: true
allowedColumns: ["nominal", "ordinal"]
allowedColumns: ["nominal"]
}
}

Expand Down
8 changes: 4 additions & 4 deletions inst/qml/variablesChartsSubgroups.qml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Form
name: "subgroup"
title: qsTr("Subgroups")
singleVariable: true
allowedColumns: ["nominal", "ordinal"]
allowedColumns: ["nominal"]
enabled: subgroupSizeType.value == "groupingVariable"
}

Expand All @@ -54,7 +54,7 @@ Form
id: stagesLongFormat
title: qsTr("Stages")
singleVariable: true
allowedColumns: ["nominal", "ordinal"]
allowedColumns: ["nominal"]
}
}

Expand Down Expand Up @@ -85,7 +85,7 @@ Form
name: "axisLabels"
title: qsTr("Timestamp (optional)")
singleVariable: true
allowedColumns: ["nominal", "ordinal"]
allowedColumns: ["nominal"]
}

AssignedVariablesList
Expand All @@ -94,7 +94,7 @@ Form
id: stagesWideFormat
title: qsTr("Stages")
singleVariable: true
allowedColumns: ["nominal", "ordinal"]
allowedColumns: ["nominal"]
}
}

Expand Down

0 comments on commit ea4a93d

Please sign in to comment.