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()) if (res && !IsPreview())
{ {
QStringList aParameters; QStringList aParameters;
//@@ put stringified input parameters to the string list here to store in the data model for notebook @@// aParameters << GroupParams->SpinBox_DX->text(); // R parameter
// aParameters << @@ stringified parameter value @@; // R parameter aParameters << GroupParams->SpinBox_DY->text(); // H parameter
// aParameters << @@ stringified parameter value @@; // H parameter if ( aParameters.count() > 0 ) anObj->SetParameters(aParameters.join(":").toLatin1().constData());
// if ( aParameters.count() > 0 ) anObj->SetParameters(aParameters.join(":").toLatin1().constData()); // TODO set parameters here
} }
if (res) if (res)

View File

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