diff -r 643989a1e2bd -r e440aaf179ce src/eric7/Project/CreateDialogCodeDialog.py --- a/src/eric7/Project/CreateDialogCodeDialog.py Wed Dec 20 15:42:44 2023 +0100 +++ b/src/eric7/Project/CreateDialogCodeDialog.py Wed Dec 20 19:28:22 2023 +0100 @@ -65,9 +65,12 @@ """ Constructor - @param formName name of the file containing the form (string) + @param formName name of the file containing the form + @type str @param project reference to the project object - @param parent parent widget if the dialog (QWidget) + @type Project + @param parent parent widget if the dialog + @type QWidget """ super().__init__(parent) self.setupUi(self) @@ -158,7 +161,8 @@ """ Public method to determine, if there was an initialzation error. - @return flag indicating an initialzation error (boolean) + @return flag indicating an initialzation error + @rtype bool """ return self.__initError @@ -289,7 +293,8 @@ """ Private slot to get the signatures. - @return list of signatures (list of strings) + @return list of signatures + @rtype list of str """ if self.__module is None: return [] @@ -317,8 +322,10 @@ Private method to map a type as reported by Qt's meta object to the correct Python type. - @param type_ type as reported by Qt (QByteArray) - @return mapped Python type (string) + @param type_ type as reported by Qt + @type QByteArray + @return mapped Python type + @rtype str """ mapped = bytes(type_).decode() @@ -613,7 +620,8 @@ """ Private slot to handle the activated signal of the classname combo. - @param index index of the activated item (integer) + @param index index of the activated item + @type int """ self.okButton.setEnabled(True) self.__updateSlotsModel() @@ -622,7 +630,8 @@ """ Private slot called, when thext of the filter edit has changed. - @param text changed text (string) + @param text changed text + @type str """ rx = QRegularExpression( text, QRegularExpression.PatternOption.CaseInsensitiveOption @@ -654,7 +663,7 @@ Private slot to handle the buttonBox clicked signal. @param button reference to the button that was clicked - (QAbstractButton) + @type QAbstractButton """ if button == self.okButton: self.__generateCode()