Skip to content

Commit

Permalink
Update allowed variable types (#316)
Browse files Browse the repository at this point in the history
* update allowed types

* also fix comments, just in case
  • Loading branch information
JohnnyDoorn authored Jun 14, 2024
1 parent 437cb78 commit e0dcf6c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion inst/qml/doeAnalysis.qml
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ Form
AssignedVariablesList
{
name: "contourSurfacePlotVariables"
suggestedColumns: ["scale", "ordinal"]
allowedColumns: ["scale"]
title: qsTr("Plotting variables")
}
}
Expand Down
6 changes: 3 additions & 3 deletions inst/qml/doeResponseSurfaceMethodology.qml
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ Form
// VariablesForm
// {
// AvailableVariablesList { name: "rsmDesirability"; label: qsTr("Response variable list"); source: "rsmResponseVariables" }
// AssignedVariablesList { name: "rsmMin"; title: qsTr("Minimum [Min/Max]"); suggestedColumns: ["scale", "ordinal", "nominal"]
// AssignedVariablesList { name: "rsmMin"; title: qsTr("Minimum [Min/Max]"); allowedColumns: ["scale", "ordinal", "nominal"]
// rowComponent: Row
// {
// DoubleField {name: "Point_Min"; negativeValues: true}
Expand All @@ -364,7 +364,7 @@ Form

// AssignedVariablesList
// {
// name: "rsmMax"; title: qsTr("Maximum [Min/Max]"); suggestedColumns: ["scale", "ordinal", "nominal"]
// name: "rsmMax"; title: qsTr("Maximum [Min/Max]"); allowedColumns: ["scale", "ordinal", "nominal"]
// rowComponent: Row
// {
// DoubleField {name: "Point_Min_1"; negativeValues: true}
Expand All @@ -374,7 +374,7 @@ Form

// AssignedVariablesList
// {
// name: "rsmTar"; title: qsTr("Target [Min/Target/Max]"); suggestedColumns: ["scale", "ordinal", "nominal"]
// name: "rsmTar"; title: qsTr("Target [Min/Target/Max]"); allowedColumns: ["scale", "ordinal", "nominal"]
// rowComponent: Row
// {
// DoubleField {name: "Point_Min_2"; negativeValues: true }
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"); suggestedColumns: ["ordinal", "nominal"] }
AssignedVariablesList { name: "outcome"; title: qsTr("Outcomes"); allowedColumns: ["ordinal", "nominal"] }
AssignedVariablesList { name: "covariate"; title: qsTr("Covariates"); singleVariable: true }
}

Expand Down

0 comments on commit e0dcf6c

Please sign in to comment.