![]() |
QCAD
Open Source 2D CAD
|
Event handler class. More...
Public Member Functions | |
void | drop (void event) |
Handles drop into the drawing area. | |
void | EventHandler (void viewport, void documentInterface) |
![]() | |
void | drawInfoLabel (RGraphicsViewWorker *worker, const RTextLabel &textLabel) |
void | drawSnapLabel (RGraphicsViewWorker *worker, const RVector &pos, const RVector &posRestriction, const QString &text) |
REventHandler (QWidget *widget=NULL, RDocumentInterface *documentInterface=NULL) | |
Copyright (c) 2011-2018 by Andrew Mustun. | |
Additional Inherited Members | |
![]() | |
void | dragEnter (QDragEnterEvent *event) |
void | horizontalScrolled (double pos) |
void | updateSnapInfo (RGraphicsViewWorker *worker, RSnap *snap, RSnapRestriction *restriction) |
Called on every repaint of a view to update snap related information. | |
void | updateTextLabel (RGraphicsViewWorker *worker, const RTextLabel &textLabel) |
Handles drop into the drawing area. | |
void | verticalScrolled (double pos) |
void | viewportChanged () |
Called whenever the current viewport changed through panning or zooming. | |
![]() | |
static QList< QUrl > | getUrlsFromMimeData (QMimeData *mimeData) |
static bool | isUrl (const QString &urlString) |
Event handler class.
For each new document that is created or opened, an event handler is created to handle various events for the life time of the document.
|
inline |
|
inline |
Handles drop into the drawing area.
event | QDropEvent |