src/eric7/Documentation/Source/eric7.CodeFormatting.FormattingDiffWidget.html

Sat, 26 Apr 2025 12:34:32 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 26 Apr 2025 12:34:32 +0200
branch
eric7
changeset 11240
c48c615c04a3
parent 10684
58c7f23ae1cb
permissions
-rw-r--r--

MicroPython
- Added a configuration option to disable the support for the no longer produced Pimoroni Pico Wireless Pack.

<!DOCTYPE html>
<html><head>
<title>eric7.CodeFormatting.FormattingDiffWidget</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<a NAME="top" ID="top"></a>
<h1>eric7.CodeFormatting.FormattingDiffWidget</h1>
<p>
Module implementing a window to show a unified diff..
</p>

<h3>Global Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>

<h3>Classes</h3>
<table>
<tr>
<td><a href="#FormattingDiffWidget">FormattingDiffWidget</a></td>
<td>Class implementing a window to show a unified diff..</td>
</tr>
</table>

<h3>Functions</h3>
<table>
<tr><td>None</td></tr>
</table>

<hr />
<hr />
<a NAME="FormattingDiffWidget" ID="FormattingDiffWidget"></a>
<h2>FormattingDiffWidget</h2>
<p>
    Class implementing a window to show a unified diff..
</p>

<h3>Derived from</h3>
QWidget, Ui_FormattingDiffWidget
<h3>Class Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>

<h3>Class Methods</h3>
<table>
<tr><td>None</td></tr>
</table>

<h3>Methods</h3>
<table>
<tr>
<td><a href="#FormattingDiffWidget.__init__">FormattingDiffWidget</a></td>
<td>Constructor</td>
</tr>
<tr>
<td><a href="#FormattingDiffWidget.closeEvent">closeEvent</a></td>
<td>Protected slot implementing a close event handler.</td>
</tr>
<tr>
<td><a href="#FormattingDiffWidget.showDiff">showDiff</a></td>
<td>Public method to show the given diff.</td>
</tr>
</table>

<h3>Static Methods</h3>
<table>
<tr><td>None</td></tr>
</table>


<a NAME="FormattingDiffWidget.__init__" ID="FormattingDiffWidget.__init__"></a>
<h4>FormattingDiffWidget (Constructor)</h4>
<b>FormattingDiffWidget</b>(<i>parent=None</i>)
<p>
        Constructor
</p>

<dl>

<dt><i>parent</i> (QWidget (optional))</dt>
<dd>
reference to the parent widget (defaults to None)
</dd>
</dl>
<a NAME="FormattingDiffWidget.closeEvent" ID="FormattingDiffWidget.closeEvent"></a>
<h4>FormattingDiffWidget.closeEvent</h4>
<b>closeEvent</b>(<i>_evt</i>)
<p>
        Protected slot implementing a close event handler.
</p>

<dl>

<dt><i>_evt</i> (QCloseEvent)</dt>
<dd>
reference to the close event (unused)
</dd>
</dl>
<a NAME="FormattingDiffWidget.showDiff" ID="FormattingDiffWidget.showDiff"></a>
<h4>FormattingDiffWidget.showDiff</h4>
<b>showDiff</b>(<i>diff</i>)
<p>
        Public method to show the given diff.
</p>

<dl>

<dt><i>diff</i> (str)</dt>
<dd>
text containing the unified diff
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial