7#ifndef PDF_FRAME_HANDLE_H
8#define PDF_FRAME_HANDLE_H
10#include <QGraphicsRectItem>
43 int m_orientationFlags;
45 bool m_disableEventsWhileMovingAutomatically;
46 QGraphicsScene &m_scene;
47 QGraphicsView &m_view;
const int INNER_RADIUS_MIN
This class shows a frame around the selected portion of the pdf import preview window.
This class acts as a single handle for the PdfCropping class.
void setDisableEventsWhileMovingAutomatically(bool disable)
Temporarily disable event handling so code can move this object without triggering a cascade of event...
virtual QVariant itemChange(GraphicsItemChange change, const QVariant &value)
Intercept the drags and process them, which is the whole point of handles.
virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
Override the paint method so the dashed-border-when-selected can be removed.