src/eric7/IconEditor/IconEditorPalette.py

branch
eric7
changeset 10428
a071d4065202
parent 9653
e67609152c5e
child 10439
21c28b0f9e41
diff -r 3733e2b23cf7 -r a071d4065202 src/eric7/IconEditor/IconEditorPalette.py
--- a/src/eric7/IconEditor/IconEditorPalette.py	Wed Dec 20 11:06:38 2023 +0100
+++ b/src/eric7/IconEditor/IconEditorPalette.py	Wed Dec 20 14:58:58 2023 +0100
@@ -41,7 +41,8 @@
         """
         Constructor
 
-        @param parent reference to the parent widget (QWidget)
+        @param parent reference to the parent widget
+        @type QWidget
         """
         super().__init__(parent)
 
@@ -152,7 +153,8 @@
         """
         Public slot to update the preview.
 
-        @param pixmap new preview pixmap (QPixmap)
+        @param pixmap new preview pixmap
+        @type QPixmap
         """
         self.__preview.setPixmap(pixmap)
 
@@ -160,7 +162,8 @@
         """
         Public slot to update the color preview.
 
-        @param color new color (QColor)
+        @param color new color
+        @type QColor
         """
         self.__currentColor = color
         self.__currentAlpha = color.alpha()
@@ -192,6 +195,7 @@
         Private slot to track changes of the alpha channel.
 
         @param val value of the alpha channel
+        @type int
         """
         if val != self.__currentAlpha:
             col = QColor(self.__currentColor)
@@ -202,7 +206,8 @@
         """
         Public method to set the compositing mode.
 
-        @param mode compositing mode to set (QPainter.CompositionMode)
+        @param mode compositing mode to set
+        @type QPainter.CompositionMode
         """
         if mode == QPainter.CompositionMode.CompositionMode_Source:
             self.__sourceButton.setChecked(True)
@@ -214,7 +219,7 @@
         Private slot to handle a change of the compositing mode.
 
         @param on flag indicating the checked state of the compositing button
-            (boolean)
+        @type bool
         """
         if on:
             if self.__sourceButton.isChecked():

eric ide

mercurial