eric7.EricWidgets.EricDiffWidget

Module implementing a window to show a unified diff.

Global Attributes

None

Classes

EricDiffWidget Class implementing a window to show a unified diff.

Functions

None


EricDiffWidget

Class implementing a window to show a unified diff.

Derived from

QWidget, Ui_EricDiffWidget

Class Attributes

None

Class Methods

None

Methods

EricDiffWidget Constructor
closeEvent Protected slot implementing a close event handler.
showDiff Public method to show the given diff.

Static Methods

None

EricDiffWidget (Constructor)

EricDiffWidget(parent=None)

Constructor

parent (QWidget (optional))
reference to the parent widget (defaults to None)

EricDiffWidget.closeEvent

closeEvent(_evt)

Protected slot implementing a close event handler.

_evt (QCloseEvent)
reference to the close event (unused)

EricDiffWidget.showDiff

showDiff(diff)

Public method to show the given diff.

diff (str)
text containing the unified diff
Up