ColorString/ColorSelectionDialog.py

branch
eric7
changeset 48
e35a2acef5b8
parent 44
0d8ab93654bd
child 55
43b616631f94
--- a/ColorString/ColorSelectionDialog.py	Fri May 28 18:27:40 2021 +0200
+++ b/ColorString/ColorSelectionDialog.py	Fri May 28 18:35:49 2021 +0200
@@ -7,8 +7,8 @@
 Module implementing a dialog to select a color by name.
 """
 
-from PyQt5.QtGui import QColor, QPixmap, QIcon
-from PyQt5.QtWidgets import QDialog
+from PyQt6.QtGui import QColor, QPixmap, QIcon
+from PyQt6.QtWidgets import QDialog
 
 from .Ui_ColorSelectionDialog import Ui_ColorSelectionDialog
 
@@ -22,8 +22,9 @@
         Constructor
         
         @param selectedName name of the color to be selected initially
-            (string)
-        @param parent reference to the parent widget (QWidget)
+        @type str
+        @param parent reference to the parent widget
+        @type QWidget
         """
         super().__init__(parent)
         self.setupUi(self)

eric ide

mercurial