+ if(!IsLinear)
+ {
+ myDiscrLabel = new QLabel( tr( "LCM_DISCR_LABEL" ), mainFrame() );
+ myDeflSpinBox = new QDoubleSpinBox( mainFrame() );
+ myDeflSpinBox->setRange(0.001, 2);
+ myDeflSpinBox->setDecimals(3);
+ myDeflSpinBox->setSingleStep(0.001);
+ myDeflLabel = new QLabel ( tr( "LCM_DEFL_LABEL" ), mainFrame() );
+ aLayout->addWidget( myDiscrLabel, 2, 0 );
+ aLayout->addWidget( myDeflLabel, 3, 0, 1, 1 );
+ aLayout->addWidget( myDeflSpinBox, 3, 1, 2, 2 );
+ }
+ else
+ {
+ myDeflSpinBox = NULL;
+ myDeflLabel = NULL;
+ myDiscrLabel = NULL;
+ }
+