--- a/src/eric7/EricWidgets/EricProgressDialog.py Tue Dec 19 11:04:03 2023 +0100 +++ b/src/eric7/EricWidgets/EricProgressDialog.py Tue Dec 19 19:57:08 2023 +0100 @@ -30,13 +30,20 @@ """ Constructor - @param labelText text of the dialog label (string) - @param cancelButtonText text of the cancel button (string) - @param minimum minimum value (integer) - @param maximum maximum value (integer) - @param labelFormat label format of the progress bar (string) - @param parent reference to the parent widget (QWidget) - @param flags window flags of the dialog (Qt.WindowFlags) + @param labelText text of the dialog label + @type str + @param cancelButtonText text of the cancel button + @type str + @param minimum minimum value + @type int + @param maximum maximum value + @type int + @param labelFormat label format of the progress bar + @type str + @param parent reference to the parent widget + @type QWidget + @param flags window flags of the dialog + @type Qt.WindowFlags """ if flags is None: flags = Qt.WindowType(0) @@ -54,7 +61,8 @@ """ Public method to get the progress bar format. - @return progress bar format (string) + @return progress bar format + @rtype str """ return self.__progressBar.format() @@ -62,6 +70,7 @@ """ Public method to set the progress bar format. - @param labelFormat progress bar format (string) + @param labelFormat progress bar format + @type str """ self.__progressBar.setFormat(labelFormat)