11 from PyQt4.QtGui import QDialogButtonBox, QAbstractButton |
11 from PyQt4.QtGui import QDialogButtonBox, QAbstractButton |
12 |
12 |
13 from Ui_IntroduceParameterDialog import Ui_IntroduceParameterDialog |
13 from Ui_IntroduceParameterDialog import Ui_IntroduceParameterDialog |
14 from RefactoringDialogBase import RefactoringDialogBase |
14 from RefactoringDialogBase import RefactoringDialogBase |
15 |
15 |
16 class IntroduceParameterDialog(RefactoringDialogBase, |
16 |
|
17 class IntroduceParameterDialog(RefactoringDialogBase, |
17 Ui_IntroduceParameterDialog): |
18 Ui_IntroduceParameterDialog): |
18 """ |
19 """ |
19 Class implementing the Introduce Parameter dialog. |
20 Class implementing the Introduce Parameter dialog. |
20 """ |
21 """ |
21 def __init__(self, refactoring, title, introducer, parent=None): |
22 def __init__(self, refactoring, title, introducer, parent=None): |
23 Constructor |
24 Constructor |
24 |
25 |
25 @param refactoring reference to the main refactoring object |
26 @param refactoring reference to the main refactoring object |
26 (Refactoring) |
27 (Refactoring) |
27 @param title title of the dialog (string) |
28 @param title title of the dialog (string) |
28 @param introducer reference to the factory introducer object |
29 @param introducer reference to the factory introducer object |
29 (rope.refactor.introduce_parameter.IntroduceParameter) |
30 (rope.refactor.introduce_parameter.IntroduceParameter) |
30 @param parent reference to the parent widget (QWidget) |
31 @param parent reference to the parent widget (QWidget) |
31 """ |
32 """ |
32 RefactoringDialogBase.__init__(self, refactoring, title, parent) |
33 RefactoringDialogBase.__init__(self, refactoring, title, parent) |
33 self.setupUi(self) |
34 self.setupUi(self) |