Skip to content

Commit

Permalink
update AssignedVariablesList (#239)
Browse files Browse the repository at this point in the history
  • Loading branch information
FBartos authored Jun 19, 2024
1 parent 6766e82 commit 96dfb89
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 25 deletions.
8 changes: 4 additions & 4 deletions inst/qml/BayesianBinomialMetaAnalysis.qml
Original file line number Diff line number Diff line change
Expand Up @@ -37,31 +37,31 @@ Form
name: "successesGroup1"
title: qsTr("Successes (group 1)")
singleVariable: true
allowedColumns: ["ordinal", "scale"]
allowedColumns: ["scale"]
}

AssignedVariablesList
{
name: "successesGroup2"
title: qsTr("Successes (group 2)")
singleVariable: true
allowedColumns: ["ordinal", "scale"]
allowedColumns: ["scale"]
}

AssignedVariablesList
{
name: "observationsGroup1"
title: qsTr("Observations (group 1)")
singleVariable: true
allowedColumns: ["ordinal", "scale"]
allowedColumns: ["scale"]
}

AssignedVariablesList
{
name: "observationsGroup2"
title: qsTr("Observations (group 2)")
singleVariable: true
allowedColumns: ["ordinal", "scale"]
allowedColumns: ["scale"]
}


Expand Down
10 changes: 5 additions & 5 deletions inst/qml/ClassicalMetaAnalysis.qml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ Form
{
preferredHeight: 400 * preferencesModel.uiScale
AvailableVariablesList { name: "allVariables" }
AssignedVariablesList { name: "effectSize"; title: qsTr("Effect Size"); singleVariable: true; suggestedColumns: ["scale"] }
AssignedVariablesList { name: "effectSizeSe"; title: qsTr("Effect Size Standard Error"); singleVariable: true; suggestedColumns: ["scale"] }
AssignedVariablesList { name: "effectSize"; title: qsTr("Effect Size"); singleVariable: true; allowedColumns: ["scale"] }
AssignedVariablesList { name: "effectSizeSe"; title: qsTr("Effect Size Standard Error"); singleVariable: true; allowedColumns: ["scale"] }
MA.ClassicalMetaAnalysisMethod{ visible: true}
AssignedVariablesList { name: "studyLabel"; title: qsTr("Study Labels"); singleVariable: true; suggestedColumns: ["ordinal", "nominal"] }
AssignedVariablesList { name: "covariates"; title: qsTr("Covariates"); suggestedColumns: ["scale"] }
AssignedVariablesList { name: "factors"; title: qsTr("Factors"); suggestedColumns: ["ordinal", "nominal"] }
AssignedVariablesList { name: "studyLabel"; title: qsTr("Study Labels"); singleVariable: true; allowedColumns: ["nominal"] }
AssignedVariablesList { name: "covariates"; title: qsTr("Covariates"); allowedColumns: ["scale"] }
AssignedVariablesList { name: "factors"; title: qsTr("Factors"); allowedColumns: ["nominal"] }
}

Section
Expand Down
8 changes: 4 additions & 4 deletions inst/qml/MultilevelMetaAnalysis.qml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ Form
{
preferredHeight: 400 * preferencesModel.uiScale
AvailableVariablesList { name: "allVariables" }
AssignedVariablesList { name: "ES_name"; title: qsTr("Effect Size"); singleVariable: true; suggestedColumns: ["scale"] }
AssignedVariablesList { name: "SE_name"; title: qsTr("Effect Size Variance"); singleVariable: true; suggestedColumns: ["scale"] }
AssignedVariablesList { name: "ES_name"; title: qsTr("Effect Size"); singleVariable: true; allowedColumns: ["scale"] }
AssignedVariablesList { name: "SE_name"; title: qsTr("Effect Size Variance"); singleVariable: true; allowedColumns: ["scale"] }
AssignedVariablesList { name: "fixedEffects"; title: qsTr("Fixed Effects") }
AssignedVariablesList { name: "inner_grouping"; title: qsTr("Inner Grouping (Multivariate Structure)"); singleVariable: true; suggestedColumns: ["ordinal", "nominal"] }
AssignedVariablesList { name: "outer_grouping"; title: qsTr("Outer Grouping (Grouping Structure)"); singleVariable: false; suggestedColumns: ["ordinal", "nominal"] }
AssignedVariablesList { name: "inner_grouping"; title: qsTr("Inner Grouping (Multivariate Structure)"); singleVariable: true; allowedColumns: ["nominal"] }
AssignedVariablesList { name: "outer_grouping"; title: qsTr("Outer Grouping (Grouping Structure)"); singleVariable: false; allowedColumns: ["nominal"] }
}


Expand Down
10 changes: 5 additions & 5 deletions inst/qml/PenalizedMetaAnalysis.qml
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ Form
name: "effectSize"
title: qsTr("Effect Size")
singleVariable: true
suggestedColumns: ["scale"]
allowedColumns: ["scale"]
}

AssignedVariablesList
{
name: "effectSizeSe"
title: qsTr("Effect Size Standard Error")
singleVariable: true
suggestedColumns: ["scale"]
allowedColumns: ["scale"]
}

DropDown
Expand Down Expand Up @@ -75,22 +75,22 @@ Form
id: covariates
name: "covariates"
title: qsTr("Covariates")
suggestedColumns: ["scale"]
allowedColumns: ["scale"]
}

AssignedVariablesList
{
name: "factors"
title: qsTr("Factors")
suggestedColumns: ["ordinal", "nominal"]
allowedColumns: ["nominal"]
}

AssignedVariablesList
{
name: "clustering"
title: qsTr("Clustering")
singleVariable: true
suggestedColumns: ["ordinal", "nominal"]
allowedColumns: ["nominal"]
}
}

Expand Down
2 changes: 1 addition & 1 deletion inst/qml/PetPeese.qml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Form
name: "sampleSize"
title: qsTr("Sample size")
singleVariable: true
allowedColumns: ["scale", "ordinal"]
allowedColumns: ["scale"]
visible: active

property bool active: measuresCorrelation.checked
Expand Down
2 changes: 1 addition & 1 deletion inst/qml/RobustBayesianMetaAnalysis.qml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ Form
name: "sampleSize"
title: qsTr("N")
singleVariable: true
allowedColumns: ["scale", "ordinal"]
allowedColumns: ["scale"]
visible: checkListVisibility(name)
}

Expand Down
2 changes: 1 addition & 1 deletion inst/qml/SelectionModels.qml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Form
name: "sampleSize"
title: qsTr("N")
singleVariable: true
allowedColumns: ["scale", "ordinal"]
allowedColumns: ["scale"]
visible: active

property bool active: measures_correlation.checked
Expand Down
2 changes: 1 addition & 1 deletion inst/qml/WaapWls.qml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Form
name: "sampleSize"
title: qsTr("Sample size")
singleVariable: true
allowedColumns: ["scale", "ordinal"]
allowedColumns: ["scale"]
visible: active

property bool active: measuresCorrelation.checked
Expand Down
6 changes: 3 additions & 3 deletions inst/qml/qml_components/PredictionPerformanceData.qml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Item
id: inputN
title: qsTr("Number of Participants")
singleVariable: true
allowedColumns: ["scale", "ordinal"]
allowedColumns: ["scale"]
}

AssignedVariablesList
Expand All @@ -90,7 +90,7 @@ Item
id: inputO
title: qsTr("Number of Observed Events")
singleVariable: true
allowedColumns: ["scale", "ordinal"]
allowedColumns: ["scale"]
}

AssignedVariablesList
Expand All @@ -99,7 +99,7 @@ Item
id: inputE
title: qsTr("Number of Expected Events")
singleVariable: true
allowedColumns: ["scale", "ordinal"]
allowedColumns: ["scale"]
}

AssignedVariablesList
Expand Down

0 comments on commit 96dfb89

Please sign in to comment.