EDF 2281 : Notebook parameters

This commit is contained in:
rnc 2012-07-19 15:13:50 +00:00
parent da81e0e4a0
commit d518ad5319
2 changed files with 4 additions and 7 deletions

View File

@ -218,10 +218,9 @@ bool AdvancedGUI_DividedCylinderDlg::execute (ObjectList& objects)
if (res && !IsPreview())
{
QStringList aParameters;
//@@ put stringified input parameters to the string list here to store in the data model for notebook @@//
// aParameters << @@ stringified parameter value @@; // R parameter
// aParameters << @@ stringified parameter value @@; // H parameter
// if ( aParameters.count() > 0 ) anObj->SetParameters(aParameters.join(":").toLatin1().constData()); // TODO set parameters here
aParameters << GroupParams->SpinBox_DX->text(); // R parameter
aParameters << GroupParams->SpinBox_DY->text(); // H parameter
if ( aParameters.count() > 0 ) anObj->SetParameters(aParameters.join(":").toLatin1().constData());
}
if (res)

View File

@ -258,9 +258,7 @@ bool AdvancedGUI_DividedDiskDlg::execute (ObjectList& objects)
if (res && !IsPreview())
{
QStringList aParameters;
//@@ put stringified input parameters to the string list here to store in the data model for notebook @@//
//aParameters << @@ stringified parameter value @@; // R parameter
//aParameters << @@ stringified parameter value @@; // Ratio parameter
aParameters << GroupParams->SpinBox_DX->text();
if ( aParameters.count() > 0 ) anObj->SetParameters(aParameters.join(":").toLatin1().constData());
}