Plugin_Refactoring_Rope.RefactoringRope.MatchesDialog

Module implementing a dialog to show matching references/definitions.

Classes

MatchesDialog Class implementing a dialog to show matching references/definitions.

Functions

None


MatchesDialog

Class implementing a dialog to show matching references/definitions.

Derived from

QDialog, Ui_MatchesDialog

Methods

MatchesDialog Constructor
__resizeColumns Private method to resize the list columns.
__resort Private method to resort the tree.
addEntry Public slot to add an entry to the list.
on_matchesList_itemActivated Private slot to handle the itemActivated signal of the list.

MatchesDialog (Constructor)

MatchesDialog(ui, showConfidence, parent = None, name = None)

Constructor

ui
reference to the UI object
showConfidence
flag indicating the display of the confidence column (boolean)
parent
parent of this dialog (QWidget)
name
name of this dialog (string or QString)

MatchesDialog.__resizeColumns

__resizeColumns()

Private method to resize the list columns.

MatchesDialog.__resort

__resort()

Private method to resort the tree.

MatchesDialog.addEntry

addEntry(resource, lineno, unsure = False)

Public slot to add an entry to the list.

resource
reference to the resource object (rope.base.resources.Resource)
lineno
linenumber of the match (integer)
unsure
flag indicating an unsure match (boolean)

MatchesDialog.on_matchesList_itemActivated

on_matchesList_itemActivated(itm, column)

Private slot to handle the itemActivated signal of the list.

Up