--- a/src/eric7/Snapshot/SnapshotDefaultGrabber.py Wed Dec 20 19:28:22 2023 +0100 +++ b/src/eric7/Snapshot/SnapshotDefaultGrabber.py Thu Dec 21 12:03:40 2023 +0100 @@ -176,7 +176,8 @@ """ Private slot to show a preview of the snapshot. - @param pixmap pixmap of the snapshot (QPixmap) + @param pixmap pixmap of the snapshot + @type QPixmap """ self.__grabber.close() snapshot = QPixmap(pixmap) @@ -190,9 +191,12 @@ """ Public method to handle event for other objects. - @param obj reference to the object (QObject) - @param evt reference to the event (QEvent) - @return flag indicating that the event should be filtered out (boolean) + @param obj reference to the object + @type QObject + @param evt reference to the event + @type QEvent + @return flag indicating that the event should be filtered out + @rtype bool """ if obj == self.__grabberWidget and evt.type() == QEvent.Type.MouseButtonPress: if QWidget.mouseGrabber() != self.__grabberWidget: