14class QGraphicsRectItem;
61 void createWidgets (QGraphicsScene &scene);
62 void disableEventsWhileMovingAutomatically();
63 void enableEventsWhileMovingAutomatically();
64 QRectF rectFromTLAndBR ()
const;
70 QGraphicsRectItem *m_box;
const int INNER_RADIUS_MIN
This class shows a frame around the selected portion of the pdf import preview window.
void moveBL(const QPointF &newPos, const QPointF &oldPos)
Bottom left corner handle was moved.
static const int PDF_CROPPING_LEFT
Bit flag when handle is aligned with left edge at reference point.
static const int PDF_CROPPING_BOTTOM
Bit flag when handle is aligned with bottom edge at reference point.
QSize windowSize() const
Size of window in scene coordinates.
static const int PDF_CROPPING_TOP
Bit flag when handle is aligned with top edge at reference point.
void moveTL(const QPointF &newPos, const QPointF &oldPos)
Top left corner handle was moved.
void moveTR(const QPointF &newPos, const QPointF &oldPos)
Top right corner handle was moved.
void moveBR(const QPointF &newPos, const QPointF &oldPos)
Bottom right corner handle was moved.
QRectF frameRect() const
Frame rectangle selected by user.
static const int PDF_CROPPING_RIGHT
Bit flag when handle is aligned with right edge at reference point.
This class acts as a single handle for the PdfCropping class.
Class that modifies QGraphicsView to automatically expand/shrink the view to fit the window,...