Skip to content

Commit

Permalink
Disable the explanations (#56)
Browse files Browse the repository at this point in the history
* Disable the explanations

* Add TODO instead of deleting placeholder
  • Loading branch information
JTPetter authored Sep 14, 2023
1 parent b19013c commit 5e3dcb5
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 10 deletions.
2 changes: 1 addition & 1 deletion R/LSTdecisionTree.R
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ LSTdecisionTree <- function(jaspResults, dataset = NULL, options) {

jaspResults[["DecisionTree"]] <- createJaspContainer("")
jaspResults[["DecisionTree"]][["Heading"]] <- plot1
jaspResults[["DecisionTree"]][["Text"]] <- createJaspHtml("Some explanation and maybe a link to the test?", "p")
# jaspResults[["DecisionTree"]][["Text"]] <- createJaspHtml("placeholder", "p") #TODO: Write an informative explanation for each test and where to find it in JASP (maybe even create a link if possible).

# create decision tree plot
if (options[["displayFullTree"]]) {
Expand Down
9 changes: 8 additions & 1 deletion inst/qml/LSTPValues.qml
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,13 @@ Form
Section
{
title: qsTr("Options")
CheckBox { name: "introText"; label: qsTr("Introductory text") }

CheckBox
{
name: "introText"
label: qsTr("Introductory text")
checked: false
enabled: false
}
}
}
9 changes: 6 additions & 3 deletions inst/qml/LSTcentralLimitTheorem.qml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ Form
{
name: "parentExplain"
label: qsTr("Show explanatory text")
checked: true
checked: false
enabled: false
}
}

Expand Down Expand Up @@ -179,7 +180,8 @@ Form
{
name: "samplesExplain"
label: qsTr("Show explanatory text")
checked: true
checked: false
enabled: false
}

DoubleField
Expand Down Expand Up @@ -279,7 +281,8 @@ Form
{
name: "samplingDistExplain"
label: qsTr("Show explanatory text")
checked: true
checked: false
enabled: false
}
}

Expand Down
2 changes: 2 additions & 0 deletions inst/qml/LSTdescriptives.qml
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,8 @@ Form
{
name: "LSdescExplanation"
label: qsTr("Show explanation")
checked: false
enabled: false
}
}
}
Expand Down
6 changes: 4 additions & 2 deletions inst/qml/LSTsampleVariability.qml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ Form
{
name: "parentExplain"
label: qsTr("Show explanatory text")
checked: true
checked: false
enabled: false
}
}

Expand Down Expand Up @@ -249,7 +250,8 @@ Form
{
name: "samplesExplain"
label: qsTr("Show explanatory text")
checked: true
checked: false
enabled: false
}

DoubleField
Expand Down
9 changes: 6 additions & 3 deletions inst/qml/LSTstandardError.qml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ Form
{
name: "parentExplain"
label: qsTr("Show explanatory text")
checked: true
checked: false
enabled: false
}
}

Expand Down Expand Up @@ -187,7 +188,8 @@ Form
{
name: "samplesExplain"
label: qsTr("Show explanatory text")
checked: true
checked: false
enabled: false
}

DoubleField
Expand Down Expand Up @@ -287,7 +289,8 @@ Form
{
name: "samplingDistExplain"
label: qsTr("Show explanatory text")
checked: true
checked: false
enabled: false
}
}

Expand Down

0 comments on commit 5e3dcb5

Please sign in to comment.