diff -r c712d09cc839 -r f6881d10e995 src/eric7/WebBrowser/GreaseMonkey/GreaseMonkeyConfiguration/GreaseMonkeyConfigurationListDelegate.py --- a/src/eric7/WebBrowser/GreaseMonkey/GreaseMonkeyConfiguration/GreaseMonkeyConfigurationListDelegate.py Fri Dec 22 13:57:47 2023 +0100 +++ b/src/eric7/WebBrowser/GreaseMonkey/GreaseMonkeyConfiguration/GreaseMonkeyConfigurationListDelegate.py Fri Dec 22 17:24:07 2023 +0100 @@ -37,7 +37,8 @@ """ Constructor - @param parent reference to the parent object (QObject) + @param parent reference to the parent object + @type QObject """ super().__init__(parent) @@ -51,7 +52,8 @@ """ Public method to get the padding used. - @return padding used (integer) + @return padding used + @rtype int """ return self.__padding @@ -59,9 +61,12 @@ """ Public method to paint the specified list item. - @param painter painter object to paint to (QPainter) - @param option style option used for painting (QStyleOptionViewItem) - @param index model index of the item (QModelIndex) + @param painter painter object to paint to + @type QPainter + @param option style option used for painting + @type QStyleOptionViewItem + @param index model index of the item + @type QModelIndex """ opt = QStyleOptionViewItem(option) self.initStyleOption(opt, index) @@ -210,9 +215,12 @@ """ Public method to get a size hint for the specified list item. - @param option style option used for painting (QStyleOptionViewItem) - @param index model index of the item (QModelIndex) - @return size hint (QSize) + @param option style option used for painting + @type QStyleOptionViewItem + @param index model index of the item + @type QModelIndex + @return size hint + @rtype QSize """ if not self.__rowHeight: opt = QStyleOptionViewItem(option)