-
- update();
-//printf("DrawingView::SetAddLineToolActive(). toolAction=%08X\n", toolAction);
-}
-
-
-void DrawingView::SetAddCircleToolActive(bool state/*= true*/)
-{
- if (state)
- {
- toolAction = new DrawCircleAction();
- connect(toolAction, SIGNAL(ObjectReady(Object *)), this,
- SLOT(AddNewObjectToDocument(Object *)));
- }
-
- update();
-}
-
-
-void DrawingView::SetAddArcToolActive(bool state/*= true*/)
-{
- if (state)
- {
- toolAction = new DrawArcAction();
- connect(toolAction, SIGNAL(ObjectReady(Object *)), this,
- SLOT(AddNewObjectToDocument(Object *)));
- }
-
- update();
-}
-
-
-void DrawingView::SetAddDimensionToolActive(bool state/*= true*/)
-{
- if (state)
- {
- toolAction = new DrawDimensionAction();
- connect(toolAction, SIGNAL(ObjectReady(Object *)), this,
- SLOT(AddNewObjectToDocument(Object *)));
- }
-
- update();