src/eric7/EricGui/EricPixmapCache.py

branch
eric7
changeset 10676
d1479a4f1426
parent 10671
f2d75784e574
child 10689
3ede487187f2
--- a/src/eric7/EricGui/EricPixmapCache.py	Mon Apr 08 16:21:46 2024 +0200
+++ b/src/eric7/EricGui/EricPixmapCache.py	Mon Apr 08 17:02:11 2024 +0200
@@ -38,8 +38,8 @@
 
         @param key name of the wanted pixmap
         @type str
-        @param size requested size
-        @type QSize
+        @param size requested size (defaults to None)
+        @type QSize (optional)
         @return the requested pixmap
         @rtype QPixmap
         """
@@ -121,10 +121,10 @@
 
     @param key name of the wanted pixmap
     @type str
-    @param size requested size
-    @type QSize
-    @param cache reference to the pixmap cache object
-    @type EricPixmapCache
+    @param size requested size (defaults to None)
+    @type QSize (optional)
+    @param cache reference to the pixmap cache object (defaults to pixCache)
+    @type EricPixmapCache (optional)
     @return the requested pixmap
     @rtype QPixmap
     """
@@ -137,10 +137,10 @@
 
     @param key name of the wanted pixmap
     @type str
-    @param size requested size
-    @type QSize
-    @param cache reference to the pixmap cache object
-    @type EricPixmapCache
+    @param size requested size (defaults to None)
+    @type QSize (optional)
+    @param cache reference to the pixmap cache object (defaults to pixCache)
+    @type EricPixmapCache (optional)
     @return the requested icon
     @rtype QIcon
     """
@@ -153,10 +153,10 @@
 
     @param key name of the wanted pixmap
     @type str
-    @param size requested size
-    @type QSize
-    @param cache reference to the pixmap cache object
-    @type EricPixmapCache
+    @param size requested size (defaults to None)
+    @type QSize (optional)
+    @param cache reference to the pixmap cache object (defaults to pixCache)
+    @type EricPixmapCache (optional)
     @return the requested icon
     @rtype QIcon
     """
@@ -174,10 +174,10 @@
 
     @param keys list of names of icons
     @type list of str
-    @param size requested size of individual icons
-    @type QSize
-    @param cache reference to the pixmap cache object
-    @type EricPixmapCache
+    @param size requested size of individual icons (defaults to None)
+    @type QSize (optional)
+    @param cache reference to the pixmap cache object (defaults to pixCache)
+    @type EricPixmapCache (optional)
     @return the requested icon
     @rtype QIcon
     """
@@ -210,8 +210,8 @@
 
     @param path path to add
     @type str
-    @param cache reference to the pixmap cache object
-    @type EricPixmapCache
+    @param cache reference to the pixmap cache object (defaults to pixCache)
+    @type EricPixmapCache (optional)
     """
     cache.addSearchPath(path)
 
@@ -222,8 +222,8 @@
 
     @param path path to remove
     @type str
-    @param cache reference to the pixmap cache object
-    @type EricPixmapCache
+    @param cache reference to the pixmap cache object (defaults to pixCache)
+    @type EricPixmapCache (optional)
     """
     cache.removeSearchPath(path)
 
@@ -235,5 +235,7 @@
     @param vectorFirst flag indicating the preference of vector icons
         (defaults to True)
     @type bool (optional)
+    @param cache reference to the pixmap cache object (defaults to pixCache)
+    @type EricPixmapCache (optional)
     """
     cache.setPreferVectorIcons(vectorFirst)

eric ide

mercurial