eric7.CodeFormatting.BlackDiffWidget
Module implementing a window to show a unified diff..
Global Attributes
Classes
Functions
BlackDiffWidget
Class implementing a window to show a unified diff..
Derived from
QWidget, Ui_BlackDiffWidget
Class Attributes
Class Methods
Methods
Static Methods
BlackDiffWidget (Constructor)
BlackDiffWidget(parent=None)
Constructor
- parent (QWidget (optional))
-
reference to the parent widget (defaults to None)
BlackDiffWidget.closeEvent
closeEvent(evt)
Protected slot implementing a close event handler.
- evt (QCloseEvent)
-
reference to the close event
BlackDiffWidget.showDiff
showDiff(diff)
Public method to show the given diff.
- diff (str)
-
text containing the unified diff