src/eric7/WebBrowser/SpeedDial/PageThumbnailer.py

branch
eric7
changeset 10436
f6881d10e995
parent 9653
e67609152c5e
child 10439
21c28b0f9e41
diff -r c712d09cc839 -r f6881d10e995 src/eric7/WebBrowser/SpeedDial/PageThumbnailer.py
--- a/src/eric7/WebBrowser/SpeedDial/PageThumbnailer.py	Fri Dec 22 13:57:47 2023 +0100
+++ b/src/eric7/WebBrowser/SpeedDial/PageThumbnailer.py	Fri Dec 22 17:24:07 2023 +0100
@@ -26,7 +26,8 @@
         """
         Constructor
 
-        @param parent reference to the parent object (QObject)
+        @param parent reference to the parent object
+        @type QObject
         """
         super().__init__(parent)
 
@@ -44,7 +45,8 @@
         """
         Public method to set the size of the image.
 
-        @param size size of the image (QSize)
+        @param size size of the image
+        @type QSize
         """
         if size.isValid():
             self.__size = QSize(size)
@@ -53,7 +55,8 @@
         """
         Public method to set the URL of the site to be thumbnailed.
 
-        @param url URL of the web site (QUrl)
+        @param url URL of the web site
+        @type QUrl
         """
         if url.isValid():
             self.__url = QUrl(url)
@@ -62,7 +65,8 @@
         """
         Public method to get the URL of the thumbnail.
 
-        @return URL of the thumbnail (QUrl)
+        @return URL of the thumbnail
+        @rtype QUrl
         """
         return QUrl(self.__url)
 
@@ -70,7 +74,8 @@
         """
         Public method to check, if the title is loaded from the web site.
 
-        @return flag indicating, that the title is loaded (boolean)
+        @return flag indicating, that the title is loaded
+        @rtype bool
         """
         return self.__loadTitle
 
@@ -79,7 +84,8 @@
         Public method to set a flag indicating to load the title from
         the web site.
 
-        @param load flag indicating to load the title (boolean)
+        @param load flag indicating to load the title
+        @type bool
         """
         self.__loadTitle = load
 
@@ -87,7 +93,8 @@
         """
         Public method to get the title of the thumbnail.
 
-        @return title of the thumbnail (string)
+        @return title of the thumbnail
+        @rtype str
         """
         title = self.__title if self.__title else self.__url.host()
         if not title:
@@ -106,7 +113,7 @@
         Private slot creating the thumbnail of the web site.
 
         @param status flag indicating a successful load of the web site
-            (boolean)
+        @type bool
         """
         if not status:
             self.thumbnailCreated.emit(QPixmap())

eric ide

mercurial