Engauge Digitizer 2
|
This class acts as a single handle for the PdfCropping class. More...
#include <PdfFrameHandle.h>
Public Member Functions | |
PdfFrameHandle (QGraphicsScene &scene, QGraphicsView &view, const QPointF &pointReference, int orientationFlags, PdfCropping &pdfCropping, int zValue) | |
Single constructor. | |
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. | |
void | setDisableEventsWhileMovingAutomatically (bool disable) |
Temporarily disable event handling so code can move this object without triggering a cascade of events. |
This class acts as a single handle for the PdfCropping class.
Definition at line 19 of file PdfFrameHandle.h.
PdfFrameHandle::PdfFrameHandle | ( | QGraphicsScene & | scene, |
QGraphicsView & | view, | ||
const QPointF & | pointReference, | ||
int | orientationFlags, | ||
PdfCropping & | pdfCropping, | ||
int | zValue ) |
Single constructor.
Definition at line 17 of file PdfFrameHandle.cpp.
|
virtual |
Intercept the drags and process them, which is the whole point of handles.
Definition at line 80 of file PdfFrameHandle.cpp.
|
virtual |
Override the paint method so the dashed-border-when-selected can be removed.
Definition at line 137 of file PdfFrameHandle.cpp.
void PdfFrameHandle::setDisableEventsWhileMovingAutomatically | ( | bool | disable | ) |
Temporarily disable event handling so code can move this object without triggering a cascade of events.
Definition at line 145 of file PdfFrameHandle.cpp.