Module implementing the snapshot widget.
None |
SnapWidget | Class implementing the snapshot widget. |
None |
Class implementing the snapshot widget.
ModeEllipse |
ModeFreehand |
ModeFullscreen |
ModeRectangle |
ModeScreen |
None |
SnapWidget | Constructor |
__autoIncFilename | Private method to auto-increment the file name. |
__captured | Private slot to show a preview of the snapshot. |
__dragSnapshot | Private slot handling the dragging of the preview picture. |
__grabEllipse | Private method to grab an elliptical screen region. |
__grabFreehand | Private method to grab a non-rectangular screen region. |
__grabRectangle | Private method to grab a rectangular screen region. |
__grabTimerTimeout | Private slot to perform a delayed grab operation. |
__initFileFilters | Private method to define the supported image file filters. |
__initShortcuts | Private method to initialize the keyboard shortcuts. |
__performGrab | Private method to perform a screen grab other than a selected region. |
__quickSave | Private slot to save the snapshot bypassing the file selection dialog. |
__redisplay | Private method to redisplay the window. |
__saveImage | Private method to save the snapshot. |
__startUndelayedGrab | Private slot to perform an undelayed grab operation. |
__updateCaption | Private method to update the window caption. |
__updatePreview | Private slot to update the preview picture. |
closeEvent | Protected method handling the close event. |
eventFilter | Public method to handle event for other objects. |
on_copyButton_clicked | Private slot to copy the snapshot to the clipboard. |
on_copyPreviewButton_clicked | Private slot to copy the snapshot preview to the clipboard. |
on_saveButton_clicked | Private slot to save the snapshot. |
on_takeButton_clicked | Private slot to take a snapshot. |
resizeEvent | Protected method handling a resizing of the window. |
None |
Constructor
Private method to auto-increment the file name.
Private slot to show a preview of the snapshot.
Private slot handling the dragging of the preview picture.
Private method to grab an elliptical screen region.
Private method to grab a non-rectangular screen region.
Private method to grab a rectangular screen region.
Private slot to perform a delayed grab operation.
Private method to define the supported image file filters.
Private method to initialize the keyboard shortcuts.
Private method to perform a screen grab other than a selected region.
Private slot to save the snapshot bypassing the file selection dialog.
Private method to redisplay the window.
Private method to save the snapshot.
Private slot to perform an undelayed grab operation.
Private method to update the window caption.
Private slot to update the preview picture.
Protected method handling the close event.
Public method to handle event for other objects.
Private slot to copy the snapshot to the clipboard.
Private slot to copy the snapshot preview to the clipboard.
Private slot to save the snapshot.
Private slot to take a snapshot.
Protected method handling a resizing of the window.