eric7.EricWidgets.EricDiffWidget
Module implementing a window to show a unified diff.
Global Attributes
Classes
Functions
EricDiffWidget
Class implementing a window to show a unified diff.
Derived from
QWidget, Ui_EricDiffWidget
Class Attributes
Class Methods
Methods
Static Methods
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