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