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