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

changeset 3673
e26d7d0c1088
equal deleted inserted replaced
3670:f0cb7579c0b4 3673:e26d7d0c1088
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.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><a NAME="top" ID="top"></a>
22 <h1>eric6.Plugins.VcsPlugins.vcsPySvn.SvnDialog</h1>
23 <p>
24 Module implementing a dialog to show the output of a pysvn action.
25 </p>
26 <h3>Global Attributes</h3>
27 <table>
28 <tr><td>None</td></tr>
29 </table>
30 <h3>Classes</h3>
31 <table>
32 <tr>
33 <td><a href="#SvnDialog">SvnDialog</a></td>
34 <td>Class implementing a dialog to show the output of a pysvn action.</td>
35 </tr>
36 </table>
37 <h3>Functions</h3>
38 <table>
39 <tr><td>None</td></tr>
40 </table>
41 <hr /><hr />
42 <a NAME="SvnDialog" ID="SvnDialog"></a>
43 <h2>SvnDialog</h2>
44 <p>
45 Class implementing a dialog to show the output of a pysvn action.
46 </p>
47 <h3>Derived from</h3>
48 QDialog, SvnDialogMixin, Ui_SvnDialog
49 <h3>Class Attributes</h3>
50 <table>
51 <tr><td>None</td></tr>
52 </table>
53 <h3>Class Methods</h3>
54 <table>
55 <tr><td>None</td></tr>
56 </table>
57 <h3>Methods</h3>
58 <table>
59 <tr>
60 <td><a href="#SvnDialog.__init__">SvnDialog</a></td>
61 <td>Constructor</td>
62 </tr><tr>
63 <td><a href="#SvnDialog._clientNotifyCallback">_clientNotifyCallback</a></td>
64 <td>Protected method called by the client to send events.</td>
65 </tr><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><tr>
69 <td><a href="#SvnDialog.hasAddOrDelete">hasAddOrDelete</a></td>
70 <td>Public method to check, if the last action contained an add or delete.</td>
71 </tr><tr>
72 <td><a href="#SvnDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td>
73 <td>Private slot called by a button of the button box clicked.</td>
74 </tr><tr>
75 <td><a href="#SvnDialog.showError">showError</a></td>
76 <td>Public slot to show an error message.</td>
77 </tr><tr>
78 <td><a href="#SvnDialog.showMessage">showMessage</a></td>
79 <td>Public slot to show a message.</td>
80 </tr>
81 </table>
82 <h3>Static Methods</h3>
83 <table>
84 <tr><td>None</td></tr>
85 </table>
86 <a NAME="SvnDialog.__init__" ID="SvnDialog.__init__"></a>
87 <h4>SvnDialog (Constructor)</h4>
88 <b>SvnDialog</b>(<i>text, command, pysvnClient, parent=None, log=""</i>)
89 <p>
90 Constructor
91 </p><dl>
92 <dt><i>text</i></dt>
93 <dd>
94 text to be shown by the label (string)
95 </dd><dt><i>command</i></dt>
96 <dd>
97 svn command to be executed (display purposes only)
98 (string)
99 </dd><dt><i>pysvnClient</i></dt>
100 <dd>
101 reference to the pysvn client object (pysvn.Client)
102 </dd><dt><i>parent=</i></dt>
103 <dd>
104 parent widget (QWidget)
105 </dd><dt><i>log=</i></dt>
106 <dd>
107 optional log message (string)
108 </dd>
109 </dl><a NAME="SvnDialog._clientNotifyCallback" ID="SvnDialog._clientNotifyCallback"></a>
110 <h4>SvnDialog._clientNotifyCallback</h4>
111 <b>_clientNotifyCallback</b>(<i>eventDict</i>)
112 <p>
113 Protected method called by the client to send events.
114 </p><dl>
115 <dt><i>eventDict</i></dt>
116 <dd>
117 dictionary containing the notification event
118 </dd>
119 </dl><a NAME="SvnDialog.finish" ID="SvnDialog.finish"></a>
120 <h4>SvnDialog.finish</h4>
121 <b>finish</b>(<i></i>)
122 <p>
123 Public slot called when the process finished or the user pressed the
124 button.
125 </p><a NAME="SvnDialog.hasAddOrDelete" ID="SvnDialog.hasAddOrDelete"></a>
126 <h4>SvnDialog.hasAddOrDelete</h4>
127 <b>hasAddOrDelete</b>(<i></i>)
128 <p>
129 Public method to check, if the last action contained an add or delete.
130 </p><dl>
131 <dt>Returns:</dt>
132 <dd>
133 flag indicating the presence of an add or delete (boolean)
134 </dd>
135 </dl><a NAME="SvnDialog.on_buttonBox_clicked" ID="SvnDialog.on_buttonBox_clicked"></a>
136 <h4>SvnDialog.on_buttonBox_clicked</h4>
137 <b>on_buttonBox_clicked</b>(<i>button</i>)
138 <p>
139 Private slot called by a button of the button box clicked.
140 </p><dl>
141 <dt><i>button</i></dt>
142 <dd>
143 button that was clicked (QAbstractButton)
144 </dd>
145 </dl><a NAME="SvnDialog.showError" ID="SvnDialog.showError"></a>
146 <h4>SvnDialog.showError</h4>
147 <b>showError</b>(<i>msg</i>)
148 <p>
149 Public slot to show an error message.
150 </p><dl>
151 <dt><i>msg</i></dt>
152 <dd>
153 error message to show (string)
154 </dd>
155 </dl><a NAME="SvnDialog.showMessage" ID="SvnDialog.showMessage"></a>
156 <h4>SvnDialog.showMessage</h4>
157 <b>showMessage</b>(<i>msg</i>)
158 <p>
159 Public slot to show a message.
160 </p><dl>
161 <dt><i>msg</i></dt>
162 <dd>
163 message to show (string)
164 </dd>
165 </dl>
166 <div align="right"><a href="#top">Up</a></div>
167 <hr />
168 </body></html>

eric ide

mercurial