diff -r f6881d10e995 -r 2f70ca07f0af src/eric7/Plugins/WizardPlugins/DotDesktopWizard/DotDesktopWizardDialog.py --- a/src/eric7/Plugins/WizardPlugins/DotDesktopWizard/DotDesktopWizardDialog.py Fri Dec 22 17:24:07 2023 +0100 +++ b/src/eric7/Plugins/WizardPlugins/DotDesktopWizard/DotDesktopWizardDialog.py Fri Dec 22 19:45:17 2023 +0100 @@ -29,7 +29,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) @@ -252,7 +253,8 @@ """ Public method to get the source code. - @return generated code (string) + @return generated code + @rtype str """ # step 1: standard desktop entries code = [ @@ -351,7 +353,8 @@ """ Private slot to handle a change of the .desktop type. - @param index index of the selected entry (integer) + @param index index of the selected entry + @type int """ self.dataTabWidget.setTabEnabled(1, index == 1) self.dataTabWidget.setTabEnabled(2, index == 2) @@ -407,7 +410,8 @@ """ Private slot to check the contents of the onlyShowEdit field. - @param txt text of the entry field (string) + @param txt text of the entry field + @type str """ self.__checkOK() if bool(self.onlyShowEdit.text()) and bool(self.notShowEdit.text()): @@ -436,7 +440,8 @@ """ Private slot to check the contents of the notShowEdit field. - @param txt text of the entry field (string) + @param txt text of the entry field + @type str """ self.__checkOK() if bool(self.onlyShowEdit.text()) and bool(self.notShowEdit.text()): @@ -465,7 +470,8 @@ """ Private slot to check, if the typeEdit field is empty. - @param txt text of the entry field (string) + @param txt text of the entry field + @type str """ self.__checkOK() @@ -474,6 +480,7 @@ """ Private slot to check, if the nameEdit field is empty. - @param txt text of the entry field (string) + @param txt text of the entry field + @type str """ self.__checkOK()