--- a/eric7/Network/IRC/IrcMessageEdit.py Fri May 21 18:01:11 2021 +0200 +++ b/eric7/Network/IRC/IrcMessageEdit.py Fri May 21 20:14:48 2021 +0200 @@ -8,29 +8,23 @@ """ from PyQt6.QtCore import Qt - -from E5Gui.E5LineEdit import E5LineEditSide, E5ClearableLineEdit +from PyQt6.QtWidgets import QLineEdit -class IrcMessageEdit(E5ClearableLineEdit): +class IrcMessageEdit(QLineEdit): """ Class implementing a specialized line edit for entering IRC messages. """ MaxHistory = 100 - def __init__(self, parent=None, inactiveText="", - side=E5LineEditSide.RIGHT): + def __init__(self, parent=None): """ Constructor @param parent reference to the parent widget @type QWidget - @param inactiveText text to be shown on inactivity - @type str - @param side side the clear button should be shown at - @type E5LineEditSide """ - super().__init__(parent, inactiveText, side) + super().__init__(parent) self.__historyList = [""] # initialize with one empty line self.__historyLine = 0