Plugin_Refactoring_Rope.RefactoringRope.HistoryDialog

Module implementing the History dialog.

Classes

HistoryDialog Class implementing the History dialog.

Functions

None


HistoryDialog

Class implementing the History dialog.

Derived from

PreviewDialogBase

Methods

HistoryDialog Constructor
accept Public slot to undo the selected set of changes.
on_changesList_currentItemChanged Private slot called when a change is selected.

HistoryDialog (Constructor)

HistoryDialog(refactoring, changes, isUndo, parent = None)

Constructor

refactoring
reference to the main refactoring object (Refactoring)
changes
list of ChangeSet objects (list of rope.base.change.ChangeSet)
isUndo
flag indicating an undo history dialog (boolean)
parent
reference to the parent widget (QWidget)

HistoryDialog.accept

accept()

Public slot to undo the selected set of changes.

HistoryDialog.on_changesList_currentItemChanged

on_changesList_currentItemChanged(current, previous)

Private slot called when a change is selected.

current
reference to the new current item (QListWidgetItem)
previous
reference to the old current item (QListWidgetItem)
Up