resize(100,100);
ActivateLocalCS();
- GEOMBase_Helper::displayPreview( false, true, true, myLineWidth );
+ GEOMBase_Helper::displayPreview( true, false, true, true, myLineWidth );
}
Group2Spin->show();
Group2Spin->buttonApply->setFocus();
- GEOMBase_Helper::displayPreview( false, true, true, myLineWidth );
+ GEOMBase_Helper::displayPreview( true, false, true, true, myLineWidth );
}
else if ( constructorId == 0 ){ // Point + radius
mySketchType = PT_ABS_RADIUS;
Group3Spin->show();
Group3Spin->buttonApply->setFocus();
- GEOMBase_Helper::displayPreview( false, true, true, myLineWidth );
+ GEOMBase_Helper::displayPreview( true, false, true, true, myLineWidth );
}
else if ( constructorId == 2 ){ // Point + center
mySketchType = PT_ABS_CENTER;
Group4Spin->show();
Group4Spin->buttonApply->setFocus();
- GEOMBase_Helper::displayPreview( false, true, true, myLineWidth );
+ GEOMBase_Helper::displayPreview( true, false, true, true, myLineWidth );
}
}
Group2Spin->show();
Group2Spin->buttonApply->setFocus();
- GEOMBase_Helper::displayPreview( false, true, true, myLineWidth );
+ GEOMBase_Helper::displayPreview( true, false, true, true, myLineWidth );
}
else if ( constructorId == 0 ){ // Point + radius
mySketchType = PT_REL_RADIUS;
Group3Spin->show();
Group3Spin->buttonApply->setFocus();
- GEOMBase_Helper::displayPreview( false, true, true, myLineWidth );
+ GEOMBase_Helper::displayPreview( true, false, true, true, myLineWidth );
}
else if ( constructorId == 2 ){ // Point + center
mySketchType = PT_REL_CENTER;
Group4Spin->show();
Group4Spin->buttonApply->setFocus();
- GEOMBase_Helper::displayPreview( false, true, true, myLineWidth );
+ GEOMBase_Helper::displayPreview( true, false, true, true, myLineWidth );
}
}
}
}
- GEOMBase_Helper::displayPreview( false, true, true, myLineWidth );
+ GEOMBase_Helper::displayPreview( true, false, true, true, myLineWidth );
}
//=================================================================================
{
myCheckFlag = State;
- GEOMBase_Helper::displayPreview( false, true, true, myLineWidth );
+ GEOMBase_Helper::displayPreview( true, false, true, true, myLineWidth );
}
setEnabledRedo( false );
myIsApply = true;
- GEOMBase_Helper::displayPreview( false, true, true, myLineWidth );
+ GEOMBase_Helper::displayPreview( true, false, true, true, myLineWidth );
myIsApply = false;
// Set focus to SpinBox_DX
setEnabledRedo( true );
- GEOMBase_Helper::displayPreview( false, true, true, myLineWidth );
+ GEOMBase_Helper::displayPreview( true, false, true, true, myLineWidth );
}
//=================================================================================
if ( myUndoCommand.count() == 1 )
setEnabledRedo( false );
- GEOMBase_Helper::displayPreview( false, true, true, myLineWidth );
+ GEOMBase_Helper::displayPreview( true, false, true, true, myLineWidth );
}
//=================================================================================
- GEOMBase_Helper::displayPreview( false, true, true, myLineWidth );
+ GEOMBase_Helper::displayPreview( true, false, true, true, myLineWidth );
}
myEditCurrentArgument->setFocus();
}
- GEOMBase_Helper::displayPreview( false, true, true, myLineWidth );
+ GEOMBase_Helper::displayPreview( true, false, true, true, myLineWidth );
}
}
}
- GEOMBase_Helper::displayPreview( false, true, true, myLineWidth );
+ GEOMBase_Helper::displayPreview( true, false, true, true, myLineWidth );
}
const double lineWidth,
const int displayMode,
const int color )
-{
+{
// Set color for preview shape
getDisplayer()->SetColor( Quantity_NOC_RED );