items.widgets.thumb_capture#
The editor used to capture a part of the screen to use it as an item’s thumbnail.
Classes:
|
Screen capture widget. |
Functions:
|
Closes the |
|
Opens the |
- class bookmarks.items.widgets.thumb_capture.ScreenCapture(server, job, root, source, proxy, parent=None)[source]#
Bases:
QDialog
Screen capture widget.
- Signals:
captureFinished (str): Emitted with a filepath to the captured image.
Methods:
capture
()Capture the screen using the current capture_rectangle.
Compute the union of all screen geometries, and resize to fit.
keyPressEvent
(event)Key press event handler.
mouseMoveEvent
(event)Event handler.
mousePressEvent
(event)Event handler.
mouseReleaseEvent
(event)Event handler.
paintEvent
(event)Event handler.
save_image
(image)Saves the captured image to disk.
showEvent
(event)Event handler.
- bookmarks.items.widgets.thumb_capture.close()[source]#
Closes the
ScreenCapture
editor.
- bookmarks.items.widgets.thumb_capture.show(server=None, job=None, root=None, source=None, proxy=False)[source]#
Opens the
ScreenCapture
editor.