Mon, 11 Jul 2022 16:47:57 +0200
Updated source documentation.
<!DOCTYPE html> <html><head> <title>eric7.CodeFormatting.BlackDiffWidget</title> <meta charset="UTF-8"> <link rel="stylesheet" href="styles.css"> </head> <body> <a NAME="top" ID="top"></a> <h1>eric7.CodeFormatting.BlackDiffWidget</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="#BlackDiffWidget">BlackDiffWidget</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="BlackDiffWidget" ID="BlackDiffWidget"></a> <h2>BlackDiffWidget</h2> <p> Class implementing a window to show a unified diff.. </p> <h3>Derived from</h3> QWidget, Ui_BlackDiffWidget <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="#BlackDiffWidget.__init__">BlackDiffWidget</a></td> <td>Constructor</td> </tr> <tr> <td><a href="#BlackDiffWidget.closeEvent">closeEvent</a></td> <td>Protected slot implementing a close event handler.</td> </tr> <tr> <td><a href="#BlackDiffWidget.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="BlackDiffWidget.__init__" ID="BlackDiffWidget.__init__"></a> <h4>BlackDiffWidget (Constructor)</h4> <b>BlackDiffWidget</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="BlackDiffWidget.closeEvent" ID="BlackDiffWidget.closeEvent"></a> <h4>BlackDiffWidget.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 </dd> </dl> <a NAME="BlackDiffWidget.showDiff" ID="BlackDiffWidget.showDiff"></a> <h4>BlackDiffWidget.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>