16 |
16 |
17 a { color: #BA6D36; } |
17 a { color: #BA6D36; } |
18 |
18 |
19 </style> |
19 </style> |
20 </head> |
20 </head> |
21 <body><a NAME="top" ID="top"></a> |
21 <body> |
|
22 <a NAME="top" ID="top"></a> |
22 <h1>eric6.Plugins.VcsPlugins.vcsSubversion.SvnPropListDialog</h1> |
23 <h1>eric6.Plugins.VcsPlugins.vcsSubversion.SvnPropListDialog</h1> |
|
24 |
23 <p> |
25 <p> |
24 Module implementing a dialog to show the output of the svn proplist command |
26 Module implementing a dialog to show the output of the svn proplist command |
25 process. |
27 process. |
26 </p> |
28 </p> |
27 <h3>Global Attributes</h3> |
29 <h3>Global Attributes</h3> |
|
30 |
28 <table> |
31 <table> |
29 <tr><td>None</td></tr> |
32 <tr><td>None</td></tr> |
30 </table> |
33 </table> |
31 <h3>Classes</h3> |
34 <h3>Classes</h3> |
32 <table> |
35 |
|
36 <table> |
|
37 |
33 <tr> |
38 <tr> |
34 <td><a href="#SvnPropListDialog">SvnPropListDialog</a></td> |
39 <td><a href="#SvnPropListDialog">SvnPropListDialog</a></td> |
35 <td>Class implementing a dialog to show the output of the svn proplist command process.</td> |
40 <td>Class implementing a dialog to show the output of the svn proplist command process.</td> |
36 </tr> |
41 </tr> |
37 </table> |
42 </table> |
38 <h3>Functions</h3> |
43 <h3>Functions</h3> |
39 <table> |
44 |
40 <tr><td>None</td></tr> |
45 <table> |
41 </table> |
46 <tr><td>None</td></tr> |
42 <hr /><hr /> |
47 </table> |
|
48 <hr /> |
|
49 <hr /> |
43 <a NAME="SvnPropListDialog" ID="SvnPropListDialog"></a> |
50 <a NAME="SvnPropListDialog" ID="SvnPropListDialog"></a> |
44 <h2>SvnPropListDialog</h2> |
51 <h2>SvnPropListDialog</h2> |
|
52 |
45 <p> |
53 <p> |
46 Class implementing a dialog to show the output of the svn proplist command |
54 Class implementing a dialog to show the output of the svn proplist command |
47 process. |
55 process. |
48 </p> |
56 </p> |
49 <h3>Derived from</h3> |
57 <h3>Derived from</h3> |
50 QWidget, Ui_SvnPropListDialog |
58 QWidget, Ui_SvnPropListDialog |
51 <h3>Class Attributes</h3> |
59 <h3>Class Attributes</h3> |
|
60 |
52 <table> |
61 <table> |
53 <tr><td>None</td></tr> |
62 <tr><td>None</td></tr> |
54 </table> |
63 </table> |
55 <h3>Class Methods</h3> |
64 <h3>Class Methods</h3> |
|
65 |
56 <table> |
66 <table> |
57 <tr><td>None</td></tr> |
67 <tr><td>None</td></tr> |
58 </table> |
68 </table> |
59 <h3>Methods</h3> |
69 <h3>Methods</h3> |
60 <table> |
70 |
|
71 <table> |
|
72 |
61 <tr> |
73 <tr> |
62 <td><a href="#SvnPropListDialog.__init__">SvnPropListDialog</a></td> |
74 <td><a href="#SvnPropListDialog.__init__">SvnPropListDialog</a></td> |
63 <td>Constructor</td> |
75 <td>Constructor</td> |
64 </tr><tr> |
76 </tr> |
|
77 <tr> |
65 <td><a href="#SvnPropListDialog.__finish">__finish</a></td> |
78 <td><a href="#SvnPropListDialog.__finish">__finish</a></td> |
66 <td>Private slot called when the process finished or the user pressed the button.</td> |
79 <td>Private slot called when the process finished or the user pressed the button.</td> |
67 </tr><tr> |
80 </tr> |
|
81 <tr> |
68 <td><a href="#SvnPropListDialog.__generateItem">__generateItem</a></td> |
82 <td><a href="#SvnPropListDialog.__generateItem">__generateItem</a></td> |
69 <td>Private method to generate a properties item in the properties list.</td> |
83 <td>Private method to generate a properties item in the properties list.</td> |
70 </tr><tr> |
84 </tr> |
|
85 <tr> |
71 <td><a href="#SvnPropListDialog.__procFinished">__procFinished</a></td> |
86 <td><a href="#SvnPropListDialog.__procFinished">__procFinished</a></td> |
72 <td>Private slot connected to the finished signal.</td> |
87 <td>Private slot connected to the finished signal.</td> |
73 </tr><tr> |
88 </tr> |
|
89 <tr> |
74 <td><a href="#SvnPropListDialog.__readStderr">__readStderr</a></td> |
90 <td><a href="#SvnPropListDialog.__readStderr">__readStderr</a></td> |
75 <td>Private slot to handle the readyReadStandardError signal.</td> |
91 <td>Private slot to handle the readyReadStandardError signal.</td> |
76 </tr><tr> |
92 </tr> |
|
93 <tr> |
77 <td><a href="#SvnPropListDialog.__readStdout">__readStdout</a></td> |
94 <td><a href="#SvnPropListDialog.__readStdout">__readStdout</a></td> |
78 <td>Private slot to handle the readyReadStandardOutput signal.</td> |
95 <td>Private slot to handle the readyReadStandardOutput signal.</td> |
79 </tr><tr> |
96 </tr> |
|
97 <tr> |
80 <td><a href="#SvnPropListDialog.__resizeColumns">__resizeColumns</a></td> |
98 <td><a href="#SvnPropListDialog.__resizeColumns">__resizeColumns</a></td> |
81 <td>Private method to resize the list columns.</td> |
99 <td>Private method to resize the list columns.</td> |
82 </tr><tr> |
100 </tr> |
|
101 <tr> |
83 <td><a href="#SvnPropListDialog.__resort">__resort</a></td> |
102 <td><a href="#SvnPropListDialog.__resort">__resort</a></td> |
84 <td>Private method to resort the tree.</td> |
103 <td>Private method to resort the tree.</td> |
85 </tr><tr> |
104 </tr> |
|
105 <tr> |
86 <td><a href="#SvnPropListDialog.closeEvent">closeEvent</a></td> |
106 <td><a href="#SvnPropListDialog.closeEvent">closeEvent</a></td> |
87 <td>Protected slot implementing a close event handler.</td> |
107 <td>Protected slot implementing a close event handler.</td> |
88 </tr><tr> |
108 </tr> |
|
109 <tr> |
89 <td><a href="#SvnPropListDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
110 <td><a href="#SvnPropListDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
90 <td>Private slot called by a button of the button box clicked.</td> |
111 <td>Private slot called by a button of the button box clicked.</td> |
91 </tr><tr> |
112 </tr> |
|
113 <tr> |
92 <td><a href="#SvnPropListDialog.on_refreshButton_clicked">on_refreshButton_clicked</a></td> |
114 <td><a href="#SvnPropListDialog.on_refreshButton_clicked">on_refreshButton_clicked</a></td> |
93 <td>Private slot to refresh the status display.</td> |
115 <td>Private slot to refresh the status display.</td> |
94 </tr><tr> |
116 </tr> |
|
117 <tr> |
95 <td><a href="#SvnPropListDialog.start">start</a></td> |
118 <td><a href="#SvnPropListDialog.start">start</a></td> |
96 <td>Public slot to start the svn status command.</td> |
119 <td>Public slot to start the svn status command.</td> |
97 </tr> |
120 </tr> |
98 </table> |
121 </table> |
99 <h3>Static Methods</h3> |
122 <h3>Static Methods</h3> |
100 <table> |
123 |
101 <tr><td>None</td></tr> |
124 <table> |
102 </table> |
125 <tr><td>None</td></tr> |
|
126 </table> |
|
127 |
103 <a NAME="SvnPropListDialog.__init__" ID="SvnPropListDialog.__init__"></a> |
128 <a NAME="SvnPropListDialog.__init__" ID="SvnPropListDialog.__init__"></a> |
104 <h4>SvnPropListDialog (Constructor)</h4> |
129 <h4>SvnPropListDialog (Constructor)</h4> |
105 <b>SvnPropListDialog</b>(<i>vcs, parent=None</i>) |
130 <b>SvnPropListDialog</b>(<i>vcs, parent=None</i>) |
|
131 |
106 <p> |
132 <p> |
107 Constructor |
133 Constructor |
108 </p><dl> |
134 </p> |
|
135 <dl> |
|
136 |
109 <dt><i>vcs</i></dt> |
137 <dt><i>vcs</i></dt> |
110 <dd> |
138 <dd> |
111 reference to the vcs object |
139 reference to the vcs object |
112 </dd><dt><i>parent</i></dt> |
140 </dd> |
|
141 <dt><i>parent</i></dt> |
113 <dd> |
142 <dd> |
114 parent widget (QWidget) |
143 parent widget (QWidget) |
115 </dd> |
144 </dd> |
116 </dl><a NAME="SvnPropListDialog.__finish" ID="SvnPropListDialog.__finish"></a> |
145 </dl> |
|
146 <a NAME="SvnPropListDialog.__finish" ID="SvnPropListDialog.__finish"></a> |
117 <h4>SvnPropListDialog.__finish</h4> |
147 <h4>SvnPropListDialog.__finish</h4> |
118 <b>__finish</b>(<i></i>) |
148 <b>__finish</b>(<i></i>) |
|
149 |
119 <p> |
150 <p> |
120 Private slot called when the process finished or the user pressed the |
151 Private slot called when the process finished or the user pressed the |
121 button. |
152 button. |
122 </p><a NAME="SvnPropListDialog.__generateItem" ID="SvnPropListDialog.__generateItem"></a> |
153 </p> |
|
154 <a NAME="SvnPropListDialog.__generateItem" ID="SvnPropListDialog.__generateItem"></a> |
123 <h4>SvnPropListDialog.__generateItem</h4> |
155 <h4>SvnPropListDialog.__generateItem</h4> |
124 <b>__generateItem</b>(<i>path, propName, propValue</i>) |
156 <b>__generateItem</b>(<i>path, propName, propValue</i>) |
|
157 |
125 <p> |
158 <p> |
126 Private method to generate a properties item in the properties list. |
159 Private method to generate a properties item in the properties list. |
127 </p><dl> |
160 </p> |
|
161 <dl> |
|
162 |
128 <dt><i>path</i></dt> |
163 <dt><i>path</i></dt> |
129 <dd> |
164 <dd> |
130 file/directory name the property applies to (string) |
165 file/directory name the property applies to (string) |
131 </dd><dt><i>propName</i></dt> |
166 </dd> |
|
167 <dt><i>propName</i></dt> |
132 <dd> |
168 <dd> |
133 name of the property (string) |
169 name of the property (string) |
134 </dd><dt><i>propValue</i></dt> |
170 </dd> |
|
171 <dt><i>propValue</i></dt> |
135 <dd> |
172 <dd> |
136 value of the property (string) |
173 value of the property (string) |
137 </dd> |
174 </dd> |
138 </dl><a NAME="SvnPropListDialog.__procFinished" ID="SvnPropListDialog.__procFinished"></a> |
175 </dl> |
|
176 <a NAME="SvnPropListDialog.__procFinished" ID="SvnPropListDialog.__procFinished"></a> |
139 <h4>SvnPropListDialog.__procFinished</h4> |
177 <h4>SvnPropListDialog.__procFinished</h4> |
140 <b>__procFinished</b>(<i>exitCode, exitStatus</i>) |
178 <b>__procFinished</b>(<i>exitCode, exitStatus</i>) |
|
179 |
141 <p> |
180 <p> |
142 Private slot connected to the finished signal. |
181 Private slot connected to the finished signal. |
143 </p><dl> |
182 </p> |
|
183 <dl> |
|
184 |
144 <dt><i>exitCode</i></dt> |
185 <dt><i>exitCode</i></dt> |
145 <dd> |
186 <dd> |
146 exit code of the process (integer) |
187 exit code of the process (integer) |
147 </dd><dt><i>exitStatus</i></dt> |
188 </dd> |
|
189 <dt><i>exitStatus</i></dt> |
148 <dd> |
190 <dd> |
149 exit status of the process (QProcess.ExitStatus) |
191 exit status of the process (QProcess.ExitStatus) |
150 </dd> |
192 </dd> |
151 </dl><a NAME="SvnPropListDialog.__readStderr" ID="SvnPropListDialog.__readStderr"></a> |
193 </dl> |
|
194 <a NAME="SvnPropListDialog.__readStderr" ID="SvnPropListDialog.__readStderr"></a> |
152 <h4>SvnPropListDialog.__readStderr</h4> |
195 <h4>SvnPropListDialog.__readStderr</h4> |
153 <b>__readStderr</b>(<i></i>) |
196 <b>__readStderr</b>(<i></i>) |
|
197 |
154 <p> |
198 <p> |
155 Private slot to handle the readyReadStandardError signal. |
199 Private slot to handle the readyReadStandardError signal. |
156 </p><p> |
200 </p> |
|
201 <p> |
157 It reads the error output of the process and inserts it into the |
202 It reads the error output of the process and inserts it into the |
158 error pane. |
203 error pane. |
159 </p><a NAME="SvnPropListDialog.__readStdout" ID="SvnPropListDialog.__readStdout"></a> |
204 </p> |
|
205 <a NAME="SvnPropListDialog.__readStdout" ID="SvnPropListDialog.__readStdout"></a> |
160 <h4>SvnPropListDialog.__readStdout</h4> |
206 <h4>SvnPropListDialog.__readStdout</h4> |
161 <b>__readStdout</b>(<i></i>) |
207 <b>__readStdout</b>(<i></i>) |
|
208 |
162 <p> |
209 <p> |
163 Private slot to handle the readyReadStandardOutput signal. |
210 Private slot to handle the readyReadStandardOutput signal. |
164 </p><p> |
211 </p> |
|
212 <p> |
165 It reads the output of the process, formats it and inserts it into |
213 It reads the output of the process, formats it and inserts it into |
166 the contents pane. |
214 the contents pane. |
167 </p><a NAME="SvnPropListDialog.__resizeColumns" ID="SvnPropListDialog.__resizeColumns"></a> |
215 </p> |
|
216 <a NAME="SvnPropListDialog.__resizeColumns" ID="SvnPropListDialog.__resizeColumns"></a> |
168 <h4>SvnPropListDialog.__resizeColumns</h4> |
217 <h4>SvnPropListDialog.__resizeColumns</h4> |
169 <b>__resizeColumns</b>(<i></i>) |
218 <b>__resizeColumns</b>(<i></i>) |
|
219 |
170 <p> |
220 <p> |
171 Private method to resize the list columns. |
221 Private method to resize the list columns. |
172 </p><a NAME="SvnPropListDialog.__resort" ID="SvnPropListDialog.__resort"></a> |
222 </p> |
|
223 <a NAME="SvnPropListDialog.__resort" ID="SvnPropListDialog.__resort"></a> |
173 <h4>SvnPropListDialog.__resort</h4> |
224 <h4>SvnPropListDialog.__resort</h4> |
174 <b>__resort</b>(<i></i>) |
225 <b>__resort</b>(<i></i>) |
|
226 |
175 <p> |
227 <p> |
176 Private method to resort the tree. |
228 Private method to resort the tree. |
177 </p><a NAME="SvnPropListDialog.closeEvent" ID="SvnPropListDialog.closeEvent"></a> |
229 </p> |
|
230 <a NAME="SvnPropListDialog.closeEvent" ID="SvnPropListDialog.closeEvent"></a> |
178 <h4>SvnPropListDialog.closeEvent</h4> |
231 <h4>SvnPropListDialog.closeEvent</h4> |
179 <b>closeEvent</b>(<i>e</i>) |
232 <b>closeEvent</b>(<i>e</i>) |
|
233 |
180 <p> |
234 <p> |
181 Protected slot implementing a close event handler. |
235 Protected slot implementing a close event handler. |
182 </p><dl> |
236 </p> |
|
237 <dl> |
|
238 |
183 <dt><i>e</i></dt> |
239 <dt><i>e</i></dt> |
184 <dd> |
240 <dd> |
185 close event (QCloseEvent) |
241 close event (QCloseEvent) |
186 </dd> |
242 </dd> |
187 </dl><a NAME="SvnPropListDialog.on_buttonBox_clicked" ID="SvnPropListDialog.on_buttonBox_clicked"></a> |
243 </dl> |
|
244 <a NAME="SvnPropListDialog.on_buttonBox_clicked" ID="SvnPropListDialog.on_buttonBox_clicked"></a> |
188 <h4>SvnPropListDialog.on_buttonBox_clicked</h4> |
245 <h4>SvnPropListDialog.on_buttonBox_clicked</h4> |
189 <b>on_buttonBox_clicked</b>(<i>button</i>) |
246 <b>on_buttonBox_clicked</b>(<i>button</i>) |
|
247 |
190 <p> |
248 <p> |
191 Private slot called by a button of the button box clicked. |
249 Private slot called by a button of the button box clicked. |
192 </p><dl> |
250 </p> |
|
251 <dl> |
|
252 |
193 <dt><i>button</i></dt> |
253 <dt><i>button</i></dt> |
194 <dd> |
254 <dd> |
195 button that was clicked (QAbstractButton) |
255 button that was clicked (QAbstractButton) |
196 </dd> |
256 </dd> |
197 </dl><a NAME="SvnPropListDialog.on_refreshButton_clicked" ID="SvnPropListDialog.on_refreshButton_clicked"></a> |
257 </dl> |
|
258 <a NAME="SvnPropListDialog.on_refreshButton_clicked" ID="SvnPropListDialog.on_refreshButton_clicked"></a> |
198 <h4>SvnPropListDialog.on_refreshButton_clicked</h4> |
259 <h4>SvnPropListDialog.on_refreshButton_clicked</h4> |
199 <b>on_refreshButton_clicked</b>(<i></i>) |
260 <b>on_refreshButton_clicked</b>(<i></i>) |
|
261 |
200 <p> |
262 <p> |
201 Private slot to refresh the status display. |
263 Private slot to refresh the status display. |
202 </p><a NAME="SvnPropListDialog.start" ID="SvnPropListDialog.start"></a> |
264 </p> |
|
265 <a NAME="SvnPropListDialog.start" ID="SvnPropListDialog.start"></a> |
203 <h4>SvnPropListDialog.start</h4> |
266 <h4>SvnPropListDialog.start</h4> |
204 <b>start</b>(<i>fn, recursive=False</i>) |
267 <b>start</b>(<i>fn, recursive=False</i>) |
|
268 |
205 <p> |
269 <p> |
206 Public slot to start the svn status command. |
270 Public slot to start the svn status command. |
207 </p><dl> |
271 </p> |
|
272 <dl> |
|
273 |
208 <dt><i>fn</i></dt> |
274 <dt><i>fn</i></dt> |
209 <dd> |
275 <dd> |
210 filename(s) (string or list of string) |
276 filename(s) (string or list of string) |
211 </dd><dt><i>recursive</i></dt> |
277 </dd> |
|
278 <dt><i>recursive</i></dt> |
212 <dd> |
279 <dd> |
213 flag indicating a recursive list is requested |
280 flag indicating a recursive list is requested |
214 </dd> |
281 </dd> |
215 </dl> |
282 </dl> |
216 <div align="right"><a href="#top">Up</a></div> |
283 <div align="right"><a href="#top">Up</a></div> |