Plugin_Refactoring_Rope.RefactoringRope.UseFunctionDialog
Module implementing the Inline dialog.
Classes
Functions
UseFunctionDialog
Class implementing the Inline dialog.
Derived from
RefactoringDialogBase, Ui_UseFunctionDialog
Methods
UseFunctionDialog (Constructor)
UseFunctionDialog(refactoring, title, user, parent = None)
Constructor
- refactoring
-
reference to the main refactoring object (Refactoring)
- title
-
title of the dialog (string or QString)
- user
-
reference to the usefunction object
(rope.refactor.usefunction.UseFunction)
- parent
-
reference to the parent widget (QWidget)
UseFunctionDialog._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)
UseFunctionDialog.on_buttonBox_clicked
on_buttonBox_clicked(button)
Private slot to act on the button pressed.
- button
-
reference to the button pressed (QAbstractButton)