Engauge Digitizer 2
|
Storage of one imported image and the data attached to that image. More...
#include <Document.h>
Public Member Functions | |
Document (const QImage &image) | |
Constructor for imported images and dragged images. Only one coordinate system is create - others are added later externally. | |
Document (const QString &fileName) | |
Constructor for opened Documents, and error report files. The specified file is opened and read. | |
void | addCoordSystems (unsigned int numberCoordSystemToAdd) |
Add some number (0 or more) of additional coordinate systems. | |
void | addGraphCurveAtEnd (const QString &curveName) |
Add new graph curve to the list of existing graph curves. | |
void | addPointAxisWithGeneratedIdentifier (const QPointF &posScreen, const QPointF &posGraph, QString &identifier, double ordinal, bool isXOnly) |
Add a single axis point with a generated point identifier. | |
void | addPointAxisWithSpecifiedIdentifier (const QPointF &posScreen, const QPointF &posGraph, const QString &identifier, double ordinal, bool isXOnly) |
Add a single axis point with the specified point identifier. | |
void | addPointGraphWithGeneratedIdentifier (const QString &curveName, const QPointF &posScreen, QString &generatedIentifier, double ordinal) |
Add a single graph point with a generated point identifier. | |
void | addPointGraphWithSpecifiedIdentifier (const QString &curveName, const QPointF &posScreen, const QString &identifier, double ordinal) |
Add a single graph point with the specified point identifier. Note that PointStyle is not applied to the point within the Document. | |
void | addPointsInCurvesGraphs (CurvesGraphs &curvesGraphs) |
Add all points identified in the specified CurvesGraphs. See also removePointsInCurvesGraphs. | |
void | addScaleWithGeneratedIdentifier (const QPointF &posScreen0, const QPointF &posScreen1, double scaleLength, QString &identifier0, QString &identifier1, double ordinal0, double ordinal1) |
Add scale with a generated point identifier. | |
void | checkAddPointAxis (const QPointF &posScreen, const QPointF &posGraph, bool &isError, QString &errorMessage, bool isXOnly) |
Check before calling addPointAxis. Also returns the next available ordinal number (to prevent clashes) | |
void | checkEditPointAxis (const QString &pointIdentifier, const QPointF &posScreen, const QPointF &posGraph, bool &isError, QString &errorMessage) |
Check before calling editPointAxis. | |
const CoordSystem & | coordSystem () const |
Currently active CoordSystem. | |
unsigned int | coordSystemCount () const |
Number of CoordSystem. | |
CoordSystemIndex | coordSystemIndex () const |
Index of current active CoordSystem. | |
const Curve & | curveAxes () const |
Get method for axis curve. | |
const Curve * | curveForCurveName (const QString &curveName) const |
See CurvesGraphs::curveForCurveNames, although this also works for AXIS_CURVE_NAME. | |
const CurvesGraphs & | curvesGraphs () const |
Make all Curves available, read only, for CmdAbstract classes only. | |
QStringList | curvesGraphsNames () const |
See CurvesGraphs::curvesGraphsNames. | |
int | curvesGraphsNumPoints (const QString &curveName) const |
See CurvesGraphs::curvesGraphsNumPoints. | |
DocumentAxesPointsRequired | documentAxesPointsRequired () const |
Get method for DocumentAxesPointsRequired. | |
void | editPointAxis (const QPointF &posGraph, const QString &identifier) |
Edit the graph coordinates of a single axis point. Call this after checkAddPointAxis to guarantee success in this call. | |
void | editPointGraph (bool isX, bool isY, double x, double y, const QStringList &identifiers, const Transformation &transformation) |
Edit the graph coordinates of one or more graph points. | |
void | guidelinesSyncScreenToDocument (const DocumentModelGuideline &modelGuideline) |
Sync all Guideline instances from screen to Document. | |
void | initializeGridDisplay (const Transformation &transformation) |
Initialize grid display. This is called immediately after the transformation has been defined for the first time. | |
bool | isXOnly (const QString &pointIdentifier) const |
See Curve::isXOnly. | |
void | iterateThroughCurvePointsAxes (const Functor2wRet< const QString &, const Point &, CallbackSearchReturn > &ftorWithCallback) |
See Curve::iterateThroughCurvePoints, for the axes curve. | |
void | iterateThroughCurvePointsAxes (const Functor2wRet< const QString &, const Point &, CallbackSearchReturn > &ftorWithCallback) const |
See Curve::iterateThroughCurvePoints, for the axes curve. | |
void | iterateThroughCurveSegments (const QString &curveName, const Functor2wRet< const Point &, const Point &, CallbackSearchReturn > &ftorWithCallback) const |
See Curve::iterateThroughCurveSegments, for any axes or graph curve. | |
void | iterateThroughCurvesPointsGraphs (const Functor2wRet< const QString &, const Point &, CallbackSearchReturn > &ftorWithCallback) |
See Curve::iterateThroughCurvePoints, for all the graphs curves. | |
void | iterateThroughCurvesPointsGraphs (const Functor2wRet< const QString &, const Point &, CallbackSearchReturn > &ftorWithCallback) const |
See Curve::iterateThroughCurvePoints, for all the graphs curves. | |
bool | loadCurvesFile (const QString &curvesFile) |
Load the curve names in the specified Engauge file into the current document. This is called near the end of the import process only. | |
DocumentModelAxesChecker | modelAxesChecker () const |
Get method for DocumentModelAxesChecker. | |
DocumentModelColorFilter | modelColorFilter () const |
Get method for DocumentModelColorFilter. | |
DocumentModelCoords | modelCoords () const |
Get method for DocumentModelCoords. | |
CurveStyles | modelCurveStyles () const |
Get method for CurveStyles. | |
DocumentModelDigitizeCurve | modelDigitizeCurve () const |
Get method for DocumentModelDigitizeCurve. | |
DocumentModelExportFormat | modelExport () const |
Get method for DocumentModelExportFormat. | |
DocumentModelGeneral | modelGeneral () const |
Get method for DocumentModelGeneral. | |
DocumentModelGridDisplay | modelGridDisplay () const |
Get method for DocumentModelGridDisplay. | |
DocumentModelGridRemoval | modelGridRemoval () const |
Get method for DocumentModelGridRemoval. | |
DocumentModelGuideline | modelGuideline () const |
Get method for DocumentModelGuideline. | |
DocumentModelLoadViews | modelLoadViews () const |
Get method for DocumentModelLoadViews. | |
DocumentModelPointMatch | modelPointMatch () const |
Get method for DocumentModelPointMatch. | |
DocumentModelSegments | modelSegments () const |
Get method for DocumentModelSegments. | |
void | movePoint (const QString &pointIdentifier, const QPointF &deltaScreen) |
See Curve::movePoint. | |
int | nextOrdinalForCurve (const QString &curveName) const |
Default next ordinal value for specified curve. | |
QPixmap | pixmap () const |
Return the image that is being digitized. | |
QPointF | positionGraph (const QString &pointIdentifier) const |
See Curve::positionGraph. | |
QPointF | positionScreen (const QString &pointIdentifier) const |
See Curve::positionScreen. | |
void | print () const |
Debugging method for printing directly from symbolic debugger. | |
void | printStream (QString indentation, QTextStream &str) const |
Debugging method that supports print method of this class and printStream method of some other class(es) | |
QString | reasonForUnsuccessfulRead () const |
Return an informative text message explaining why startup loading failed. Applies if successfulRead returns false. | |
void | removePointAxis (const QString &identifier) |
Perform the opposite of addPointAxis. | |
void | removePointGraph (const QString &identifier) |
Perform the opposite of addPointGraph. | |
void | removePointsInCurvesGraphs (CurvesGraphs &curvesGraphs) |
Remove all points identified in the specified CurvesGraphs. See also addPointsInCurvesGraphs. | |
void | saveXml (QXmlStreamWriter &writer) const |
Save document to xml. | |
QString | selectedCurveName () const |
Currently selected curve name. This is used to set the selected curve combobox in MainWindow. | |
void | setCoordSystemIndex (CoordSystemIndex coordSystemIndex) |
Set the index of current active CoordSystem. | |
void | setCurveAxes (const Curve &curveAxes) |
Let CmdAbstract classes overwrite axes Curve. | |
void | setCurvesGraphs (const CurvesGraphs &curvesGraphs) |
Let CmdAbstract classes overwrite CurvesGraphs. | |
void | setDocumentAxesPointsRequired (DocumentAxesPointsRequired documentAxesPointsRequired) |
Set the number of axes points required. | |
void | setModelAxesChecker (const DocumentModelAxesChecker &modelAxesChecker) |
Set method for DocumentModelAxesChecker. | |
void | setModelColorFilter (const DocumentModelColorFilter &modelColorFilter) |
Set method for DocumentModelColorFilter. | |
void | setModelCoords (const DocumentModelCoords &modelCoords) |
Set method for DocumentModelCoords. | |
void | setModelCurveStyles (const CurveStyles &modelCurveStyles) |
Set method for CurveStyles. | |
void | setModelDigitizeCurve (const DocumentModelDigitizeCurve &modelDigitizeCurve) |
Set method for DocumentModelDigitizeCurve. | |
void | setModelExport (const DocumentModelExportFormat &modelExport) |
Set method for DocumentModelExportFormat. | |
void | setModelGeneral (const DocumentModelGeneral &modelGeneral) |
Set method for DocumentModelGeneral. | |
void | setModelGridDisplay (const DocumentModelGridDisplay &modelGridDisplay) |
Set method for DocumentModelGridDisplay. | |
void | setModelGridRemoval (const DocumentModelGridRemoval &modelGridRemoval) |
Set method for DocumentModelGridRemoval. | |
void | setModelGuideline (const DocumentModelGuideline &modelGuideline) |
Set method for DocumentModelGuideline. | |
void | setModelLoadViews (const DocumentModelLoadViews &modelLoadViews) |
Set method for DocumentModelLoadViews. | |
void | setModelPointMatch (const DocumentModelPointMatch &modelPointMatch) |
Set method for DocumentModelPointMatch. | |
void | setModelSegments (const DocumentModelSegments &modelSegments) |
Set method for DocumentModelSegments. | |
void | setPixmap (const QImage &image) |
Set method for the background pixmap. | |
void | setSelectedCurveName (const QString &selectedCurveName) |
Save curve name that is selected for the current coordinate system, for the next time the coordinate system reappears. | |
bool | successfulRead () const |
Return true if startup loading succeeded. If the loading failed then reasonForUnsuccessfulRed will explain why. | |
void | updatePointOrdinals (const Transformation &transformation) |
Update point ordinals after point addition/removal or dragging. |
Storage of one imported image and the data attached to that image.
Definition at line 43 of file Document.h.
Document::Document | ( | const QImage & | image | ) |
Constructor for imported images and dragged images. Only one coordinate system is create - others are added later externally.
Definition at line 54 of file Document.cpp.
Document::Document | ( | const QString & | fileName | ) |
Constructor for opened Documents, and error report files. The specified file is opened and read.
Definition at line 68 of file Document.cpp.
void Document::addCoordSystems | ( | unsigned int | numberCoordSystemToAdd | ) |
Add some number (0 or more) of additional coordinate systems.
This is only safe to call during import and before any changes have been made to the Document
Definition at line 156 of file Document.cpp.
void Document::addGraphCurveAtEnd | ( | const QString & | curveName | ) |
Add new graph curve to the list of existing graph curves.
Definition at line 164 of file Document.cpp.
void Document::addPointAxisWithGeneratedIdentifier | ( | const QPointF & | posScreen, |
const QPointF & | posGraph, | ||
QString & | identifier, | ||
double | ordinal, | ||
bool | isXOnly ) |
Add a single axis point with a generated point identifier.
Call this after checkAddPointAxis to guarantee success in this call.
posScreen | Screen coordinates from QGraphicsView |
posGraph | Graph coordiantes from user |
identifier | Identifier for new axis point |
ordinal | Unique, for curve, ordinal number |
isXOnly | True if point has only an x coordinate |
Definition at line 171 of file Document.cpp.
void Document::addPointAxisWithSpecifiedIdentifier | ( | const QPointF & | posScreen, |
const QPointF & | posGraph, | ||
const QString & | identifier, | ||
double | ordinal, | ||
bool | isXOnly ) |
Add a single axis point with the specified point identifier.
Call this after checkAddPointAxis to guarantee success in this call.
posScreen | Screen coordinates from QGraphicsView |
posGraph | Graph coordiantes from user |
identifier | Identifier for new axis point |
ordinal | Unique, for curve, ordinal number |
isXOnly | True if point has only an x coordinate |
Definition at line 186 of file Document.cpp.
void Document::addPointGraphWithGeneratedIdentifier | ( | const QString & | curveName, |
const QPointF & | posScreen, | ||
QString & | generatedIentifier, | ||
double | ordinal ) |
Add a single graph point with a generated point identifier.
Definition at line 201 of file Document.cpp.
void Document::addPointGraphWithSpecifiedIdentifier | ( | const QString & | curveName, |
const QPointF & | posScreen, | ||
const QString & | identifier, | ||
double | ordinal ) |
Add a single graph point with the specified point identifier. Note that PointStyle is not applied to the point within the Document.
Definition at line 214 of file Document.cpp.
void Document::addPointsInCurvesGraphs | ( | CurvesGraphs & | curvesGraphs | ) |
Add all points identified in the specified CurvesGraphs. See also removePointsInCurvesGraphs.
Definition at line 227 of file Document.cpp.
void Document::addScaleWithGeneratedIdentifier | ( | const QPointF & | posScreen0, |
const QPointF & | posScreen1, | ||
double | scaleLength, | ||
QString & | identifier0, | ||
QString & | identifier1, | ||
double | ordinal0, | ||
double | ordinal1 ) |
Add scale with a generated point identifier.
Call this after checkAddPointAxis to guarantee success in this call.
posScreen0 | Screen coordinates of first point from QGraphicsView |
posScreen1 | Screen coordinates of second point from QGraphicsView |
scaleLength | Scale bar length in graph coordinates |
identifier0 | Identifier for first new axis point |
identifier1 | Identifier for second new axis point |
ordinal0 | Unique, for curve, ordinal number of first point |
ordinal1 | Unique, for curve, ordinal number of second point |
Definition at line 234 of file Document.cpp.
void Document::checkAddPointAxis | ( | const QPointF & | posScreen, |
const QPointF & | posGraph, | ||
bool & | isError, | ||
QString & | errorMessage, | ||
bool | isXOnly ) |
Check before calling addPointAxis. Also returns the next available ordinal number (to prevent clashes)
Definition at line 274 of file Document.cpp.
void Document::checkEditPointAxis | ( | const QString & | pointIdentifier, |
const QPointF & | posScreen, | ||
const QPointF & | posGraph, | ||
bool & | isError, | ||
QString & | errorMessage ) |
Check before calling editPointAxis.
Definition at line 290 of file Document.cpp.
const CoordSystem & Document::coordSystem | ( | ) | const |
Currently active CoordSystem.
Definition at line 306 of file Document.cpp.
unsigned int Document::coordSystemCount | ( | ) | const |
Number of CoordSystem.
Definition at line 313 of file Document.cpp.
CoordSystemIndex Document::coordSystemIndex | ( | ) | const |
Index of current active CoordSystem.
Definition at line 320 of file Document.cpp.
const Curve & Document::curveAxes | ( | ) | const |
Get method for axis curve.
Definition at line 327 of file Document.cpp.
const Curve * Document::curveForCurveName | ( | const QString & | curveName | ) | const |
See CurvesGraphs::curveForCurveNames, although this also works for AXIS_CURVE_NAME.
Definition at line 341 of file Document.cpp.
const CurvesGraphs & Document::curvesGraphs | ( | ) | const |
Make all Curves available, read only, for CmdAbstract classes only.
Definition at line 348 of file Document.cpp.
QStringList Document::curvesGraphsNames | ( | ) | const |
See CurvesGraphs::curvesGraphsNames.
Definition at line 355 of file Document.cpp.
int Document::curvesGraphsNumPoints | ( | const QString & | curveName | ) | const |
See CurvesGraphs::curvesGraphsNumPoints.
Definition at line 362 of file Document.cpp.
DocumentAxesPointsRequired Document::documentAxesPointsRequired | ( | ) | const |
Get method for DocumentAxesPointsRequired.
Definition at line 369 of file Document.cpp.
void Document::editPointAxis | ( | const QPointF & | posGraph, |
const QString & | identifier ) |
Edit the graph coordinates of a single axis point. Call this after checkAddPointAxis to guarantee success in this call.
Definition at line 374 of file Document.cpp.
void Document::editPointGraph | ( | bool | isX, |
bool | isY, | ||
double | x, | ||
double | y, | ||
const QStringList & | identifiers, | ||
const Transformation & | transformation ) |
Edit the graph coordinates of one or more graph points.
Definition at line 383 of file Document.cpp.
void Document::guidelinesSyncScreenToDocument | ( | const DocumentModelGuideline & | modelGuideline | ) |
Sync all Guideline instances from screen to Document.
void Document::initializeGridDisplay | ( | const Transformation & | transformation | ) |
Initialize grid display. This is called immediately after the transformation has been defined for the first time.
Definition at line 417 of file Document.cpp.
bool Document::isXOnly | ( | const QString & | pointIdentifier | ) | const |
See Curve::isXOnly.
Definition at line 450 of file Document.cpp.
void Document::iterateThroughCurvePointsAxes | ( | const Functor2wRet< const QString &, const Point &, CallbackSearchReturn > & | ftorWithCallback | ) |
See Curve::iterateThroughCurvePoints, for the axes curve.
Definition at line 455 of file Document.cpp.
void Document::iterateThroughCurvePointsAxes | ( | const Functor2wRet< const QString &, const Point &, CallbackSearchReturn > & | ftorWithCallback | ) | const |
See Curve::iterateThroughCurvePoints, for the axes curve.
Definition at line 462 of file Document.cpp.
void Document::iterateThroughCurveSegments | ( | const QString & | curveName, |
const Functor2wRet< const Point &, const Point &, CallbackSearchReturn > & | ftorWithCallback ) const |
See Curve::iterateThroughCurveSegments, for any axes or graph curve.
Definition at line 469 of file Document.cpp.
void Document::iterateThroughCurvesPointsGraphs | ( | const Functor2wRet< const QString &, const Point &, CallbackSearchReturn > & | ftorWithCallback | ) |
See Curve::iterateThroughCurvePoints, for all the graphs curves.
Definition at line 478 of file Document.cpp.
void Document::iterateThroughCurvesPointsGraphs | ( | const Functor2wRet< const QString &, const Point &, CallbackSearchReturn > & | ftorWithCallback | ) | const |
See Curve::iterateThroughCurvePoints, for all the graphs curves.
Definition at line 485 of file Document.cpp.
bool Document::loadCurvesFile | ( | const QString & | curvesFile | ) |
Load the curve names in the specified Engauge file into the current document. This is called near the end of the import process only.
DocumentModelAxesChecker Document::modelAxesChecker | ( | ) | const |
Get method for DocumentModelAxesChecker.
Definition at line 693 of file Document.cpp.
DocumentModelColorFilter Document::modelColorFilter | ( | ) | const |
Get method for DocumentModelColorFilter.
Definition at line 700 of file Document.cpp.
DocumentModelCoords Document::modelCoords | ( | ) | const |
Get method for DocumentModelCoords.
Definition at line 707 of file Document.cpp.
CurveStyles Document::modelCurveStyles | ( | ) | const |
Get method for CurveStyles.
Definition at line 714 of file Document.cpp.
DocumentModelDigitizeCurve Document::modelDigitizeCurve | ( | ) | const |
Get method for DocumentModelDigitizeCurve.
Definition at line 721 of file Document.cpp.
DocumentModelExportFormat Document::modelExport | ( | ) | const |
Get method for DocumentModelExportFormat.
Definition at line 728 of file Document.cpp.
DocumentModelGeneral Document::modelGeneral | ( | ) | const |
Get method for DocumentModelGeneral.
Definition at line 735 of file Document.cpp.
DocumentModelGridDisplay Document::modelGridDisplay | ( | ) | const |
Get method for DocumentModelGridDisplay.
Definition at line 742 of file Document.cpp.
DocumentModelGridRemoval Document::modelGridRemoval | ( | ) | const |
Get method for DocumentModelGridRemoval.
Definition at line 749 of file Document.cpp.
DocumentModelGuideline Document::modelGuideline | ( | ) | const |
Get method for DocumentModelGuideline.
Definition at line 756 of file Document.cpp.
DocumentModelLoadViews Document::modelLoadViews | ( | ) | const |
Get method for DocumentModelLoadViews.
Definition at line 763 of file Document.cpp.
DocumentModelPointMatch Document::modelPointMatch | ( | ) | const |
Get method for DocumentModelPointMatch.
Definition at line 770 of file Document.cpp.
DocumentModelSegments Document::modelSegments | ( | ) | const |
Get method for DocumentModelSegments.
Definition at line 777 of file Document.cpp.
void Document::movePoint | ( | const QString & | pointIdentifier, |
const QPointF & | deltaScreen ) |
See Curve::movePoint.
Definition at line 784 of file Document.cpp.
int Document::nextOrdinalForCurve | ( | const QString & | curveName | ) | const |
Default next ordinal value for specified curve.
Definition at line 791 of file Document.cpp.
QPixmap Document::pixmap | ( | ) | const |
Return the image that is being digitized.
Definition at line 843 of file Document.cpp.
QPointF Document::positionGraph | ( | const QString & | pointIdentifier | ) | const |
See Curve::positionGraph.
Definition at line 848 of file Document.cpp.
QPointF Document::positionScreen | ( | const QString & | pointIdentifier | ) | const |
Definition at line 853 of file Document.cpp.
void Document::print | ( | ) | const |
Debugging method for printing directly from symbolic debugger.
Definition at line 858 of file Document.cpp.
void Document::printStream | ( | QString | indentation, |
QTextStream & | str ) const |
Debugging method that supports print method of this class and printStream method of some other class(es)
Definition at line 868 of file Document.cpp.
QString Document::reasonForUnsuccessfulRead | ( | ) | const |
Return an informative text message explaining why startup loading failed. Applies if successfulRead returns false.
Definition at line 882 of file Document.cpp.
void Document::removePointAxis | ( | const QString & | identifier | ) |
Perform the opposite of addPointAxis.
Definition at line 889 of file Document.cpp.
void Document::removePointGraph | ( | const QString & | identifier | ) |
Perform the opposite of addPointGraph.
Definition at line 896 of file Document.cpp.
void Document::removePointsInCurvesGraphs | ( | CurvesGraphs & | curvesGraphs | ) |
Remove all points identified in the specified CurvesGraphs. See also addPointsInCurvesGraphs.
Definition at line 903 of file Document.cpp.
void Document::saveXml | ( | QXmlStreamWriter & | writer | ) | const |
Save document to xml.
Definition at line 910 of file Document.cpp.
QString Document::selectedCurveName | ( | ) | const |
Currently selected curve name. This is used to set the selected curve combobox in MainWindow.
Definition at line 940 of file Document.cpp.
void Document::setCoordSystemIndex | ( | CoordSystemIndex | coordSystemIndex | ) |
Set the index of current active CoordSystem.
Definition at line 945 of file Document.cpp.
void Document::setCurveAxes | ( | const Curve & | curveAxes | ) |
Let CmdAbstract classes overwrite axes Curve.
Definition at line 952 of file Document.cpp.
void Document::setCurvesGraphs | ( | const CurvesGraphs & | curvesGraphs | ) |
Let CmdAbstract classes overwrite CurvesGraphs.
Definition at line 959 of file Document.cpp.
void Document::setDocumentAxesPointsRequired | ( | DocumentAxesPointsRequired | documentAxesPointsRequired | ) |
Set the number of axes points required.
This is called during the Document creation process, after imported images have been previewed or loaded files have had at least some xml parsing
Definition at line 966 of file Document.cpp.
void Document::setModelAxesChecker | ( | const DocumentModelAxesChecker & | modelAxesChecker | ) |
Set method for DocumentModelAxesChecker.
Definition at line 978 of file Document.cpp.
void Document::setModelColorFilter | ( | const DocumentModelColorFilter & | modelColorFilter | ) |
Set method for DocumentModelColorFilter.
Definition at line 985 of file Document.cpp.
void Document::setModelCoords | ( | const DocumentModelCoords & | modelCoords | ) |
Set method for DocumentModelCoords.
Definition at line 1003 of file Document.cpp.
void Document::setModelCurveStyles | ( | const CurveStyles & | modelCurveStyles | ) |
Set method for CurveStyles.
Definition at line 1010 of file Document.cpp.
void Document::setModelDigitizeCurve | ( | const DocumentModelDigitizeCurve & | modelDigitizeCurve | ) |
Set method for DocumentModelDigitizeCurve.
Definition at line 1027 of file Document.cpp.
void Document::setModelExport | ( | const DocumentModelExportFormat & | modelExport | ) |
Set method for DocumentModelExportFormat.
Definition at line 1034 of file Document.cpp.
void Document::setModelGeneral | ( | const DocumentModelGeneral & | modelGeneral | ) |
Set method for DocumentModelGeneral.
Definition at line 1041 of file Document.cpp.
void Document::setModelGridDisplay | ( | const DocumentModelGridDisplay & | modelGridDisplay | ) |
Set method for DocumentModelGridDisplay.
Definition at line 1048 of file Document.cpp.
void Document::setModelGridRemoval | ( | const DocumentModelGridRemoval & | modelGridRemoval | ) |
Set method for DocumentModelGridRemoval.
Definition at line 1055 of file Document.cpp.
void Document::setModelGuideline | ( | const DocumentModelGuideline & | modelGuideline | ) |
Set method for DocumentModelGuideline.
Definition at line 1062 of file Document.cpp.
void Document::setModelLoadViews | ( | const DocumentModelLoadViews & | modelLoadViews | ) |
Set method for DocumentModelLoadViews.
Definition at line 1069 of file Document.cpp.
void Document::setModelPointMatch | ( | const DocumentModelPointMatch & | modelPointMatch | ) |
Set method for DocumentModelPointMatch.
Definition at line 1076 of file Document.cpp.
void Document::setModelSegments | ( | const DocumentModelSegments & | modelSegments | ) |
Set method for DocumentModelSegments.
Definition at line 1083 of file Document.cpp.
void Document::setPixmap | ( | const QImage & | image | ) |
Set method for the background pixmap.
Definition at line 1090 of file Document.cpp.
void Document::setSelectedCurveName | ( | const QString & | selectedCurveName | ) |
Save curve name that is selected for the current coordinate system, for the next time the coordinate system reappears.
Definition at line 1097 of file Document.cpp.
bool Document::successfulRead | ( | ) | const |
Return true if startup loading succeeded. If the loading failed then reasonForUnsuccessfulRed will explain why.
Definition at line 1102 of file Document.cpp.
void Document::updatePointOrdinals | ( | const Transformation & | transformation | ) |
Update point ordinals after point addition/removal or dragging.
See GraphicsScene::updatePointOrdinalsAfterDrag. Graph coordinates of point must be up to date
Definition at line 1107 of file Document.cpp.