diff -r c712d09cc839 -r f6881d10e995 src/eric7/VCS/StatusMonitorLed.py --- a/src/eric7/VCS/StatusMonitorLed.py Fri Dec 22 13:57:47 2023 +0100 +++ b/src/eric7/VCS/StatusMonitorLed.py Fri Dec 22 17:24:07 2023 +0100 @@ -26,8 +26,10 @@ """ Constructor - @param project reference to the project object (Project.Project) - @param parent reference to the parent object (QWidget) + @param project reference to the project object + @type Project + @param parent reference to the parent object + @type QWidget """ super().__init__(parent, shape=EricLedType.RECTANGULAR, rectRatio=1.0) @@ -95,8 +97,10 @@ """ Private method to receive the status monitor status. - @param status status of the monitoring thread (string, ok, nok or off) - @param statusMsg explanotory text for the signaled status (string) + @param status status of the monitoring thread (ok, nok or off) + @type str + @param statusMsg explanotory text for the signaled status + @type str """ self.setColor(self.vcsMonitorLedColors[status]) self.setToolTip(statusMsg) @@ -107,7 +111,8 @@ """ Protected slot to show the context menu. - @param coord the position of the mouse pointer (QPoint) + @param coord the position of the mouse pointer + @type QPoint """ if not self.project.isOpen(): return @@ -153,7 +158,8 @@ """ Private slot to handle a change in the vcs state. - @param state new vcs state (string) + @param state new vcs state + @type str """ self.__vcsClean = state == " " @@ -161,7 +167,8 @@ """ Private slot to react upon clicks on the LED. - @param pos position of the click (QPoint) + @param pos position of the click + @type QPoint """ if self.__on: vcs = self.project.getVcs()