mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-13 02:00:35 +05:00
EDF 2281 : Notebook parameters
This commit is contained in:
parent
da81e0e4a0
commit
d518ad5319
@ -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)
|
||||
|
@ -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());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user