Module implementing a grabber widget for a freehand snapshot region.
None |
SnapshotFreehandGrabber | Class implementing a grabber widget for a freehand snapshot region. |
drawPolygon | Module function to draw a polygon with the given parameters. |
Class implementing a grabber widget for a freehand snapshot region.
None |
None |
SnapshotFreehandGrabber | Constructor |
__grabRegion | Private method to grab the selected region (i.e. |
__initialize | Private slot to initialize the rest of the widget. |
keyPressEvent | Protected method to handle key presses. |
mouseDoubleClickEvent | Protected method to handle mouse double clicks. |
mouseMoveEvent | Protected method to handle mouse movements. |
mousePressEvent | Protected method to handle mouse button presses. |
mouseReleaseEvent | Protected method to handle mouse button releases. |
paintEvent | Protected method handling paint events. |
None |
Constructor
Private method to grab the selected region (i.e. do the snapshot).
Private slot to initialize the rest of the widget.
Protected method to handle key presses.
Protected method to handle mouse double clicks.
Protected method to handle mouse movements.
Protected method to handle mouse button presses.
Protected method to handle mouse button releases.
Protected method handling paint events.
Module function to draw a polygon with the given parameters.