-#include "rs_commandevent.h"
-#include "rs_creation.h"
-#include "rs_debug.h"
-#include "rs_dialogfactory.h"
+#include "commandevent.h"
+#include "creation.h"
+#include "debug.h"
+#include "dialogfactory.h"
GraphicView & graphicView):
ActionInterface("Draw Bisectors", container, graphicView),
bisector(NULL), line1(NULL), line2(NULL), length(10.0), number(1),
coord1(Vector(false)), coord2(Vector(false)), lastStatus(SetLine1)
{
GraphicView & graphicView):
ActionInterface("Draw Bisectors", container, graphicView),
bisector(NULL), line1(NULL), line2(NULL), length(10.0), number(1),
coord1(Vector(false)), coord2(Vector(false)), lastStatus(SetLine1)
{
creation.createBisector(coord1, coord2, length, number, line1, line2);
graphicView->redraw();
}
void ActionDrawLineBisector::mouseMoveEvent(QMouseEvent * e)
{
creation.createBisector(coord1, coord2, length, number, line1, line2);
graphicView->redraw();
}
void ActionDrawLineBisector::mouseMoveEvent(QMouseEvent * e)
{
Vector mouse = Vector(graphicView->toGraphX(e->x()),
graphicView->toGraphY(e->y()));
Vector mouse = Vector(graphicView->toGraphX(e->x()),
graphicView->toGraphY(e->y()));
creation.createBisector(coord1, coord2, length, number, line1, line2);
}
}
creation.createBisector(coord1, coord2, length, number, line1, line2);
}
}
{
QString c = e->getCommand().toLower();
if (checkCommand("help", c))
{
{
QString c = e->getCommand().toLower();
if (checkCommand("help", c))
{