RefactoringRope/PreviewDialogBase.py

branch
server_client_variant
changeset 203
c38750e1bafd
parent 151
5260100b6700
child 245
75a35a927952
--- a/RefactoringRope/PreviewDialogBase.py	Wed Sep 27 19:50:44 2017 +0200
+++ b/RefactoringRope/PreviewDialogBase.py	Fri Sep 29 10:23:35 2017 +0200
@@ -13,7 +13,7 @@
 from PyQt5.QtGui import QBrush, QColor, QTextCursor
 from PyQt5.QtWidgets import QDialog
 
-from Ui_PreviewDialog import Ui_PreviewDialog
+from .Ui_PreviewDialog import Ui_PreviewDialog
 
 import Globals
 
@@ -26,7 +26,8 @@
         """
         Constructor
         
-        @param parent reference to the parent widget (QWidget)
+        @param parent reference to the parent widget
+        @type QWidget
         """
         QDialog.__init__(self, parent)
         self.setAttribute(Qt.WA_DeleteOnClose)
@@ -59,8 +60,10 @@
         """
         Protected method to append text to the end of the contents pane.
         
-        @param txt text to insert (string)
-        @param charFormat text format to be used (QTextCharFormat)
+        @param txt text to insert
+        @type str
+        @param charFormat text format to be used
+        @type QTextCharFormat
         """
         tc = self.previewEdit.textCursor()
         tc.movePosition(QTextCursor.End)

eric ide

mercurial