Skip to content

Commit

Permalink
add Brunos widget
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnnyDoorn committed Apr 2, 2024
1 parent 891b321 commit 13bb08a
Showing 1 changed file with 59 additions and 10 deletions.
69 changes: 59 additions & 10 deletions inst/qml/RegressionLinear.qml
Original file line number Diff line number Diff line change
Expand Up @@ -55,21 +55,70 @@ Form
}


// Section
// {
// title: qsTr("Model")

// VariablesForm
// {
// preferredHeight: jaspTheme.smallDefaultVariablesFormHeight
// AvailableVariablesList
// {
// name: "availableTerms"
// title: qsTr("Components")
// width: parent.width / 4
// source: ['covariates', 'factors']
// }
// ModelTermsList { width: parent.width * 5 / 9 }
// }

// CheckBox { name: "interceptTerm"; label: qsTr("Include intercept"); checked: true }
// }

Section
{
title: qsTr("Model")

VariablesForm

// VariablesForm
// {
// preferredHeight: jaspTheme.smallDefaultVariablesFormHeight
// AvailableVariablesList
// {
// title: "Available variables"
// name: "availableVariables"
// source: ['covariates', 'factors']

// }
// AssignedVariablesList
// {
// title: "Selected variables"
// name: "variables"
// }
// }

FactorsForm
{
preferredHeight: jaspTheme.smallDefaultVariablesFormHeight
AvailableVariablesList
{
name: "availableTerms"
title: qsTr("Components")
width: parent.width / 4
source: ['covariates', 'factors']
}
ModelTermsList { width: parent.width * 5 / 9 }
id: factors
name: "modelTerms"
allowAll: true
nested: nested.checked
allowInteraction: true
initNumberFactors: 2
baseName: "model"
baseTitle: "Model"
// availableVariablesList.source: "variables"
availableVariablesList.source: ['covariates', 'factors']
startIndex: 0
availableVariablesListName: "availableTerms"
}

CheckBox
{
id: nested
label: "Nested"
name: "nested"
checked: true
}

CheckBox { name: "interceptTerm"; label: qsTr("Include intercept"); checked: true }
Expand Down

0 comments on commit 13bb08a

Please sign in to comment.