// We create the new object here, and then pass it off to the
// DrawingView which stuffs it into the document.
// line = new Line(p1, p2);
+ dimension = new Dimension(p1, p2);
// We don't need no stinkin' sentinels, when we have signals & slots!
emit ObjectReady(dimension);
- p1 = p2;
+ state = FIRST_POINT;
+// p1 = p2;
}
}
+
+/*virtual*/ bool DrawDimensionAction::KeyDown(int /*key*/)
+{
+ return false;
+}
+
+
+/*virtual*/ bool DrawDimensionAction::KeyReleased(int /*key*/)
+{
+ return false;
+}
+