|
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>eric5.Plugins.VcsPlugins.vcsPySvn.SvnDialog</title> |
|
6 <style> |
|
7 b'body {\n background:white;\n margin: 0em 1em 10em 1em;\n color: black;\n}\n\nh1 { color: white; background: #4FA4FF; }\nh2 { color: white; background: #4FA4FF; }\nh3 { color: white; background: #00557F; }\nh4 { color: white; background: #00557F; }\n \na { color: #AA5500; }\n' |
|
8 </style> |
|
9 </head> |
|
10 <body><a NAME="top" ID="top"></a> |
|
11 <h1>eric5.Plugins.VcsPlugins.vcsPySvn.SvnDialog</h1> |
|
12 <p> |
|
13 Module implementing a dialog to show the output of a pysvn action. |
|
14 </p> |
|
15 <h3>Global Attributes</h3> |
|
16 <table> |
|
17 <tr><td>None</td></tr> |
|
18 </table> |
|
19 <h3>Classes</h3> |
|
20 <table> |
|
21 <tr> |
|
22 <td><a href="#SvnDialog">SvnDialog</a></td> |
|
23 <td>Class implementing a dialog to show the output of a pysvn action.</td> |
|
24 </tr> |
|
25 </table> |
|
26 <h3>Functions</h3> |
|
27 <table> |
|
28 <tr><td>None</td></tr> |
|
29 </table> |
|
30 <hr /><hr /> |
|
31 <a NAME="SvnDialog" ID="SvnDialog"></a> |
|
32 <h2>SvnDialog</h2> |
|
33 <p> |
|
34 Class implementing a dialog to show the output of a pysvn action. |
|
35 </p> |
|
36 <h3>Derived from</h3> |
|
37 QDialog, SvnDialogMixin, Ui_SvnDialog |
|
38 <h3>Class Attributes</h3> |
|
39 <table> |
|
40 <tr><td>None</td></tr> |
|
41 </table> |
|
42 <h3>Methods</h3> |
|
43 <table> |
|
44 <tr> |
|
45 <td><a href="#SvnDialog.__init__">SvnDialog</a></td> |
|
46 <td>Constructor</td> |
|
47 </tr><tr> |
|
48 <td><a href="#SvnDialog._clientNotifyCallback">_clientNotifyCallback</a></td> |
|
49 <td>Protected method called by the client to send events</td> |
|
50 </tr><tr> |
|
51 <td><a href="#SvnDialog.finish">finish</a></td> |
|
52 <td>Public slot called when the process finished or the user pressed the button.</td> |
|
53 </tr><tr> |
|
54 <td><a href="#SvnDialog.hasAddOrDelete">hasAddOrDelete</a></td> |
|
55 <td>Public method to check, if the last action contained an add or delete.</td> |
|
56 </tr><tr> |
|
57 <td><a href="#SvnDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
|
58 <td>Private slot called by a button of the button box clicked.</td> |
|
59 </tr><tr> |
|
60 <td><a href="#SvnDialog.showError">showError</a></td> |
|
61 <td>Public slot to show an error message.</td> |
|
62 </tr><tr> |
|
63 <td><a href="#SvnDialog.showMessage">showMessage</a></td> |
|
64 <td>Public slot to show a message.</td> |
|
65 </tr> |
|
66 </table> |
|
67 <a NAME="SvnDialog.__init__" ID="SvnDialog.__init__"></a> |
|
68 <h4>SvnDialog (Constructor)</h4> |
|
69 <b>SvnDialog</b>(<i>text, command, pysvnClient, parent = None, log = ""</i>) |
|
70 <p> |
|
71 Constructor |
|
72 </p><dl> |
|
73 <dt><i>text</i></dt> |
|
74 <dd> |
|
75 text to be shown by the label (string) |
|
76 </dd><dt><i>command</i></dt> |
|
77 <dd> |
|
78 svn command to be executed (display purposes only) |
|
79 (string) |
|
80 </dd><dt><i>pysvnClient</i></dt> |
|
81 <dd> |
|
82 reference to the pysvn client object (pysvn.Client) |
|
83 </dd><dt><i>parent=</i></dt> |
|
84 <dd> |
|
85 parent widget (QWidget) |
|
86 </dd><dt><i>log=</i></dt> |
|
87 <dd> |
|
88 optional log message (string) |
|
89 </dd> |
|
90 </dl><a NAME="SvnDialog._clientNotifyCallback" ID="SvnDialog._clientNotifyCallback"></a> |
|
91 <h4>SvnDialog._clientNotifyCallback</h4> |
|
92 <b>_clientNotifyCallback</b>(<i>eventDict</i>) |
|
93 <p> |
|
94 Protected method called by the client to send events |
|
95 </p><dl> |
|
96 <dt><i>eventDict</i></dt> |
|
97 <dd> |
|
98 dictionary containing the notification event |
|
99 </dd> |
|
100 </dl><a NAME="SvnDialog.finish" ID="SvnDialog.finish"></a> |
|
101 <h4>SvnDialog.finish</h4> |
|
102 <b>finish</b>(<i></i>) |
|
103 <p> |
|
104 Public slot called when the process finished or the user pressed the button. |
|
105 </p><a NAME="SvnDialog.hasAddOrDelete" ID="SvnDialog.hasAddOrDelete"></a> |
|
106 <h4>SvnDialog.hasAddOrDelete</h4> |
|
107 <b>hasAddOrDelete</b>(<i></i>) |
|
108 <p> |
|
109 Public method to check, if the last action contained an add or delete. |
|
110 </p><a NAME="SvnDialog.on_buttonBox_clicked" ID="SvnDialog.on_buttonBox_clicked"></a> |
|
111 <h4>SvnDialog.on_buttonBox_clicked</h4> |
|
112 <b>on_buttonBox_clicked</b>(<i>button</i>) |
|
113 <p> |
|
114 Private slot called by a button of the button box clicked. |
|
115 </p><dl> |
|
116 <dt><i>button</i></dt> |
|
117 <dd> |
|
118 button that was clicked (QAbstractButton) |
|
119 </dd> |
|
120 </dl><a NAME="SvnDialog.showError" ID="SvnDialog.showError"></a> |
|
121 <h4>SvnDialog.showError</h4> |
|
122 <b>showError</b>(<i>msg</i>) |
|
123 <p> |
|
124 Public slot to show an error message. |
|
125 </p><dl> |
|
126 <dt><i>msg</i></dt> |
|
127 <dd> |
|
128 error message to show (string) |
|
129 </dd> |
|
130 </dl><a NAME="SvnDialog.showMessage" ID="SvnDialog.showMessage"></a> |
|
131 <h4>SvnDialog.showMessage</h4> |
|
132 <b>showMessage</b>(<i>msg</i>) |
|
133 <p> |
|
134 Public slot to show a message. |
|
135 </p><dl> |
|
136 <dt><i>msg</i></dt> |
|
137 <dd> |
|
138 message to show (string) |
|
139 </dd> |
|
140 </dl> |
|
141 <div align="right"><a href="#top">Up</a></div> |
|
142 <hr /> |
|
143 </body></html> |