--- a/src/eric7/WebBrowser/UrlBar/FavIconLabel.py Fri Dec 22 13:57:47 2023 +0100 +++ b/src/eric7/WebBrowser/UrlBar/FavIconLabel.py Fri Dec 22 17:24:07 2023 +0100 @@ -21,7 +21,8 @@ """ Constructor - @param parent reference to the parent widget (QWidget) + @param parent reference to the parent widget + @type QWidget """ super().__init__(parent) @@ -52,7 +53,8 @@ """ Public method to set the browser connection. - @param browser reference to the browser widegt (HelpBrowser) + @param browser reference to the browser widget + @type WebBrowserView """ self.__browser = browser self.__browser.loadFinished.connect(self.__browserIconChanged) @@ -63,7 +65,8 @@ """ Protected method to handle mouse press events. - @param evt reference to the mouse event (QMouseEvent) + @param evt reference to the mouse event + @type QMouseEvent """ if evt.button() == Qt.MouseButton.LeftButton: self.__dragStartPos = evt.position().toPoint() @@ -73,7 +76,8 @@ """ Protected method to handle mouse release events. - @param evt reference to the mouse event (QMouseEvent) + @param evt reference to the mouse event + @type QMouseEvent """ if evt.button() == Qt.MouseButton.LeftButton: self.__showPopup(evt.globalPosition().toPoint()) @@ -83,7 +87,8 @@ """ Protected method to handle mouse move events. - @param evt reference to the mouse event (QMouseEvent) + @param evt reference to the mouse event + @type QMouseEvent """ if ( evt.button() == Qt.MouseButton.LeftButton