src/eric7/Snapshot/SnapWidget.py

branch
eric7
changeset 10431
64157aeb0312
parent 9653
e67609152c5e
child 10439
21c28b0f9e41
diff -r e440aaf179ce -r 64157aeb0312 src/eric7/Snapshot/SnapWidget.py
--- a/src/eric7/Snapshot/SnapWidget.py	Wed Dec 20 19:28:22 2023 +0100
+++ b/src/eric7/Snapshot/SnapWidget.py	Thu Dec 21 12:03:40 2023 +0100
@@ -46,7 +46,8 @@
         """
         Constructor
 
-        @param parent reference to the parent widget (QWidget)
+        @param parent reference to the parent widget
+        @type QWidget
         """
         super().__init__(parent)
         self.setupUi(self)
@@ -254,8 +255,10 @@
         """
         Private method to save the snapshot.
 
-        @param fileName name of the file to save to (string)
-        @return flag indicating success (boolean)
+        @param fileName name of the file to save to
+        @type str
+        @return flag indicating success
+        @rtype bool
         """
         if pathlib.Path(fileName).exists():
             res = EricMessageBox.yesNo(
@@ -362,7 +365,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.__snapshot = QPixmap(pixmap)
 
@@ -387,7 +391,8 @@
         """
         Protected method handling a resizing of the window.
 
-        @param evt resize event (QResizeEvent)
+        @param evt resize event
+        @type QResizeEvent
         """
         self.__updateTimer.start(200)
 
@@ -406,7 +411,8 @@
         """
         Protected method handling the close event.
 
-        @param evt close event (QCloseEvent)
+        @param evt close event
+        @type QCloseEvent
         """
         if self.__modified:
             res = EricMessageBox.question(

eric ide

mercurial