Plugin_Refactoring_Rope.RefactoringRope.ErrorsDialog

Module implementing a dialog to show errors found by the find_errors function.

Classes

ErrorsDialog Class implementing a dialog to show errors found by the find_errors function.

Functions

None


ErrorsDialog

Class implementing a dialog to show errors found by the find_errors function.

Derived from

QDialog, Ui_ErrorsDialog

Methods

ErrorsDialog 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_errorsList_itemActivated Private slot to handle the itemActivated signal of the list.

ErrorsDialog (Constructor)

ErrorsDialog(ui, parent = None, name = None)

Constructor

ui
reference to the UI object
parent
parent of this dialog (QWidget)
name
name of this dialog (string or QString)

ErrorsDialog.__resizeColumns

__resizeColumns()

Private method to resize the list columns.

ErrorsDialog.__resort

__resort()

Private method to resort the tree.

ErrorsDialog.addEntry

addEntry(resource, lineno, error)

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)
error
error message (string)

ErrorsDialog.on_errorsList_itemActivated

on_errorsList_itemActivated(itm, column)

Private slot to handle the itemActivated signal of the list.

Up