eric7/Documentation/Source/eric7.Plugins.VcsPlugins.vcsPySvn.SvnDialog.html

branch
eric7
changeset 8372
e0227a7c850e
child 8596
d64760b2da50
equal deleted inserted replaced
8371:d6062691d424 8372:e0227a7c850e
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.Plugins.VcsPlugins.vcsPySvn.SvnDialog</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.vcsPySvn.SvnDialog</h1>
24
25 <p>
26 Module implementing a dialog to show the output of a pysvn action.
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="#SvnDialog">SvnDialog</a></td>
39 <td>Class implementing a dialog to show the output of a pysvn action.</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="SvnDialog" ID="SvnDialog"></a>
50 <h2>SvnDialog</h2>
51
52 <p>
53 Class implementing a dialog to show the output of a pysvn action.
54 </p>
55 <h3>Derived from</h3>
56 QDialog, SvnDialogMixin, Ui_SvnDialog
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="#SvnDialog.__init__">SvnDialog</a></td>
73 <td>Constructor</td>
74 </tr>
75 <tr>
76 <td><a href="#SvnDialog._clientNotifyCallback">_clientNotifyCallback</a></td>
77 <td>Protected method called by the client to send events.</td>
78 </tr>
79 <tr>
80 <td><a href="#SvnDialog.finish">finish</a></td>
81 <td>Public slot called when the process finished or the user pressed the button.</td>
82 </tr>
83 <tr>
84 <td><a href="#SvnDialog.hasAddOrDelete">hasAddOrDelete</a></td>
85 <td>Public method to check, if the last action contained an add or delete.</td>
86 </tr>
87 <tr>
88 <td><a href="#SvnDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td>
89 <td>Private slot called by a button of the button box clicked.</td>
90 </tr>
91 <tr>
92 <td><a href="#SvnDialog.showError">showError</a></td>
93 <td>Public slot to show an error message.</td>
94 </tr>
95 <tr>
96 <td><a href="#SvnDialog.showMessage">showMessage</a></td>
97 <td>Public slot to show a message.</td>
98 </tr>
99 </table>
100 <h3>Static Methods</h3>
101
102 <table>
103 <tr><td>None</td></tr>
104 </table>
105
106 <a NAME="SvnDialog.__init__" ID="SvnDialog.__init__"></a>
107 <h4>SvnDialog (Constructor)</h4>
108 <b>SvnDialog</b>(<i>text, command, pysvnClient, parent=None, log=""</i>)
109
110 <p>
111 Constructor
112 </p>
113 <dl>
114
115 <dt><i>text</i></dt>
116 <dd>
117 text to be shown by the label (string)
118 </dd>
119 <dt><i>command</i></dt>
120 <dd>
121 svn command to be executed (display purposes only)
122 (string)
123 </dd>
124 <dt><i>pysvnClient</i></dt>
125 <dd>
126 reference to the pysvn client object (pysvn.Client)
127 </dd>
128 <dt><i>parent</i></dt>
129 <dd>
130 parent widget (QWidget)
131 </dd>
132 <dt><i>log</i></dt>
133 <dd>
134 optional log message (string)
135 </dd>
136 </dl>
137 <a NAME="SvnDialog._clientNotifyCallback" ID="SvnDialog._clientNotifyCallback"></a>
138 <h4>SvnDialog._clientNotifyCallback</h4>
139 <b>_clientNotifyCallback</b>(<i>eventDict</i>)
140
141 <p>
142 Protected method called by the client to send events.
143 </p>
144 <dl>
145
146 <dt><i>eventDict</i></dt>
147 <dd>
148 dictionary containing the notification event
149 </dd>
150 </dl>
151 <a NAME="SvnDialog.finish" ID="SvnDialog.finish"></a>
152 <h4>SvnDialog.finish</h4>
153 <b>finish</b>(<i></i>)
154
155 <p>
156 Public slot called when the process finished or the user pressed the
157 button.
158 </p>
159 <a NAME="SvnDialog.hasAddOrDelete" ID="SvnDialog.hasAddOrDelete"></a>
160 <h4>SvnDialog.hasAddOrDelete</h4>
161 <b>hasAddOrDelete</b>(<i></i>)
162
163 <p>
164 Public method to check, if the last action contained an add or delete.
165 </p>
166 <dl>
167 <dt>Return:</dt>
168 <dd>
169 flag indicating the presence of an add or delete (boolean)
170 </dd>
171 </dl>
172 <a NAME="SvnDialog.on_buttonBox_clicked" ID="SvnDialog.on_buttonBox_clicked"></a>
173 <h4>SvnDialog.on_buttonBox_clicked</h4>
174 <b>on_buttonBox_clicked</b>(<i>button</i>)
175
176 <p>
177 Private slot called by a button of the button box clicked.
178 </p>
179 <dl>
180
181 <dt><i>button</i></dt>
182 <dd>
183 button that was clicked (QAbstractButton)
184 </dd>
185 </dl>
186 <a NAME="SvnDialog.showError" ID="SvnDialog.showError"></a>
187 <h4>SvnDialog.showError</h4>
188 <b>showError</b>(<i>msg</i>)
189
190 <p>
191 Public slot to show an error message.
192 </p>
193 <dl>
194
195 <dt><i>msg</i></dt>
196 <dd>
197 error message to show (string)
198 </dd>
199 </dl>
200 <a NAME="SvnDialog.showMessage" ID="SvnDialog.showMessage"></a>
201 <h4>SvnDialog.showMessage</h4>
202 <b>showMessage</b>(<i>msg</i>)
203
204 <p>
205 Public slot to show a message.
206 </p>
207 <dl>
208
209 <dt><i>msg</i></dt>
210 <dd>
211 message to show (string)
212 </dd>
213 </dl>
214 <div align="right"><a href="#top">Up</a></div>
215 <hr />
216 </body></html>

eric ide

mercurial