|
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.SvnLogDialog</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.SvnLogDialog</h1> |
|
24 <p> |
|
25 Module implementing a dialog to show the output of the svn log command process. |
|
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="#SvnLogDialog">SvnLogDialog</a></td> |
|
35 <td>Class implementing a dialog to show the output of the svn log command.</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="SvnLogDialog" ID="SvnLogDialog"></a> |
|
44 <h2>SvnLogDialog</h2> |
|
45 <p> |
|
46 Class implementing a dialog to show the output of the svn log command. |
|
47 </p><p> |
|
48 The dialog is nonmodal. Clicking a link in the upper text pane shows |
|
49 a diff of the versions. |
|
50 </p> |
|
51 <h3>Derived from</h3> |
|
52 QWidget, SvnDialogMixin, Ui_SvnLogDialog |
|
53 <h3>Class Attributes</h3> |
|
54 <table> |
|
55 <tr><td>None</td></tr> |
|
56 </table> |
|
57 <h3>Methods</h3> |
|
58 <table> |
|
59 <tr> |
|
60 <td><a href="#SvnLogDialog.__init__">SvnLogDialog</a></td> |
|
61 <td>Constructor</td> |
|
62 </tr><tr> |
|
63 <td><a href="#SvnLogDialog.__finish">__finish</a></td> |
|
64 <td>Private slot called when the user pressed the button.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#SvnLogDialog.__showError">__showError</a></td> |
|
67 <td>Private slot to show an error message.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#SvnLogDialog.__sourceChanged">__sourceChanged</a></td> |
|
70 <td>Private slot to handle the sourceChanged signal of the contents pane.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#SvnLogDialog.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="#SvnLogDialog.start">start</a></td> |
|
76 <td>Public slot to start the svn log command.</td> |
|
77 </tr> |
|
78 </table> |
|
79 <a NAME="SvnLogDialog.__init__" ID="SvnLogDialog.__init__"></a> |
|
80 <h4>SvnLogDialog (Constructor)</h4> |
|
81 <b>SvnLogDialog</b>(<i>vcs, parent = None</i>) |
|
82 <p> |
|
83 Constructor |
|
84 </p><dl> |
|
85 <dt><i>vcs</i></dt> |
|
86 <dd> |
|
87 reference to the vcs object |
|
88 </dd><dt><i>parent</i></dt> |
|
89 <dd> |
|
90 parent widget (QWidget) |
|
91 </dd> |
|
92 </dl><a NAME="SvnLogDialog.__finish" ID="SvnLogDialog.__finish"></a> |
|
93 <h4>SvnLogDialog.__finish</h4> |
|
94 <b>__finish</b>(<i></i>) |
|
95 <p> |
|
96 Private slot called when the user pressed the button. |
|
97 </p><a NAME="SvnLogDialog.__showError" ID="SvnLogDialog.__showError"></a> |
|
98 <h4>SvnLogDialog.__showError</h4> |
|
99 <b>__showError</b>(<i>msg</i>) |
|
100 <p> |
|
101 Private slot to show an error message. |
|
102 </p><dl> |
|
103 <dt><i>msg</i></dt> |
|
104 <dd> |
|
105 error message to show (string or QString) |
|
106 </dd> |
|
107 </dl><a NAME="SvnLogDialog.__sourceChanged" ID="SvnLogDialog.__sourceChanged"></a> |
|
108 <h4>SvnLogDialog.__sourceChanged</h4> |
|
109 <b>__sourceChanged</b>(<i>url</i>) |
|
110 <p> |
|
111 Private slot to handle the sourceChanged signal of the contents pane. |
|
112 </p><dl> |
|
113 <dt><i>url</i></dt> |
|
114 <dd> |
|
115 the url that was clicked (QUrl) |
|
116 </dd> |
|
117 </dl><a NAME="SvnLogDialog.on_buttonBox_clicked" ID="SvnLogDialog.on_buttonBox_clicked"></a> |
|
118 <h4>SvnLogDialog.on_buttonBox_clicked</h4> |
|
119 <b>on_buttonBox_clicked</b>(<i>button</i>) |
|
120 <p> |
|
121 Private slot called by a button of the button box clicked. |
|
122 </p><dl> |
|
123 <dt><i>button</i></dt> |
|
124 <dd> |
|
125 button that was clicked (QAbstractButton) |
|
126 </dd> |
|
127 </dl><a NAME="SvnLogDialog.start" ID="SvnLogDialog.start"></a> |
|
128 <h4>SvnLogDialog.start</h4> |
|
129 <b>start</b>(<i>fn, noEntries = 0</i>) |
|
130 <p> |
|
131 Public slot to start the svn log command. |
|
132 </p><dl> |
|
133 <dt><i>fn</i></dt> |
|
134 <dd> |
|
135 filename to show the log for (string) |
|
136 </dd><dt><i>noEntries</i></dt> |
|
137 <dd> |
|
138 number of entries to show (integer) |
|
139 </dd> |
|
140 </dl> |
|
141 <div align="right"><a href="#top">Up</a></div> |
|
142 <hr /> |
|
143 </body></html> |