eric7/Documentation/Source/eric7.Plugins.VcsPlugins.vcsMercurial.HgDiffDialog.html

branch
eric7
changeset 8372
e0227a7c850e
child 8596
d64760b2da50
equal deleted inserted replaced
8371:d6062691d424 8372:e0227a7c850e
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.Plugins.VcsPlugins.vcsMercurial.HgDiffDialog</title>
4 <meta charset="UTF-8">
5 <style>
6 body {
7 background: #EDECE6;
8 margin: 0em 1em 10em 1em;
9 color: black;
10 }
11
12 h1 { color: white; background: #85774A; }
13 h2 { color: white; background: #85774A; }
14 h3 { color: white; background: #9D936E; }
15 h4 { color: white; background: #9D936E; }
16
17 a { color: #BA6D36; }
18
19 </style>
20 </head>
21 <body>
22 <a NAME="top" ID="top"></a>
23 <h1>eric7.Plugins.VcsPlugins.vcsMercurial.HgDiffDialog</h1>
24
25 <p>
26 Module implementing a dialog to show the output of the hg diff command process.
27 </p>
28 <h3>Global Attributes</h3>
29
30 <table>
31 <tr><td>None</td></tr>
32 </table>
33 <h3>Classes</h3>
34
35 <table>
36
37 <tr>
38 <td><a href="#HgDiffDialog">HgDiffDialog</a></td>
39 <td>Class implementing a dialog to show the output of the hg diff command process.</td>
40 </tr>
41 </table>
42 <h3>Functions</h3>
43
44 <table>
45 <tr><td>None</td></tr>
46 </table>
47 <hr />
48 <hr />
49 <a NAME="HgDiffDialog" ID="HgDiffDialog"></a>
50 <h2>HgDiffDialog</h2>
51
52 <p>
53 Class implementing a dialog to show the output of the hg diff command
54 process.
55 </p>
56 <h3>Derived from</h3>
57 QWidget, Ui_HgDiffDialog
58 <h3>Class Attributes</h3>
59
60 <table>
61 <tr><td>None</td></tr>
62 </table>
63 <h3>Class Methods</h3>
64
65 <table>
66 <tr><td>None</td></tr>
67 </table>
68 <h3>Methods</h3>
69
70 <table>
71
72 <tr>
73 <td><a href="#HgDiffDialog.__init__">HgDiffDialog</a></td>
74 <td>Constructor</td>
75 </tr>
76 <tr>
77 <td><a href="#HgDiffDialog.__generatorFinished">__generatorFinished</a></td>
78 <td>Private slot connected to the finished signal.</td>
79 </tr>
80 <tr>
81 <td><a href="#HgDiffDialog.closeEvent">closeEvent</a></td>
82 <td>Protected slot implementing a close event handler.</td>
83 </tr>
84 <tr>
85 <td><a href="#HgDiffDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td>
86 <td>Private slot called by a button of the button box clicked.</td>
87 </tr>
88 <tr>
89 <td><a href="#HgDiffDialog.on_filesCombo_activated">on_filesCombo_activated</a></td>
90 <td>Private slot to handle the selection of a file.</td>
91 </tr>
92 <tr>
93 <td><a href="#HgDiffDialog.on_refreshButton_clicked">on_refreshButton_clicked</a></td>
94 <td>Private slot to refresh the display.</td>
95 </tr>
96 <tr>
97 <td><a href="#HgDiffDialog.on_saveButton_clicked">on_saveButton_clicked</a></td>
98 <td>Private slot to handle the Save button press.</td>
99 </tr>
100 <tr>
101 <td><a href="#HgDiffDialog.start">start</a></td>
102 <td>Public slot to start the hg diff command.</td>
103 </tr>
104 </table>
105 <h3>Static Methods</h3>
106
107 <table>
108 <tr><td>None</td></tr>
109 </table>
110
111 <a NAME="HgDiffDialog.__init__" ID="HgDiffDialog.__init__"></a>
112 <h4>HgDiffDialog (Constructor)</h4>
113 <b>HgDiffDialog</b>(<i>vcs, parent=None</i>)
114
115 <p>
116 Constructor
117 </p>
118 <dl>
119
120 <dt><i>vcs</i></dt>
121 <dd>
122 reference to the vcs object
123 </dd>
124 <dt><i>parent</i></dt>
125 <dd>
126 parent widget (QWidget)
127 </dd>
128 </dl>
129 <a NAME="HgDiffDialog.__generatorFinished" ID="HgDiffDialog.__generatorFinished"></a>
130 <h4>HgDiffDialog.__generatorFinished</h4>
131 <b>__generatorFinished</b>(<i></i>)
132
133 <p>
134 Private slot connected to the finished signal.
135 </p>
136 <a NAME="HgDiffDialog.closeEvent" ID="HgDiffDialog.closeEvent"></a>
137 <h4>HgDiffDialog.closeEvent</h4>
138 <b>closeEvent</b>(<i>e</i>)
139
140 <p>
141 Protected slot implementing a close event handler.
142 </p>
143 <dl>
144
145 <dt><i>e</i></dt>
146 <dd>
147 close event (QCloseEvent)
148 </dd>
149 </dl>
150 <a NAME="HgDiffDialog.on_buttonBox_clicked" ID="HgDiffDialog.on_buttonBox_clicked"></a>
151 <h4>HgDiffDialog.on_buttonBox_clicked</h4>
152 <b>on_buttonBox_clicked</b>(<i>button</i>)
153
154 <p>
155 Private slot called by a button of the button box clicked.
156 </p>
157 <dl>
158
159 <dt><i>button</i></dt>
160 <dd>
161 button that was clicked (QAbstractButton)
162 </dd>
163 </dl>
164 <a NAME="HgDiffDialog.on_filesCombo_activated" ID="HgDiffDialog.on_filesCombo_activated"></a>
165 <h4>HgDiffDialog.on_filesCombo_activated</h4>
166 <b>on_filesCombo_activated</b>(<i>index</i>)
167
168 <p>
169 Private slot to handle the selection of a file.
170 </p>
171 <dl>
172
173 <dt><i>index</i></dt>
174 <dd>
175 activated row (integer)
176 </dd>
177 </dl>
178 <a NAME="HgDiffDialog.on_refreshButton_clicked" ID="HgDiffDialog.on_refreshButton_clicked"></a>
179 <h4>HgDiffDialog.on_refreshButton_clicked</h4>
180 <b>on_refreshButton_clicked</b>(<i></i>)
181
182 <p>
183 Private slot to refresh the display.
184 </p>
185 <a NAME="HgDiffDialog.on_saveButton_clicked" ID="HgDiffDialog.on_saveButton_clicked"></a>
186 <h4>HgDiffDialog.on_saveButton_clicked</h4>
187 <b>on_saveButton_clicked</b>(<i></i>)
188
189 <p>
190 Private slot to handle the Save button press.
191 </p>
192 <p>
193 It saves the diff shown in the dialog to a file in the local
194 filesystem.
195 </p>
196 <a NAME="HgDiffDialog.start" ID="HgDiffDialog.start"></a>
197 <h4>HgDiffDialog.start</h4>
198 <b>start</b>(<i>fn, versions=None, bundle=None, qdiff=False, refreshable=False</i>)
199
200 <p>
201 Public slot to start the hg diff command.
202 </p>
203 <dl>
204
205 <dt><i>fn</i></dt>
206 <dd>
207 filename to be diffed (string)
208 </dd>
209 <dt><i>versions</i></dt>
210 <dd>
211 list of versions to be diffed (list of up to
212 2 strings or None)
213 </dd>
214 <dt><i>bundle</i></dt>
215 <dd>
216 name of a bundle file (string)
217 </dd>
218 <dt><i>qdiff</i></dt>
219 <dd>
220 flag indicating qdiff command shall be used (boolean)
221 </dd>
222 <dt><i>refreshable</i></dt>
223 <dd>
224 flag indicating a refreshable diff (boolean)
225 </dd>
226 </dl>
227 <div align="right"><a href="#top">Up</a></div>
228 <hr />
229 </body></html>

eric ide

mercurial