9 |
9 |
10 import re |
10 import re |
11 |
11 |
12 from PyQt4.QtCore import pyqtSlot, pyqtSignal, QDateTime, QPoint, QFileInfo, QTimer |
12 from PyQt4.QtCore import pyqtSlot, pyqtSignal, QDateTime, QPoint, QFileInfo, QTimer |
13 from PyQt4.QtGui import QWidget, QListWidgetItem, QIcon, QPainter, QMenu, QApplication, \ |
13 from PyQt4.QtGui import QWidget, QListWidgetItem, QIcon, QPainter, QMenu, QApplication, \ |
14 QInputDialog, QLineEdit |
14 QInputDialog, QLineEdit, QTextCursor |
15 |
15 |
16 from E5Gui import E5MessageBox, E5FileDialog |
16 from E5Gui import E5MessageBox, E5FileDialog |
17 from E5Gui.E5Application import e5App |
17 from E5Gui.E5Application import e5App |
18 |
18 |
19 from .Ui_IrcChannelWidget import Ui_IrcChannelWidget |
19 from .Ui_IrcChannelWidget import Ui_IrcChannelWidget |
1056 txt = txt[:pos] + "</body></html>" |
1056 txt = txt[:pos] + "</body></html>" |
1057 else: |
1057 else: |
1058 txt = txt.replace(self.__markerLine, "") |
1058 txt = txt.replace(self.__markerLine, "") |
1059 self.messages.setHtml(txt) |
1059 self.messages.setHtml(txt) |
1060 self.__markerLine = "" |
1060 self.__markerLine = "" |
|
1061 self.messages.moveCursor(QTextCursor.End) |
1061 |
1062 |
1062 def __clearMessages(self): |
1063 def __clearMessages(self): |
1063 """ |
1064 """ |
1064 Private slot to clear the contents of the messages display. |
1065 Private slot to clear the contents of the messages display. |
1065 """ |
1066 """ |