diff -r e28b89693f37 -r 299802979277 src/eric7/EricWidgets/EricLineEdit.py --- a/src/eric7/EricWidgets/EricLineEdit.py Tue Dec 19 11:04:03 2023 +0100 +++ b/src/eric7/EricWidgets/EricLineEdit.py Tue Dec 19 19:57:08 2023 +0100 @@ -35,7 +35,8 @@ """ Constructor - @param parent reference to the parent widget (QWidget) + @param parent reference to the parent widget + @type QWidget """ super().__init__(parent) @@ -43,8 +44,10 @@ """ Public method to handle events. - @param evt reference to the event (QEvent) - @return flag indicating, whether the event was recognized (boolean) + @param evt reference to the event + @type QEvent + @return flag indicating, whether the event was recognized + @rtype bool """ if evt.type() == QEvent.Type.LayoutRequest: self.sizeHintChanged.emit() @@ -131,7 +134,8 @@ """ Public method to set the left margin. - @param margin left margin in pixel (integer) + @param margin left margin in pixel + @type int """ self.__leftMargin = margin @@ -139,7 +143,8 @@ """ Public method to get the size of the left margin. - @return left margin in pixel (integer) + @return left margin in pixel + @rtype int """ return self.__leftMargin @@ -147,8 +152,10 @@ """ Public method to handle events. - @param evt reference to the event (QEvent) - @return flag indicating, whether the event was recognized (boolean) + @param evt reference to the event + @type QEvent + @return flag indicating, whether the event was recognized + @rtype bool """ if evt.type() == QEvent.Type.LayoutDirectionChange: if self.isRightToLeft(): @@ -215,7 +222,8 @@ """ Public method to get the side widget spacing. - @return side widget spacing (integer) + @return side widget spacing + @rtype int """ return self.__leftLayout.spacing() @@ -223,7 +231,8 @@ """ Public method to set the side widget spacing. - @param spacing side widget spacing (integer) + @param spacing side widget spacing + @type int """ self.__leftLayout.setSpacing(spacing) self.__rightLayout.setSpacing(spacing)