--- a/src/eric7/Plugins/VcsPlugins/vcsGit/GitRevisionSelectionDialog.py Fri Dec 22 19:45:17 2023 +0100 +++ b/src/eric7/Plugins/VcsPlugins/vcsGit/GitRevisionSelectionDialog.py Sat Dec 23 15:40:23 2023 +0100 @@ -31,14 +31,20 @@ """ Constructor - @param tagsList list of tags (list of strings) - @param branchesList list of branches (list of strings) - @param trackingBranchesList list of remote branches (list of strings) - @param noneLabel label text for "no revision selected" (string) + @param tagsList list of tags + @type list of str + @param branchesList list of branches + @type list of str + @param trackingBranchesList list of remote branches + @type list of str + @param noneLabel label text for "no revision selected" + @type str @param showBranches flag indicating to show the branch selection - (boolean) - @param showHead flag indicating to show the head selection (boolean) - @param parent parent widget (QWidget) + @type bool + @param showHead flag indicating to show the head selection + @type bool + @param parent parent widget + @type QWidget """ super().__init__(parent) self.setupUi(self) @@ -85,7 +91,8 @@ """ Private slot to handle changes of the rev select button. - @param checked state of the button (boolean) + @param checked state of the button + @type bool """ self.__updateOK() @@ -94,7 +101,8 @@ """ Private slot to handle changes of the Tag select button. - @param checked state of the button (boolean) + @param checked state of the button + @type bool """ self.__updateOK() @@ -103,7 +111,8 @@ """ Private slot to handle changes of the Branch select button. - @param checked state of the button (boolean) + @param checked state of the button + @type bool """ self.__updateOK() @@ -112,7 +121,8 @@ """ Private slot to handle changes of the Remote Branch select button. - @param checked state of the button (boolean) + @param checked state of the button + @type bool """ self.__updateOK() @@ -121,7 +131,8 @@ """ Private slot to handle changes of the rev edit. - @param txt text of the edit (string) + @param txt text of the edit + @type str """ self.__updateOK() @@ -130,7 +141,8 @@ """ Private slot to handle changes of the Tag combo. - @param txt text of the combo (string) + @param txt text of the combo + @type str """ self.__updateOK() @@ -139,7 +151,8 @@ """ Private slot to handle changes of the Branch combo. - @param txt text of the combo (string) + @param txt text of the combo + @type str """ self.__updateOK() @@ -148,7 +161,8 @@ """ Private slot to handle changes of the Remote Branch combo. - @param txt text of the combo (string) + @param txt text of the combo + @type str """ self.__updateOK() @@ -156,7 +170,8 @@ """ Public method to retrieve the selected revision. - @return selected revision (string) + @return selected revision + @rtype str """ if self.revButton.isChecked(): rev = self.revEdit.text()