|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.Plugins.VcsPlugins.vcsSubversion.SvnPropListDialog</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><a NAME="top" ID="top"></a> |
|
22 <h1>eric6.Plugins.VcsPlugins.vcsSubversion.SvnPropListDialog</h1> |
|
23 <p> |
|
24 Module implementing a dialog to show the output of the svn proplist command |
|
25 process. |
|
26 </p> |
|
27 <h3>Global Attributes</h3> |
|
28 <table> |
|
29 <tr><td>None</td></tr> |
|
30 </table> |
|
31 <h3>Classes</h3> |
|
32 <table> |
|
33 <tr> |
|
34 <td><a href="#SvnPropListDialog">SvnPropListDialog</a></td> |
|
35 <td>Class implementing a dialog to show the output of the svn proplist command process.</td> |
|
36 </tr> |
|
37 </table> |
|
38 <h3>Functions</h3> |
|
39 <table> |
|
40 <tr><td>None</td></tr> |
|
41 </table> |
|
42 <hr /><hr /> |
|
43 <a NAME="SvnPropListDialog" ID="SvnPropListDialog"></a> |
|
44 <h2>SvnPropListDialog</h2> |
|
45 <p> |
|
46 Class implementing a dialog to show the output of the svn proplist command |
|
47 process. |
|
48 </p> |
|
49 <h3>Derived from</h3> |
|
50 QWidget, Ui_SvnPropListDialog |
|
51 <h3>Class Attributes</h3> |
|
52 <table> |
|
53 <tr><td>None</td></tr> |
|
54 </table> |
|
55 <h3>Class Methods</h3> |
|
56 <table> |
|
57 <tr><td>None</td></tr> |
|
58 </table> |
|
59 <h3>Methods</h3> |
|
60 <table> |
|
61 <tr> |
|
62 <td><a href="#SvnPropListDialog.__init__">SvnPropListDialog</a></td> |
|
63 <td>Constructor</td> |
|
64 </tr><tr> |
|
65 <td><a href="#SvnPropListDialog.__finish">__finish</a></td> |
|
66 <td>Private slot called when the process finished or the user pressed the button.</td> |
|
67 </tr><tr> |
|
68 <td><a href="#SvnPropListDialog.__generateItem">__generateItem</a></td> |
|
69 <td>Private method to generate a properties item in the properties list.</td> |
|
70 </tr><tr> |
|
71 <td><a href="#SvnPropListDialog.__procFinished">__procFinished</a></td> |
|
72 <td>Private slot connected to the finished signal.</td> |
|
73 </tr><tr> |
|
74 <td><a href="#SvnPropListDialog.__readStderr">__readStderr</a></td> |
|
75 <td>Private slot to handle the readyReadStandardError signal.</td> |
|
76 </tr><tr> |
|
77 <td><a href="#SvnPropListDialog.__readStdout">__readStdout</a></td> |
|
78 <td>Private slot to handle the readyReadStandardOutput signal.</td> |
|
79 </tr><tr> |
|
80 <td><a href="#SvnPropListDialog.__resizeColumns">__resizeColumns</a></td> |
|
81 <td>Private method to resize the list columns.</td> |
|
82 </tr><tr> |
|
83 <td><a href="#SvnPropListDialog.__resort">__resort</a></td> |
|
84 <td>Private method to resort the tree.</td> |
|
85 </tr><tr> |
|
86 <td><a href="#SvnPropListDialog.closeEvent">closeEvent</a></td> |
|
87 <td>Protected slot implementing a close event handler.</td> |
|
88 </tr><tr> |
|
89 <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> |
|
91 </tr><tr> |
|
92 <td><a href="#SvnPropListDialog.start">start</a></td> |
|
93 <td>Public slot to start the svn status command.</td> |
|
94 </tr> |
|
95 </table> |
|
96 <h3>Static Methods</h3> |
|
97 <table> |
|
98 <tr><td>None</td></tr> |
|
99 </table> |
|
100 <a NAME="SvnPropListDialog.__init__" ID="SvnPropListDialog.__init__"></a> |
|
101 <h4>SvnPropListDialog (Constructor)</h4> |
|
102 <b>SvnPropListDialog</b>(<i>vcs, parent=None</i>) |
|
103 <p> |
|
104 Constructor |
|
105 </p><dl> |
|
106 <dt><i>vcs</i></dt> |
|
107 <dd> |
|
108 reference to the vcs object |
|
109 </dd><dt><i>parent</i></dt> |
|
110 <dd> |
|
111 parent widget (QWidget) |
|
112 </dd> |
|
113 </dl><a NAME="SvnPropListDialog.__finish" ID="SvnPropListDialog.__finish"></a> |
|
114 <h4>SvnPropListDialog.__finish</h4> |
|
115 <b>__finish</b>(<i></i>) |
|
116 <p> |
|
117 Private slot called when the process finished or the user pressed the |
|
118 button. |
|
119 </p><a NAME="SvnPropListDialog.__generateItem" ID="SvnPropListDialog.__generateItem"></a> |
|
120 <h4>SvnPropListDialog.__generateItem</h4> |
|
121 <b>__generateItem</b>(<i>path, propName, propValue</i>) |
|
122 <p> |
|
123 Private method to generate a properties item in the properties list. |
|
124 </p><dl> |
|
125 <dt><i>path</i></dt> |
|
126 <dd> |
|
127 file/directory name the property applies to (string) |
|
128 </dd><dt><i>propName</i></dt> |
|
129 <dd> |
|
130 name of the property (string) |
|
131 </dd><dt><i>propValue</i></dt> |
|
132 <dd> |
|
133 value of the property (string) |
|
134 </dd> |
|
135 </dl><a NAME="SvnPropListDialog.__procFinished" ID="SvnPropListDialog.__procFinished"></a> |
|
136 <h4>SvnPropListDialog.__procFinished</h4> |
|
137 <b>__procFinished</b>(<i>exitCode, exitStatus</i>) |
|
138 <p> |
|
139 Private slot connected to the finished signal. |
|
140 </p><dl> |
|
141 <dt><i>exitCode</i></dt> |
|
142 <dd> |
|
143 exit code of the process (integer) |
|
144 </dd><dt><i>exitStatus</i></dt> |
|
145 <dd> |
|
146 exit status of the process (QProcess.ExitStatus) |
|
147 </dd> |
|
148 </dl><a NAME="SvnPropListDialog.__readStderr" ID="SvnPropListDialog.__readStderr"></a> |
|
149 <h4>SvnPropListDialog.__readStderr</h4> |
|
150 <b>__readStderr</b>(<i></i>) |
|
151 <p> |
|
152 Private slot to handle the readyReadStandardError signal. |
|
153 </p><p> |
|
154 It reads the error output of the process and inserts it into the |
|
155 error pane. |
|
156 </p><a NAME="SvnPropListDialog.__readStdout" ID="SvnPropListDialog.__readStdout"></a> |
|
157 <h4>SvnPropListDialog.__readStdout</h4> |
|
158 <b>__readStdout</b>(<i></i>) |
|
159 <p> |
|
160 Private slot to handle the readyReadStandardOutput signal. |
|
161 </p><p> |
|
162 It reads the output of the process, formats it and inserts it into |
|
163 the contents pane. |
|
164 </p><a NAME="SvnPropListDialog.__resizeColumns" ID="SvnPropListDialog.__resizeColumns"></a> |
|
165 <h4>SvnPropListDialog.__resizeColumns</h4> |
|
166 <b>__resizeColumns</b>(<i></i>) |
|
167 <p> |
|
168 Private method to resize the list columns. |
|
169 </p><a NAME="SvnPropListDialog.__resort" ID="SvnPropListDialog.__resort"></a> |
|
170 <h4>SvnPropListDialog.__resort</h4> |
|
171 <b>__resort</b>(<i></i>) |
|
172 <p> |
|
173 Private method to resort the tree. |
|
174 </p><a NAME="SvnPropListDialog.closeEvent" ID="SvnPropListDialog.closeEvent"></a> |
|
175 <h4>SvnPropListDialog.closeEvent</h4> |
|
176 <b>closeEvent</b>(<i>e</i>) |
|
177 <p> |
|
178 Protected slot implementing a close event handler. |
|
179 </p><dl> |
|
180 <dt><i>e</i></dt> |
|
181 <dd> |
|
182 close event (QCloseEvent) |
|
183 </dd> |
|
184 </dl><a NAME="SvnPropListDialog.on_buttonBox_clicked" ID="SvnPropListDialog.on_buttonBox_clicked"></a> |
|
185 <h4>SvnPropListDialog.on_buttonBox_clicked</h4> |
|
186 <b>on_buttonBox_clicked</b>(<i>button</i>) |
|
187 <p> |
|
188 Private slot called by a button of the button box clicked. |
|
189 </p><dl> |
|
190 <dt><i>button</i></dt> |
|
191 <dd> |
|
192 button that was clicked (QAbstractButton) |
|
193 </dd> |
|
194 </dl><a NAME="SvnPropListDialog.start" ID="SvnPropListDialog.start"></a> |
|
195 <h4>SvnPropListDialog.start</h4> |
|
196 <b>start</b>(<i>fn, recursive=False</i>) |
|
197 <p> |
|
198 Public slot to start the svn status command. |
|
199 </p><dl> |
|
200 <dt><i>fn</i></dt> |
|
201 <dd> |
|
202 filename(s) (string or list of string) |
|
203 </dd><dt><i>recursive</i></dt> |
|
204 <dd> |
|
205 flag indicating a recursive list is requested |
|
206 </dd> |
|
207 </dl> |
|
208 <div align="right"><a href="#top">Up</a></div> |
|
209 <hr /> |
|
210 </body></html> |