diff --git a/src/musrgui/PSubTextEdit.cpp b/src/musrgui/PSubTextEdit.cpp index e869a0dc..f8acbc04 100644 --- a/src/musrgui/PSubTextEdit.cpp +++ b/src/musrgui/PSubTextEdit.cpp @@ -119,7 +119,6 @@ void PSubTextEdit::insertTitle() if (dlg->exec() == QDialog::Accepted) { QString title = dlg->fTitle_lineEdit->text(); insert(title+"\n"); - insert("###############################################################\n"); } } @@ -129,7 +128,10 @@ void PSubTextEdit::insertTitle() */ void PSubTextEdit::insertParameterBlock() { - insert("will insert a real parameter block"); + insert("###############################################################\n"); + insert("FITPARAMETER\n"); + insert("# Nr. Name Value Step Pos_Error Bounderies\n"); + insert(" 1 alpha 1.0 0.1 none 0 none\n\n"); } //---------------------------------------------------------------------------------------------------- diff --git a/src/musrgui/forms/GetParameterDialogBase.ui b/src/musrgui/forms/GetParameterDialogBase.ui new file mode 100644 index 00000000..48254a20 --- /dev/null +++ b/src/musrgui/forms/GetParameterDialogBase.ui @@ -0,0 +1,354 @@ + +GetParameterDialog + + + GetParameterDialog + + + + 0 + 0 + 245 + 302 + + + + Get Parameter + + + true + + + + fParam_frame + + + + 10 + 10 + 220 + 135 + + + + StyledPanel + + + Raised + + + + fNo_spinBox + + + + 71 + 11 + 140 + 24 + + + + 999 + + + + + fStep_lineEdit + + + + 71 + 101 + 140 + 24 + + + + + + fNo_textLabel + + + + 10 + 13 + 40 + 17 + + + + No + + + + + fName_textLabel + + + + 10 + 45 + 40 + 17 + + + + Name + + + + + fValue_textLabel + + + + 10 + 75 + 40 + 17 + + + + Value + + + + + fStep_textLabel + + + + 10 + 105 + 40 + 17 + + + + Step + + + + + fValue_lineEdit + + + + 71 + 71 + 140 + 24 + + + + + + fName_lineEdit + + + + 71 + 41 + 140 + 24 + + + + + + + fBoundary_frame + + + + 10 + 150 + 220 + 104 + + + + StyledPanel + + + Raised + + + + fUpper_textLabel + + + + 10 + 70 + 71 + 20 + + + + Upper + + + + + fLower_textLabel + + + + 10 + 40 + 71 + 20 + + + + Lower + + + + + fUpper_lineEdit + + + + 70 + 70 + 140 + 24 + + + + + + fBoundaryies_checkBox + + + + 10 + 10 + 95 + 22 + + + + Boundaries + + + + + fLower_lineEdit + + + true + + + + 70 + 40 + 140 + 24 + + + + number or 'none' + + + The lower limit can be either a number are the keyword 'none' + + + + + + layout9 + + + + 9 + 263 + 220 + 28 + + + + + unnamed + + + + buttonOk + + + &OK + + + + + + true + + + true + + + + + Horizontal Spacing2 + + + Horizontal + + + Expanding + + + + 50 + 20 + + + + + + buttonCancel + + + &Cancel + + + + + + true + + + + + + + + buttonOk + clicked() + GetParameterDialog + accept() + + + buttonCancel + clicked() + GetParameterDialog + reject() + + + + fNo_spinBox + fName_lineEdit + fValue_lineEdit + fStep_lineEdit + fBoundaryies_checkBox + fLower_lineEdit + fUpper_lineEdit + buttonOk + buttonCancel + + +