1 <!DOCTYPE html> |
1 <!DOCTYPE html> |
2 <html><head> |
2 <html><head> |
3 <title>eric7.CodeFormatting.BlackDiffWidget</title> |
3 <title>eric7.CodeFormatting.FormattingDiffWidget</title> |
4 <meta charset="UTF-8"> |
4 <meta charset="UTF-8"> |
5 <link rel="stylesheet" href="styles.css"> |
5 <link rel="stylesheet" href="styles.css"> |
6 </head> |
6 </head> |
7 <body> |
7 <body> |
8 <a NAME="top" ID="top"></a> |
8 <a NAME="top" ID="top"></a> |
9 <h1>eric7.CodeFormatting.BlackDiffWidget</h1> |
9 <h1>eric7.CodeFormatting.FormattingDiffWidget</h1> |
10 |
10 |
11 <p> |
11 <p> |
12 Module implementing a window to show a unified diff.. |
12 Module implementing a window to show a unified diff.. |
13 </p> |
13 </p> |
14 <h3>Global Attributes</h3> |
14 <h3>Global Attributes</h3> |
19 <h3>Classes</h3> |
19 <h3>Classes</h3> |
20 |
20 |
21 <table> |
21 <table> |
22 |
22 |
23 <tr> |
23 <tr> |
24 <td><a href="#BlackDiffWidget">BlackDiffWidget</a></td> |
24 <td><a href="#FormattingDiffWidget">FormattingDiffWidget</a></td> |
25 <td>Class implementing a window to show a unified diff..</td> |
25 <td>Class implementing a window to show a unified diff..</td> |
26 </tr> |
26 </tr> |
27 </table> |
27 </table> |
28 <h3>Functions</h3> |
28 <h3>Functions</h3> |
29 |
29 |
30 <table> |
30 <table> |
31 <tr><td>None</td></tr> |
31 <tr><td>None</td></tr> |
32 </table> |
32 </table> |
33 <hr /> |
33 <hr /> |
34 <hr /> |
34 <hr /> |
35 <a NAME="BlackDiffWidget" ID="BlackDiffWidget"></a> |
35 <a NAME="FormattingDiffWidget" ID="FormattingDiffWidget"></a> |
36 <h2>BlackDiffWidget</h2> |
36 <h2>FormattingDiffWidget</h2> |
37 |
37 |
38 <p> |
38 <p> |
39 Class implementing a window to show a unified diff.. |
39 Class implementing a window to show a unified diff.. |
40 </p> |
40 </p> |
41 <h3>Derived from</h3> |
41 <h3>Derived from</h3> |
42 QWidget, Ui_BlackDiffWidget |
42 QWidget, Ui_FormattingDiffWidget |
43 <h3>Class Attributes</h3> |
43 <h3>Class Attributes</h3> |
44 |
44 |
45 <table> |
45 <table> |
46 <tr><td>None</td></tr> |
46 <tr><td>None</td></tr> |
47 </table> |
47 </table> |
53 <h3>Methods</h3> |
53 <h3>Methods</h3> |
54 |
54 |
55 <table> |
55 <table> |
56 |
56 |
57 <tr> |
57 <tr> |
58 <td><a href="#BlackDiffWidget.__init__">BlackDiffWidget</a></td> |
58 <td><a href="#FormattingDiffWidget.__init__">FormattingDiffWidget</a></td> |
59 <td>Constructor</td> |
59 <td>Constructor</td> |
60 </tr> |
60 </tr> |
61 <tr> |
61 <tr> |
62 <td><a href="#BlackDiffWidget.closeEvent">closeEvent</a></td> |
62 <td><a href="#FormattingDiffWidget.closeEvent">closeEvent</a></td> |
63 <td>Protected slot implementing a close event handler.</td> |
63 <td>Protected slot implementing a close event handler.</td> |
64 </tr> |
64 </tr> |
65 <tr> |
65 <tr> |
66 <td><a href="#BlackDiffWidget.showDiff">showDiff</a></td> |
66 <td><a href="#FormattingDiffWidget.showDiff">showDiff</a></td> |
67 <td>Public method to show the given diff.</td> |
67 <td>Public method to show the given diff.</td> |
68 </tr> |
68 </tr> |
69 </table> |
69 </table> |
70 <h3>Static Methods</h3> |
70 <h3>Static Methods</h3> |
71 |
71 |
72 <table> |
72 <table> |
73 <tr><td>None</td></tr> |
73 <tr><td>None</td></tr> |
74 </table> |
74 </table> |
75 |
75 |
76 <a NAME="BlackDiffWidget.__init__" ID="BlackDiffWidget.__init__"></a> |
76 <a NAME="FormattingDiffWidget.__init__" ID="FormattingDiffWidget.__init__"></a> |
77 <h4>BlackDiffWidget (Constructor)</h4> |
77 <h4>FormattingDiffWidget (Constructor)</h4> |
78 <b>BlackDiffWidget</b>(<i>parent=None</i>) |
78 <b>FormattingDiffWidget</b>(<i>parent=None</i>) |
79 |
79 |
80 <p> |
80 <p> |
81 Constructor |
81 Constructor |
82 </p> |
82 </p> |
83 <dl> |
83 <dl> |
85 <dt><i>parent</i> (QWidget (optional))</dt> |
85 <dt><i>parent</i> (QWidget (optional))</dt> |
86 <dd> |
86 <dd> |
87 reference to the parent widget (defaults to None) |
87 reference to the parent widget (defaults to None) |
88 </dd> |
88 </dd> |
89 </dl> |
89 </dl> |
90 <a NAME="BlackDiffWidget.closeEvent" ID="BlackDiffWidget.closeEvent"></a> |
90 <a NAME="FormattingDiffWidget.closeEvent" ID="FormattingDiffWidget.closeEvent"></a> |
91 <h4>BlackDiffWidget.closeEvent</h4> |
91 <h4>FormattingDiffWidget.closeEvent</h4> |
92 <b>closeEvent</b>(<i>evt</i>) |
92 <b>closeEvent</b>(<i>evt</i>) |
93 |
93 |
94 <p> |
94 <p> |
95 Protected slot implementing a close event handler. |
95 Protected slot implementing a close event handler. |
96 </p> |
96 </p> |
99 <dt><i>evt</i> (QCloseEvent)</dt> |
99 <dt><i>evt</i> (QCloseEvent)</dt> |
100 <dd> |
100 <dd> |
101 reference to the close event |
101 reference to the close event |
102 </dd> |
102 </dd> |
103 </dl> |
103 </dl> |
104 <a NAME="BlackDiffWidget.showDiff" ID="BlackDiffWidget.showDiff"></a> |
104 <a NAME="FormattingDiffWidget.showDiff" ID="FormattingDiffWidget.showDiff"></a> |
105 <h4>BlackDiffWidget.showDiff</h4> |
105 <h4>FormattingDiffWidget.showDiff</h4> |
106 <b>showDiff</b>(<i>diff</i>) |
106 <b>showDiff</b>(<i>diff</i>) |
107 |
107 |
108 <p> |
108 <p> |
109 Public method to show the given diff. |
109 Public method to show the given diff. |
110 </p> |
110 </p> |