QCAD
Open Source 2D CAD
|
Event handler class. More...
Public Member Functions | |
void | drop (void event) |
Handles drop into the drawing area. More... | |
void | EventHandler (void viewport, void documentInterface) |
Public Member Functions inherited from REventHandler | |
void | drawInfoLabel (QPainter *painter, const RTextLabel &textLabel) |
void | drawSnapLabel (QPainter *painter, const RVector &pos, const RVector &posRestriction, const QString &text) |
REventHandler (QWidget *widget=NULL, RDocumentInterface *documentInterface=NULL) | |
Copyright (c) 2011-2018 by Andrew Mustun. More... | |
Additional Inherited Members | |
Public Slots inherited from REventHandler | |
void | dragEnter (QDragEnterEvent *event) |
void | horizontalScrolled (double pos) |
void | updateSnapInfo (QPainter *painter, RSnap *snap, RSnapRestriction *restriction) |
Called on every repaint of a view to update snap related information. More... | |
void | updateTextLabel (QPainter *painter, const RTextLabel &textLabel) |
Handles drop into the drawing area. More... | |
void | verticalScrolled (double pos) |
void | viewportChanged () |
Called whenever the current viewport changed through panning or zooming. More... | |
Static Public Member Functions inherited from REventHandler | |
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 |