Engauge Digitizer 2
|
Determine if inputs that were collected after a Guideline drag should result in a Cmd to move or Cmd to delete, and then generate the appropriate Cmd. More...
#include <GuidelineDragCommandFactory.h>
Public Member Functions | |
GuidelineDragCommandFactory () | |
Single constructor. | |
CmdAbstract * | createAfterDrag (MainWindow &mainWindow, Document &document, double newValue, const DocumentModelGuideline &modelGuidelineDocument, const QString &identifier, bool draggedOffscreen) |
Create delete or move Cmd. |
Determine if inputs that were collected after a Guideline drag should result in a Cmd to move or Cmd to delete, and then generate the appropriate Cmd.
Definition at line 21 of file GuidelineDragCommandFactory.h.
GuidelineDragCommandFactory::GuidelineDragCommandFactory | ( | ) |
CmdAbstract * GuidelineDragCommandFactory::createAfterDrag | ( | MainWindow & | mainWindow, |
Document & | document, | ||
double | newValue, | ||
const DocumentModelGuideline & | modelGuidelineDocument, | ||
const QString & | identifier, | ||
bool | draggedOffscreen ) |
Create delete or move Cmd.
The selected Cmd will act on the document Guidelines to make that set consistent with the displayed Guidelines (which includes the just-moved Guideline)
Definition at line 23 of file GuidelineDragCommandFactory.cpp.