--- a/ProjectWeb/Html5ToJsConverterParameterDialog.py Tue May 25 19:44:14 2021 +0200 +++ b/ProjectWeb/Html5ToJsConverterParameterDialog.py Tue May 25 20:12:47 2021 +0200 @@ -7,7 +7,7 @@ Module implementing a dialog to enter the JavaScript conversion parameters. """ -from PyQt5.QtWidgets import QDialog +from PyQt6.QtWidgets import QDialog from .Ui_Html5ToJsConverterParameterDialog import ( Ui_Html5ToJsConverterParameterDialog @@ -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 - enclose the code by 'script' tags (boolean) + @return tuple of indentation string and a flag indicating to enclose + the code by 'script' tags + @rtype tuple of (str, bool) """ return (" " * self.indentationSpinBox.value(), self.scriptCheckBox.isChecked())