Plugin_Refactoring_Rope.RefactoringRope.ChangeOccurrencesDialog
Module implementing the Change Occurrences dialog.
Classes
Functions
ChangeOccurrencesDialog
Class implementing the Change Occurrences dialog.
Derived from
RefactoringDialogBase, Ui_ChangeOccurrencesDialog
Methods
ChangeOccurrencesDialog (Constructor)
ChangeOccurrencesDialog(refactoring, title, renamer, parent = None)
Constructor
- refactoring
-
reference to the main refactoring object (Refactoring)
- title
-
title of the dialog (string or QString)
- renamer
-
reference to the renamer object (rope.refactor.rename.Rename)
- parent
-
reference to the parent widget (QWidget)
ChangeOccurrencesDialog._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)
ChangeOccurrencesDialog.on_buttonBox_clicked
on_buttonBox_clicked(button)
Private slot to act on the button pressed.
- button
-
reference to the button pressed (QAbstractButton)
ChangeOccurrencesDialog.on_replaceEdit_textChanged
on_replaceEdit_textChanged(text)
Private slot to react to changes of the new name.
- text
-
text entered into the edit (QString)