|
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.vcsPySvn.SvnDialog</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.vcsPySvn.SvnDialog</h1> |
|
24 <p> |
|
25 Module implementing a dialog to show the output of a pysvn action. |
|
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="#SvnDialog">SvnDialog</a></td> |
|
35 <td>Class implementing a dialog to show the output of a pysvn action.</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="SvnDialog" ID="SvnDialog"></a> |
|
44 <h2>SvnDialog</h2> |
|
45 <p> |
|
46 Class implementing a dialog to show the output of a pysvn action. |
|
47 </p> |
|
48 <h3>Derived from</h3> |
|
49 QDialog, SvnDialogMixin, Ui_SvnDialog |
|
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="#SvnDialog.__init__">SvnDialog</a></td> |
|
58 <td>Constructor</td> |
|
59 </tr><tr> |
|
60 <td><a href="#SvnDialog._clientNotifyCallback">_clientNotifyCallback</a></td> |
|
61 <td>Protected method called by the client to send events</td> |
|
62 </tr><tr> |
|
63 <td><a href="#SvnDialog.finish">finish</a></td> |
|
64 <td>Public slot called when the process finished or the user pressed the button.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#SvnDialog.hasAddOrDelete">hasAddOrDelete</a></td> |
|
67 <td>Public method to check, if the last action contained an add or delete.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#SvnDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
|
70 <td>Private slot called by a button of the button box clicked.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#SvnDialog.showError">showError</a></td> |
|
73 <td>Public slot to show an error message.</td> |
|
74 </tr><tr> |
|
75 <td><a href="#SvnDialog.showMessage">showMessage</a></td> |
|
76 <td>Public slot to show a message.</td> |
|
77 </tr> |
|
78 </table> |
|
79 <a NAME="SvnDialog.__init__" ID="SvnDialog.__init__"></a> |
|
80 <h4>SvnDialog (Constructor)</h4> |
|
81 <b>SvnDialog</b>(<i>text, command, pysvnClient, parent = None, log = ""</i>) |
|
82 <p> |
|
83 Constructor |
|
84 </p><dl> |
|
85 <dt><i>text</i></dt> |
|
86 <dd> |
|
87 text to be shown by the label (string) |
|
88 </dd><dt><i>command</i></dt> |
|
89 <dd> |
|
90 svn command to be executed (display purposes only) |
|
91 (string) |
|
92 </dd><dt><i>pysvnClient</i></dt> |
|
93 <dd> |
|
94 reference to the pysvn client object (pysvn.Client) |
|
95 </dd><dt><i>parent=</i></dt> |
|
96 <dd> |
|
97 parent widget (QWidget) |
|
98 </dd><dt><i>log=</i></dt> |
|
99 <dd> |
|
100 optional log message (string) |
|
101 </dd> |
|
102 </dl><a NAME="SvnDialog._clientNotifyCallback" ID="SvnDialog._clientNotifyCallback"></a> |
|
103 <h4>SvnDialog._clientNotifyCallback</h4> |
|
104 <b>_clientNotifyCallback</b>(<i>eventDict</i>) |
|
105 <p> |
|
106 Protected method called by the client to send events |
|
107 </p><dl> |
|
108 <dt><i>eventDict</i></dt> |
|
109 <dd> |
|
110 dictionary containing the notification event |
|
111 </dd> |
|
112 </dl><a NAME="SvnDialog.finish" ID="SvnDialog.finish"></a> |
|
113 <h4>SvnDialog.finish</h4> |
|
114 <b>finish</b>(<i></i>) |
|
115 <p> |
|
116 Public slot called when the process finished or the user pressed the button. |
|
117 </p><a NAME="SvnDialog.hasAddOrDelete" ID="SvnDialog.hasAddOrDelete"></a> |
|
118 <h4>SvnDialog.hasAddOrDelete</h4> |
|
119 <b>hasAddOrDelete</b>(<i></i>) |
|
120 <p> |
|
121 Public method to check, if the last action contained an add or delete. |
|
122 </p><a NAME="SvnDialog.on_buttonBox_clicked" ID="SvnDialog.on_buttonBox_clicked"></a> |
|
123 <h4>SvnDialog.on_buttonBox_clicked</h4> |
|
124 <b>on_buttonBox_clicked</b>(<i>button</i>) |
|
125 <p> |
|
126 Private slot called by a button of the button box clicked. |
|
127 </p><dl> |
|
128 <dt><i>button</i></dt> |
|
129 <dd> |
|
130 button that was clicked (QAbstractButton) |
|
131 </dd> |
|
132 </dl><a NAME="SvnDialog.showError" ID="SvnDialog.showError"></a> |
|
133 <h4>SvnDialog.showError</h4> |
|
134 <b>showError</b>(<i>msg</i>) |
|
135 <p> |
|
136 Public slot to show an error message. |
|
137 </p><dl> |
|
138 <dt><i>msg</i></dt> |
|
139 <dd> |
|
140 error message to show (string) |
|
141 </dd> |
|
142 </dl><a NAME="SvnDialog.showMessage" ID="SvnDialog.showMessage"></a> |
|
143 <h4>SvnDialog.showMessage</h4> |
|
144 <b>showMessage</b>(<i>msg</i>) |
|
145 <p> |
|
146 Public slot to show a message. |
|
147 </p><dl> |
|
148 <dt><i>msg</i></dt> |
|
149 <dd> |
|
150 message to show (string) |
|
151 </dd> |
|
152 </dl> |
|
153 <div align="right"><a href="#top">Up</a></div> |
|
154 <hr /> |
|
155 </body></html> |