Plugin_Refactoring_Rope.RefactoringRope.IntroduceParameterDialog

Module implementing the Introduce Parameter dialog.

Classes

IntroduceParameterDialog Class implementing the Introduce Parameter dialog.

Functions

None


IntroduceParameterDialog

Class implementing the Introduce Parameter dialog.

Derived from

RefactoringDialogBase, Ui_IntroduceParameterDialog

Methods

IntroduceParameterDialog Constructor
_calculateChanges Protected method to calculate the changes.
on_buttonBox_clicked Private slot to act on the button pressed.
on_nameEdit_textChanged Private slot to react to changes of the name.

IntroduceParameterDialog (Constructor)

IntroduceParameterDialog(refactoring, title, introducer, parent = None)

Constructor

refactoring
reference to the main refactoring object (Refactoring)
title
title of the dialog (string or QString)
introducer
reference to the factory introducer object (rope.refactor.introduce_parameter.IntroduceParameter)
parent
reference to the parent widget (QWidget)

IntroduceParameterDialog._calculateChanges

_calculateChanges(handle)

Protected method to calculate the changes.

handle
reference to the task handle (rope.base.taskhandle.TaskHandle)
Returns:
reference to the Changes object (rope.base.change.ChangeSet)

IntroduceParameterDialog.on_buttonBox_clicked

on_buttonBox_clicked(button)

Private slot to act on the button pressed.

button
reference to the button pressed (QAbstractButton)

IntroduceParameterDialog.on_nameEdit_textChanged

on_nameEdit_textChanged(text)

Private slot to react to changes of the name.

text
text entered into the edit (QString)
Up