ProjectWeb/Html5ToCss3ConverterParameterDialog.py

branch
eric7
changeset 38
6a12561fc0b5
parent 35
a3f1dcf94fe4
child 40
a9b17341d181
diff -r 01822a402c97 -r 6a12561fc0b5 ProjectWeb/Html5ToCss3ConverterParameterDialog.py
--- a/ProjectWeb/Html5ToCss3ConverterParameterDialog.py	Tue May 25 19:44:14 2021 +0200
+++ b/ProjectWeb/Html5ToCss3ConverterParameterDialog.py	Tue May 25 20:12:47 2021 +0200
@@ -7,7 +7,7 @@
 Module implementing a dialog to enter the CSS conversion parameters.
 """
 
-from PyQt5.QtWidgets import QDialog
+from PyQt6.QtWidgets import QDialog
 
 from .Ui_Html5ToCss3ConverterParameterDialog import (
     Ui_Html5ToCss3ConverterParameterDialog
@@ -23,7 +23,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)
@@ -35,8 +36,9 @@
         """
         Public method to get the entered data.
         
-        @return tuple of indentation string (string) and a flag indicating to
-            use CSS placeholders (boolean)
+        @return tuple of indentation string and a flag indicating to use CSS
+            placeholders
+        @rtype tuple of (str, bool)
         """
         placeholders = self.placeholderComboBox.currentIndex() == 1
         return " " * self.indentationSpinBox.value(), placeholders

eric ide

mercurial