--- a/RefactoringRope/PreviewDialogBase.py Mon May 12 19:08:18 2014 +0200 +++ b/RefactoringRope/PreviewDialogBase.py Sun Jul 06 14:23:25 2014 +0200 @@ -9,8 +9,9 @@ from __future__ import unicode_literals -from PyQt4.QtCore import Qt -from PyQt4.QtGui import QDialog, QBrush, QColor, QTextCursor +from PyQt5.QtCore import Qt +from PyQt5.QtGui import QBrush, QColor, QTextCursor +from PyQt5.QtWidgets import QDialog from Ui_PreviewDialog import Ui_PreviewDialog @@ -56,7 +57,7 @@ def _appendText(self, txt, format): """ - Restricted method to append text to the end of the contents pane. + Protected method to append text to the end of the contents pane. @param txt text to insert (string) @param format text format to be used (QTextCharFormat)