|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.Plugins.VcsPlugins.vcsSubversion.SvnChangeListsDialog</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.vcsSubversion.SvnChangeListsDialog</h1> |
|
24 |
|
25 <p> |
|
26 Module implementing a dialog to browse the change lists. |
|
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="#SvnChangeListsDialog">SvnChangeListsDialog</a></td> |
|
39 <td>Class implementing a dialog to browse the change lists.</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="SvnChangeListsDialog" ID="SvnChangeListsDialog"></a> |
|
50 <h2>SvnChangeListsDialog</h2> |
|
51 |
|
52 <p> |
|
53 Class implementing a dialog to browse the change lists. |
|
54 </p> |
|
55 <h3>Derived from</h3> |
|
56 QDialog, Ui_SvnChangeListsDialog |
|
57 <h3>Class Attributes</h3> |
|
58 |
|
59 <table> |
|
60 <tr><td>None</td></tr> |
|
61 </table> |
|
62 <h3>Class Methods</h3> |
|
63 |
|
64 <table> |
|
65 <tr><td>None</td></tr> |
|
66 </table> |
|
67 <h3>Methods</h3> |
|
68 |
|
69 <table> |
|
70 |
|
71 <tr> |
|
72 <td><a href="#SvnChangeListsDialog.__init__">SvnChangeListsDialog</a></td> |
|
73 <td>Constructor</td> |
|
74 </tr> |
|
75 <tr> |
|
76 <td><a href="#SvnChangeListsDialog.__finish">__finish</a></td> |
|
77 <td>Private slot called when the process finished or the user pressed the button.</td> |
|
78 </tr> |
|
79 <tr> |
|
80 <td><a href="#SvnChangeListsDialog.__procFinished">__procFinished</a></td> |
|
81 <td>Private slot connected to the finished signal.</td> |
|
82 </tr> |
|
83 <tr> |
|
84 <td><a href="#SvnChangeListsDialog.__readStderr">__readStderr</a></td> |
|
85 <td>Private slot to handle the readyReadStandardError signal.</td> |
|
86 </tr> |
|
87 <tr> |
|
88 <td><a href="#SvnChangeListsDialog.__readStdout">__readStdout</a></td> |
|
89 <td>Private slot to handle the readyReadStandardOutput signal.</td> |
|
90 </tr> |
|
91 <tr> |
|
92 <td><a href="#SvnChangeListsDialog.keyPressEvent">keyPressEvent</a></td> |
|
93 <td>Protected slot to handle a key press event.</td> |
|
94 </tr> |
|
95 <tr> |
|
96 <td><a href="#SvnChangeListsDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
|
97 <td>Private slot called by a button of the button box clicked.</td> |
|
98 </tr> |
|
99 <tr> |
|
100 <td><a href="#SvnChangeListsDialog.on_changeLists_currentItemChanged">on_changeLists_currentItemChanged</a></td> |
|
101 <td>Private slot to handle the selection of a new item.</td> |
|
102 </tr> |
|
103 <tr> |
|
104 <td><a href="#SvnChangeListsDialog.on_input_returnPressed">on_input_returnPressed</a></td> |
|
105 <td>Private slot to handle the press of the return key in the input field.</td> |
|
106 </tr> |
|
107 <tr> |
|
108 <td><a href="#SvnChangeListsDialog.on_passwordCheckBox_toggled">on_passwordCheckBox_toggled</a></td> |
|
109 <td>Private slot to handle the password checkbox toggled.</td> |
|
110 </tr> |
|
111 <tr> |
|
112 <td><a href="#SvnChangeListsDialog.on_sendButton_clicked">on_sendButton_clicked</a></td> |
|
113 <td>Private slot to send the input to the subversion process.</td> |
|
114 </tr> |
|
115 <tr> |
|
116 <td><a href="#SvnChangeListsDialog.start">start</a></td> |
|
117 <td>Public slot to populate the data.</td> |
|
118 </tr> |
|
119 </table> |
|
120 <h3>Static Methods</h3> |
|
121 |
|
122 <table> |
|
123 <tr><td>None</td></tr> |
|
124 </table> |
|
125 |
|
126 <a NAME="SvnChangeListsDialog.__init__" ID="SvnChangeListsDialog.__init__"></a> |
|
127 <h4>SvnChangeListsDialog (Constructor)</h4> |
|
128 <b>SvnChangeListsDialog</b>(<i>vcs, parent=None</i>) |
|
129 |
|
130 <p> |
|
131 Constructor |
|
132 </p> |
|
133 <dl> |
|
134 |
|
135 <dt><i>vcs</i></dt> |
|
136 <dd> |
|
137 reference to the vcs object |
|
138 </dd> |
|
139 <dt><i>parent</i></dt> |
|
140 <dd> |
|
141 parent widget (QWidget) |
|
142 </dd> |
|
143 </dl> |
|
144 <a NAME="SvnChangeListsDialog.__finish" ID="SvnChangeListsDialog.__finish"></a> |
|
145 <h4>SvnChangeListsDialog.__finish</h4> |
|
146 <b>__finish</b>(<i></i>) |
|
147 |
|
148 <p> |
|
149 Private slot called when the process finished or the user pressed |
|
150 the button. |
|
151 </p> |
|
152 <a NAME="SvnChangeListsDialog.__procFinished" ID="SvnChangeListsDialog.__procFinished"></a> |
|
153 <h4>SvnChangeListsDialog.__procFinished</h4> |
|
154 <b>__procFinished</b>(<i>exitCode, exitStatus</i>) |
|
155 |
|
156 <p> |
|
157 Private slot connected to the finished signal. |
|
158 </p> |
|
159 <dl> |
|
160 |
|
161 <dt><i>exitCode</i></dt> |
|
162 <dd> |
|
163 exit code of the process (integer) |
|
164 </dd> |
|
165 <dt><i>exitStatus</i></dt> |
|
166 <dd> |
|
167 exit status of the process (QProcess.ExitStatus) |
|
168 </dd> |
|
169 </dl> |
|
170 <a NAME="SvnChangeListsDialog.__readStderr" ID="SvnChangeListsDialog.__readStderr"></a> |
|
171 <h4>SvnChangeListsDialog.__readStderr</h4> |
|
172 <b>__readStderr</b>(<i></i>) |
|
173 |
|
174 <p> |
|
175 Private slot to handle the readyReadStandardError signal. |
|
176 </p> |
|
177 <p> |
|
178 It reads the error output of the process and inserts it into the |
|
179 error pane. |
|
180 </p> |
|
181 <a NAME="SvnChangeListsDialog.__readStdout" ID="SvnChangeListsDialog.__readStdout"></a> |
|
182 <h4>SvnChangeListsDialog.__readStdout</h4> |
|
183 <b>__readStdout</b>(<i></i>) |
|
184 |
|
185 <p> |
|
186 Private slot to handle the readyReadStandardOutput signal. |
|
187 </p> |
|
188 <p> |
|
189 It reads the output of the process, formats it and inserts it into |
|
190 the contents pane. |
|
191 </p> |
|
192 <a NAME="SvnChangeListsDialog.keyPressEvent" ID="SvnChangeListsDialog.keyPressEvent"></a> |
|
193 <h4>SvnChangeListsDialog.keyPressEvent</h4> |
|
194 <b>keyPressEvent</b>(<i>evt</i>) |
|
195 |
|
196 <p> |
|
197 Protected slot to handle a key press event. |
|
198 </p> |
|
199 <dl> |
|
200 |
|
201 <dt><i>evt</i></dt> |
|
202 <dd> |
|
203 the key press event (QKeyEvent) |
|
204 </dd> |
|
205 </dl> |
|
206 <a NAME="SvnChangeListsDialog.on_buttonBox_clicked" ID="SvnChangeListsDialog.on_buttonBox_clicked"></a> |
|
207 <h4>SvnChangeListsDialog.on_buttonBox_clicked</h4> |
|
208 <b>on_buttonBox_clicked</b>(<i>button</i>) |
|
209 |
|
210 <p> |
|
211 Private slot called by a button of the button box clicked. |
|
212 </p> |
|
213 <dl> |
|
214 |
|
215 <dt><i>button</i></dt> |
|
216 <dd> |
|
217 button that was clicked (QAbstractButton) |
|
218 </dd> |
|
219 </dl> |
|
220 <a NAME="SvnChangeListsDialog.on_changeLists_currentItemChanged" ID="SvnChangeListsDialog.on_changeLists_currentItemChanged"></a> |
|
221 <h4>SvnChangeListsDialog.on_changeLists_currentItemChanged</h4> |
|
222 <b>on_changeLists_currentItemChanged</b>(<i>current, previous</i>) |
|
223 |
|
224 <p> |
|
225 Private slot to handle the selection of a new item. |
|
226 </p> |
|
227 <dl> |
|
228 |
|
229 <dt><i>current</i></dt> |
|
230 <dd> |
|
231 current item (QListWidgetItem) |
|
232 </dd> |
|
233 <dt><i>previous</i></dt> |
|
234 <dd> |
|
235 previous current item (QListWidgetItem) |
|
236 </dd> |
|
237 </dl> |
|
238 <a NAME="SvnChangeListsDialog.on_input_returnPressed" ID="SvnChangeListsDialog.on_input_returnPressed"></a> |
|
239 <h4>SvnChangeListsDialog.on_input_returnPressed</h4> |
|
240 <b>on_input_returnPressed</b>(<i></i>) |
|
241 |
|
242 <p> |
|
243 Private slot to handle the press of the return key in the input field. |
|
244 </p> |
|
245 <a NAME="SvnChangeListsDialog.on_passwordCheckBox_toggled" ID="SvnChangeListsDialog.on_passwordCheckBox_toggled"></a> |
|
246 <h4>SvnChangeListsDialog.on_passwordCheckBox_toggled</h4> |
|
247 <b>on_passwordCheckBox_toggled</b>(<i>isOn</i>) |
|
248 |
|
249 <p> |
|
250 Private slot to handle the password checkbox toggled. |
|
251 </p> |
|
252 <dl> |
|
253 |
|
254 <dt><i>isOn</i></dt> |
|
255 <dd> |
|
256 flag indicating the status of the check box (boolean) |
|
257 </dd> |
|
258 </dl> |
|
259 <a NAME="SvnChangeListsDialog.on_sendButton_clicked" ID="SvnChangeListsDialog.on_sendButton_clicked"></a> |
|
260 <h4>SvnChangeListsDialog.on_sendButton_clicked</h4> |
|
261 <b>on_sendButton_clicked</b>(<i></i>) |
|
262 |
|
263 <p> |
|
264 Private slot to send the input to the subversion process. |
|
265 </p> |
|
266 <a NAME="SvnChangeListsDialog.start" ID="SvnChangeListsDialog.start"></a> |
|
267 <h4>SvnChangeListsDialog.start</h4> |
|
268 <b>start</b>(<i>path</i>) |
|
269 |
|
270 <p> |
|
271 Public slot to populate the data. |
|
272 </p> |
|
273 <dl> |
|
274 |
|
275 <dt><i>path</i></dt> |
|
276 <dd> |
|
277 directory name to show change lists for (string) |
|
278 </dd> |
|
279 </dl> |
|
280 <div align="right"><a href="#top">Up</a></div> |
|
281 <hr /> |
|
282 </body></html> |