|
Engauge Digitizer
2
|
This class shows a frame around the selected portion of the import preview window. More...
#include <NonPdfCropping.h>

Public Member Functions | |
| NonPdfCropping (QGraphicsScene &scene, ViewPreview &view) | |
| Single constructor. More... | |
| ~NonPdfCropping () | |
| QRectF | frameRect () const |
| Frame rectangle selected by user. More... | |
| void | moveBL (const QPointF &newPos, const QPointF &oldPos) |
| Bottom left corner handle was moved. More... | |
| void | moveBR (const QPointF &newPos, const QPointF &oldPos) |
| Bottom right corner handle was moved. More... | |
| void | moveTL (const QPointF &newPos, const QPointF &oldPos) |
| Top left corner handle was moved. More... | |
| void | moveTR (const QPointF &newPos, const QPointF &oldPos) |
| Top right corner handle was moved. More... | |
| QSize | windowSize () const |
| Size of window in scene coordinates. More... | |
Static Public Attributes | |
| static const int | NON_PDF_CROPPING_BOTTOM = 1 |
| Bit flag when handle is aligned with bottom edge at reference point. More... | |
| static const int | NON_PDF_CROPPING_LEFT = 2 |
| Bit flag when handle is aligned with left edge at reference point. More... | |
| static const int | NON_PDF_CROPPING_RIGHT = 4 |
| Bit flag when handle is aligned with right edge at reference point. More... | |
| static const int | NON_PDF_CROPPING_TOP = 8 |
| Bit flag when handle is aligned with top edge at reference point. More... | |
This class shows a frame around the selected portion of the import preview window.
This class was developed as a non-pdf equivalent to the PdfCropping class. See that class for more details
Definition at line 22 of file NonPdfCropping.h.
| NonPdfCropping::NonPdfCropping | ( | QGraphicsScene & | scene, |
| ViewPreview & | view | ||
| ) |
Single constructor.
Definition at line 20 of file NonPdfCropping.cpp.
| NonPdfCropping::~NonPdfCropping | ( | ) |
Definition at line 31 of file NonPdfCropping.cpp.
| QRectF NonPdfCropping::frameRect | ( | ) | const |
Frame rectangle selected by user.
Definition at line 81 of file NonPdfCropping.cpp.
| void NonPdfCropping::moveBL | ( | const QPointF & | newPos, |
| const QPointF & | oldPos | ||
| ) |
| void NonPdfCropping::moveBR | ( | const QPointF & | newPos, |
| const QPointF & | oldPos | ||
| ) |
| void NonPdfCropping::moveTL | ( | const QPointF & | newPos, |
| const QPointF & | oldPos | ||
| ) |
| void NonPdfCropping::moveTR | ( | const QPointF & | newPos, |
| const QPointF & | oldPos | ||
| ) |
| QSize NonPdfCropping::windowSize | ( | ) | const |
Size of window in scene coordinates.
Definition at line 178 of file NonPdfCropping.cpp.
|
static |
Bit flag when handle is aligned with bottom edge at reference point.
Definition at line 49 of file NonPdfCropping.h.
|
static |
Bit flag when handle is aligned with left edge at reference point.
Definition at line 50 of file NonPdfCropping.h.
|
static |
Bit flag when handle is aligned with right edge at reference point.
Definition at line 51 of file NonPdfCropping.h.
|
static |
Bit flag when handle is aligned with top edge at reference point.
Definition at line 52 of file NonPdfCropping.h.
1.8.14