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