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

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

eric ide

mercurial