diff -r a111134b5dc7 -r c38750e1bafd RefactoringRope/AddParameterDialog.py --- a/RefactoringRope/AddParameterDialog.py Wed Sep 27 19:50:44 2017 +0200 +++ b/RefactoringRope/AddParameterDialog.py Fri Sep 29 10:23:35 2017 +0200 @@ -12,7 +12,7 @@ from PyQt5.QtCore import pyqtSlot from PyQt5.QtWidgets import QDialog, QDialogButtonBox -from Ui_AddParameterDialog import Ui_AddParameterDialog +from .Ui_AddParameterDialog import Ui_AddParameterDialog class AddParameterDialog(QDialog, Ui_AddParameterDialog): @@ -23,7 +23,8 @@ """ Constructor - @param parent reference to the parent widget (QWidget) + @param parent reference to the parent widget + @type QWidget """ QDialog.__init__(self, parent) self.setupUi(self) @@ -39,7 +40,8 @@ """ Private slot called, when the name entry is changed. - @param txt text of the entry (string) + @param txt text of the entry + @type str """ self.__okButton.setEnabled(txt != "") @@ -47,7 +49,8 @@ """ Public method to extract the data entered into the dialog. - @return tuple of three strings (name, default and value) + @return tuple containing name, default and value + @rtype tuple of (str, str, str) """ return (self.nameEdit.text(), self.defaultEdit.text(),