--- a/src/eric7/UI/SearchWidget.py Thu Dec 21 15:46:22 2023 +0100 +++ b/src/eric7/UI/SearchWidget.py Thu Dec 21 19:50:01 2023 +0100 @@ -96,7 +96,8 @@ """ Protected slot to handle key press events. - @param event reference to the key press event (QKeyEvent) + @param event reference to the key press event + @type QKeyEvent """ if event.key() == Qt.Key.Key_Escape: self.__mainWindow.setFocus(Qt.FocusReason.ActiveWindowFocusReason) @@ -162,7 +163,8 @@ """ Private slot to enable/disable the find buttons. - @param txt text of the combobox (string) + @param txt text of the combobox + @type str """ self.__setSearchButtons(txt != "") @@ -170,7 +172,8 @@ """ Private slot to set the state of the search buttons. - @param enabled flag indicating the state (boolean) + @param enabled flag indicating the state + @type bool """ self.__ui.findPrevButton.setEnabled(enabled) self.__ui.findNextButton.setEnabled(enabled) @@ -189,7 +192,8 @@ """ Public method to display this widget. - @param txt text to be shown in the combo (string) + @param txt text to be shown in the combo + @type str """ self.__ui.findtextCombo.clear() self.__ui.findtextCombo.addItems(self.findHistory) @@ -204,7 +208,8 @@ """ Public slot to indicate that the search string was found. - @param found flag indicating success (boolean) + @param found flag indicating success + @type bool """ if found: self.__ui.statusLabel.clear()