|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' |
|
3 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> |
|
4 <html><head> |
|
5 <title>eric4.Plugins.VcsPlugins.vcsSubversion.SvnPropListDialog</title> |
|
6 <style> |
|
7 body { |
|
8 background:white; |
|
9 margin: 0em 1em 10em 1em; |
|
10 color: black; |
|
11 } |
|
12 |
|
13 h1 { color: white; background: #4FA4FF; } |
|
14 h2 { color: white; background: #4FA4FF; } |
|
15 h3 { color: white; background: #00557F; } |
|
16 h4 { color: white; background: #00557F; } |
|
17 |
|
18 a { color: #AA5500; } |
|
19 |
|
20 </style> |
|
21 </head> |
|
22 <body><a NAME="top" ID="top"></a> |
|
23 <h1>eric4.Plugins.VcsPlugins.vcsSubversion.SvnPropListDialog</h1> |
|
24 <p> |
|
25 Module implementing a dialog to show the output of the svn proplist command 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 process. |
|
47 </p> |
|
48 <h3>Derived from</h3> |
|
49 QWidget, Ui_SvnPropListDialog |
|
50 <h3>Class Attributes</h3> |
|
51 <table> |
|
52 <tr><td>None</td></tr> |
|
53 </table> |
|
54 <h3>Methods</h3> |
|
55 <table> |
|
56 <tr> |
|
57 <td><a href="#SvnPropListDialog.__init__">SvnPropListDialog</a></td> |
|
58 <td>Constructor</td> |
|
59 </tr><tr> |
|
60 <td><a href="#SvnPropListDialog.__finish">__finish</a></td> |
|
61 <td>Private slot called when the process finished or the user pressed the button.</td> |
|
62 </tr><tr> |
|
63 <td><a href="#SvnPropListDialog.__generateItem">__generateItem</a></td> |
|
64 <td>Private method to generate a properties item in the properties list.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#SvnPropListDialog.__procFinished">__procFinished</a></td> |
|
67 <td>Private slot connected to the finished signal.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#SvnPropListDialog.__readStderr">__readStderr</a></td> |
|
70 <td>Private slot to handle the readyReadStandardError signal.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#SvnPropListDialog.__readStdout">__readStdout</a></td> |
|
73 <td>Private slot to handle the readyReadStandardOutput signal.</td> |
|
74 </tr><tr> |
|
75 <td><a href="#SvnPropListDialog.__resizeColumns">__resizeColumns</a></td> |
|
76 <td>Private method to resize the list columns.</td> |
|
77 </tr><tr> |
|
78 <td><a href="#SvnPropListDialog.__resort">__resort</a></td> |
|
79 <td>Private method to resort the tree.</td> |
|
80 </tr><tr> |
|
81 <td><a href="#SvnPropListDialog.closeEvent">closeEvent</a></td> |
|
82 <td>Private slot implementing a close event handler.</td> |
|
83 </tr><tr> |
|
84 <td><a href="#SvnPropListDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
|
85 <td>Private slot called by a button of the button box clicked.</td> |
|
86 </tr><tr> |
|
87 <td><a href="#SvnPropListDialog.start">start</a></td> |
|
88 <td>Public slot to start the svn status command.</td> |
|
89 </tr> |
|
90 </table> |
|
91 <a NAME="SvnPropListDialog.__init__" ID="SvnPropListDialog.__init__"></a> |
|
92 <h4>SvnPropListDialog (Constructor)</h4> |
|
93 <b>SvnPropListDialog</b>(<i>vcs, parent = None</i>) |
|
94 <p> |
|
95 Constructor |
|
96 </p><dl> |
|
97 <dt><i>vcs</i></dt> |
|
98 <dd> |
|
99 reference to the vcs object |
|
100 </dd><dt><i>parent</i></dt> |
|
101 <dd> |
|
102 parent widget (QWidget) |
|
103 </dd> |
|
104 </dl><a NAME="SvnPropListDialog.__finish" ID="SvnPropListDialog.__finish"></a> |
|
105 <h4>SvnPropListDialog.__finish</h4> |
|
106 <b>__finish</b>(<i></i>) |
|
107 <p> |
|
108 Private slot called when the process finished or the user pressed the button. |
|
109 </p><a NAME="SvnPropListDialog.__generateItem" ID="SvnPropListDialog.__generateItem"></a> |
|
110 <h4>SvnPropListDialog.__generateItem</h4> |
|
111 <b>__generateItem</b>(<i>path, propName, propValue</i>) |
|
112 <p> |
|
113 Private method to generate a properties item in the properties list. |
|
114 </p><dl> |
|
115 <dt><i>path</i></dt> |
|
116 <dd> |
|
117 file/directory name the property applies to (string or QString) |
|
118 </dd><dt><i>propName</i></dt> |
|
119 <dd> |
|
120 name of the property (string or QString) |
|
121 </dd><dt><i>propValue</i></dt> |
|
122 <dd> |
|
123 value of the property (string or QString) |
|
124 </dd> |
|
125 </dl><a NAME="SvnPropListDialog.__procFinished" ID="SvnPropListDialog.__procFinished"></a> |
|
126 <h4>SvnPropListDialog.__procFinished</h4> |
|
127 <b>__procFinished</b>(<i>exitCode, exitStatus</i>) |
|
128 <p> |
|
129 Private slot connected to the finished signal. |
|
130 </p><dl> |
|
131 <dt><i>exitCode</i></dt> |
|
132 <dd> |
|
133 exit code of the process (integer) |
|
134 </dd><dt><i>exitStatus</i></dt> |
|
135 <dd> |
|
136 exit status of the process (QProcess.ExitStatus) |
|
137 </dd> |
|
138 </dl><a NAME="SvnPropListDialog.__readStderr" ID="SvnPropListDialog.__readStderr"></a> |
|
139 <h4>SvnPropListDialog.__readStderr</h4> |
|
140 <b>__readStderr</b>(<i></i>) |
|
141 <p> |
|
142 Private slot to handle the readyReadStandardError signal. |
|
143 </p><p> |
|
144 It reads the error output of the process and inserts it into the |
|
145 error pane. |
|
146 </p><a NAME="SvnPropListDialog.__readStdout" ID="SvnPropListDialog.__readStdout"></a> |
|
147 <h4>SvnPropListDialog.__readStdout</h4> |
|
148 <b>__readStdout</b>(<i></i>) |
|
149 <p> |
|
150 Private slot to handle the readyReadStandardOutput signal. |
|
151 </p><p> |
|
152 It reads the output of the process, formats it and inserts it into |
|
153 the contents pane. |
|
154 </p><a NAME="SvnPropListDialog.__resizeColumns" ID="SvnPropListDialog.__resizeColumns"></a> |
|
155 <h4>SvnPropListDialog.__resizeColumns</h4> |
|
156 <b>__resizeColumns</b>(<i></i>) |
|
157 <p> |
|
158 Private method to resize the list columns. |
|
159 </p><a NAME="SvnPropListDialog.__resort" ID="SvnPropListDialog.__resort"></a> |
|
160 <h4>SvnPropListDialog.__resort</h4> |
|
161 <b>__resort</b>(<i></i>) |
|
162 <p> |
|
163 Private method to resort the tree. |
|
164 </p><a NAME="SvnPropListDialog.closeEvent" ID="SvnPropListDialog.closeEvent"></a> |
|
165 <h4>SvnPropListDialog.closeEvent</h4> |
|
166 <b>closeEvent</b>(<i>e</i>) |
|
167 <p> |
|
168 Private slot implementing a close event handler. |
|
169 </p><dl> |
|
170 <dt><i>e</i></dt> |
|
171 <dd> |
|
172 close event (QCloseEvent) |
|
173 </dd> |
|
174 </dl><a NAME="SvnPropListDialog.on_buttonBox_clicked" ID="SvnPropListDialog.on_buttonBox_clicked"></a> |
|
175 <h4>SvnPropListDialog.on_buttonBox_clicked</h4> |
|
176 <b>on_buttonBox_clicked</b>(<i>button</i>) |
|
177 <p> |
|
178 Private slot called by a button of the button box clicked. |
|
179 </p><dl> |
|
180 <dt><i>button</i></dt> |
|
181 <dd> |
|
182 button that was clicked (QAbstractButton) |
|
183 </dd> |
|
184 </dl><a NAME="SvnPropListDialog.start" ID="SvnPropListDialog.start"></a> |
|
185 <h4>SvnPropListDialog.start</h4> |
|
186 <b>start</b>(<i>fn, recursive = False</i>) |
|
187 <p> |
|
188 Public slot to start the svn status command. |
|
189 </p><dl> |
|
190 <dt><i>fn</i></dt> |
|
191 <dd> |
|
192 filename(s) (string or list of string) |
|
193 </dd><dt><i>recursive</i></dt> |
|
194 <dd> |
|
195 flag indicating a recursive list is requested |
|
196 </dd> |
|
197 </dl> |
|
198 <div align="right"><a href="#top">Up</a></div> |
|
199 <hr /> |
|
200 </body></html> |