Plugin_Refactoring_Rope.RefactoringRope.RestructureDialog

Module implementing the Restructure dialog.

Classes

RestructureDialog Class implementing the Restructure dialog.

Functions

None


RestructureDialog

Class implementing the Restructure dialog.

Derived from

RefactoringDialogBase, Ui_RestructureDialog

Methods

RestructureDialog Constructor
__loadData Private slot to load the history data into the dialog.
__saveData Private slot to save the data for later reuse.
__updateUI Private slot to update the UI.
_calculateChanges Protected method to calculate the changes.
on_buttonBox_clicked Private slot to act on the button pressed.
on_goalEdit_textChanged Private slot to react to changes of the goal.
on_patternEdit_textChanged Private slot to react to changes of the pattern.

RestructureDialog (Constructor)

RestructureDialog(refactoring, title, parent = None)

Constructor

refactoring
reference to the main refactoring object (Refactoring)
title
title of the dialog (string or QString)
parent
reference to the parent widget (QWidget)

RestructureDialog.__loadData

__loadData()

Private slot to load the history data into the dialog.

RestructureDialog.__saveData

__saveData()

Private slot to save the data for later reuse.

RestructureDialog.__updateUI

__updateUI()

Private slot to update the UI.

RestructureDialog._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)

RestructureDialog.on_buttonBox_clicked

on_buttonBox_clicked(button)

Private slot to act on the button pressed.

button
reference to the button pressed (QAbstractButton)

RestructureDialog.on_goalEdit_textChanged

on_goalEdit_textChanged()

Private slot to react to changes of the goal.

RestructureDialog.on_patternEdit_textChanged

on_patternEdit_textChanged()

Private slot to react to changes of the pattern.

Up