mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-04-08 11:57:26 +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())
|
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)
|
||||||
|
@ -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());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user