RS_DEBUG->print("ActionDrawLine::ActionDrawLine");
reset();
//hm.
- graphicView.snapper.SetContainer(&container);
- graphicView.snapper.SetGraphicView(&graphicView);
- graphicView.snapper.SetVisible();
- graphicView.preview.SetVisible();
+// graphicView.snapper.SetContainer(&container);
+// graphicView.snapper.SetGraphicView(&graphicView);
+// graphicView.snapper.SetVisible();
+// graphicView.preview.SetVisible();
RS_DEBUG->print("ActionDrawLine::ActionDrawLine: OK");
}
void ActionDrawLine::init(int status)
{
RS_DEBUG->print("ActionDrawLine::init");
-// ActionInterface::init(status);
ActionInterface::init(status);
reset();
RS_DEBUG->print("ActionDrawLine::init: OK");
}
else if (e->button() == Qt::RightButton)
{
- if (getStatus() == 0)
- {
- graphicView->snapper.SetVisible(false);
- graphicView->preview.SetVisible(false);
- }
+// if (getStatus() == 0)
+// {
+// graphicView->snapper.SetVisible(false);
+// graphicView->preview.SetVisible(false);
+// }
init(getStatus() - 1);
}
void ActionDrawLine::showOptions()
{
RS_DEBUG->print("ActionDrawLine::showOptions");
-// ActionInterface::showOptions();
ActionInterface::showOptions();
RS_DIALOGFACTORY->requestOptions(this, true);
RS_DEBUG->print("ActionDrawLine::showOptions: OK");
void ActionDrawLine::hideOptions()
{
-// ActionInterface::hideOptions();
ActionInterface::hideOptions();
RS_DIALOGFACTORY->requestOptions(this, false);
}