diff -r 2fe91fe443dd -r 328f3ec4b77a src/eric7/UI/NotificationWidget.py --- a/src/eric7/UI/NotificationWidget.py Thu Dec 21 15:46:22 2023 +0100 +++ b/src/eric7/UI/NotificationWidget.py Thu Dec 21 19:50:01 2023 +0100 @@ -250,7 +250,8 @@ """ Protected method to handle presses of a mouse button. - @param evt reference to the mouse event (QMouseEvent) + @param evt reference to the mouse event + @type QMouseEvent """ if not self.__settingPosition: clickedLabel = self.childAt(evt.position().toPoint()) @@ -270,7 +271,8 @@ """ Protected method to handle releases of a mouse button. - @param evt reference to the mouse event (QMouseEvent) + @param evt reference to the mouse event + @type QMouseEvent """ if self.__settingPosition and evt.button() == Qt.MouseButton.LeftButton: self.setCursor(Qt.CursorShape.OpenHandCursor) @@ -279,7 +281,8 @@ """ Protected method to handle dragging the window. - @param evt reference to the mouse event (QMouseEvent) + @param evt reference to the mouse event + @type QMouseEvent """ if evt.buttons() & Qt.MouseButton.LeftButton: self.move(evt.globalPosition().toPoint() - self.__dragPosition)