Documentation/Source/eric6.Plugins.VcsPlugins.vcsSubversion.SvnLogDialog.html

branch
maintenance
changeset 5468
c307358a2ecc
parent 5447
852016bbdedb
parent 5467
44ab42f1e8b1
child 5469
b46f68bbd6b4
equal deleted inserted replaced
5447:852016bbdedb 5468:c307358a2ecc
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.Plugins.VcsPlugins.vcsSubversion.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.vcsSubversion.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 process.</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 process.
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, Ui_SvnLogDialog
53 <h3>Class Attributes</h3>
54 <table>
55 <tr><td>None</td></tr>
56 </table>
57 <h3>Class Methods</h3>
58 <table>
59 <tr><td>None</td></tr>
60 </table>
61 <h3>Methods</h3>
62 <table>
63 <tr>
64 <td><a href="#SvnLogDialog.__init__">SvnLogDialog</a></td>
65 <td>Constructor</td>
66 </tr><tr>
67 <td><a href="#SvnLogDialog.__procFinished">__procFinished</a></td>
68 <td>Private slot connected to the finished signal.</td>
69 </tr><tr>
70 <td><a href="#SvnLogDialog.__readStderr">__readStderr</a></td>
71 <td>Private slot to handle the readyReadStandardError signal.</td>
72 </tr><tr>
73 <td><a href="#SvnLogDialog.__readStdout">__readStdout</a></td>
74 <td>Private slot to handle the readyReadStandardOutput signal.</td>
75 </tr><tr>
76 <td><a href="#SvnLogDialog.__sourceChanged">__sourceChanged</a></td>
77 <td>Private slot to handle the sourceChanged signal of the contents pane.</td>
78 </tr><tr>
79 <td><a href="#SvnLogDialog.closeEvent">closeEvent</a></td>
80 <td>Protected slot implementing a close event handler.</td>
81 </tr><tr>
82 <td><a href="#SvnLogDialog.keyPressEvent">keyPressEvent</a></td>
83 <td>Protected slot to handle a key press event.</td>
84 </tr><tr>
85 <td><a href="#SvnLogDialog.on_input_returnPressed">on_input_returnPressed</a></td>
86 <td>Private slot to handle the press of the return key in the input field.</td>
87 </tr><tr>
88 <td><a href="#SvnLogDialog.on_passwordCheckBox_toggled">on_passwordCheckBox_toggled</a></td>
89 <td>Private slot to handle the password checkbox toggled.</td>
90 </tr><tr>
91 <td><a href="#SvnLogDialog.on_sendButton_clicked">on_sendButton_clicked</a></td>
92 <td>Private slot to send the input to the subversion process.</td>
93 </tr><tr>
94 <td><a href="#SvnLogDialog.start">start</a></td>
95 <td>Public slot to start the cvs log command.</td>
96 </tr>
97 </table>
98 <h3>Static Methods</h3>
99 <table>
100 <tr><td>None</td></tr>
101 </table>
102 <a NAME="SvnLogDialog.__init__" ID="SvnLogDialog.__init__"></a>
103 <h4>SvnLogDialog (Constructor)</h4>
104 <b>SvnLogDialog</b>(<i>vcs, isFile=False, parent=None</i>)
105 <p>
106 Constructor
107 </p><dl>
108 <dt><i>vcs</i></dt>
109 <dd>
110 reference to the vcs object
111 </dd><dt><i>isFile</i></dt>
112 <dd>
113 flag indicating log for a file is to be shown (boolean)
114 </dd><dt><i>parent</i></dt>
115 <dd>
116 parent widget (QWidget)
117 </dd>
118 </dl><a NAME="SvnLogDialog.__procFinished" ID="SvnLogDialog.__procFinished"></a>
119 <h4>SvnLogDialog.__procFinished</h4>
120 <b>__procFinished</b>(<i>exitCode, exitStatus</i>)
121 <p>
122 Private slot connected to the finished signal.
123 </p><dl>
124 <dt><i>exitCode</i></dt>
125 <dd>
126 exit code of the process (integer)
127 </dd><dt><i>exitStatus</i></dt>
128 <dd>
129 exit status of the process (QProcess.ExitStatus)
130 </dd>
131 </dl><a NAME="SvnLogDialog.__readStderr" ID="SvnLogDialog.__readStderr"></a>
132 <h4>SvnLogDialog.__readStderr</h4>
133 <b>__readStderr</b>(<i></i>)
134 <p>
135 Private slot to handle the readyReadStandardError signal.
136 </p><p>
137 It reads the error output of the process and inserts it into the
138 error pane.
139 </p><a NAME="SvnLogDialog.__readStdout" ID="SvnLogDialog.__readStdout"></a>
140 <h4>SvnLogDialog.__readStdout</h4>
141 <b>__readStdout</b>(<i></i>)
142 <p>
143 Private slot to handle the readyReadStandardOutput signal.
144 </p><p>
145 It reads the output of the process and inserts it into a buffer.
146 </p><a NAME="SvnLogDialog.__sourceChanged" ID="SvnLogDialog.__sourceChanged"></a>
147 <h4>SvnLogDialog.__sourceChanged</h4>
148 <b>__sourceChanged</b>(<i>url</i>)
149 <p>
150 Private slot to handle the sourceChanged signal of the contents pane.
151 </p><dl>
152 <dt><i>url</i></dt>
153 <dd>
154 the url that was clicked (QUrl)
155 </dd>
156 </dl><a NAME="SvnLogDialog.closeEvent" ID="SvnLogDialog.closeEvent"></a>
157 <h4>SvnLogDialog.closeEvent</h4>
158 <b>closeEvent</b>(<i>e</i>)
159 <p>
160 Protected slot implementing a close event handler.
161 </p><dl>
162 <dt><i>e</i></dt>
163 <dd>
164 close event (QCloseEvent)
165 </dd>
166 </dl><a NAME="SvnLogDialog.keyPressEvent" ID="SvnLogDialog.keyPressEvent"></a>
167 <h4>SvnLogDialog.keyPressEvent</h4>
168 <b>keyPressEvent</b>(<i>evt</i>)
169 <p>
170 Protected slot to handle a key press event.
171 </p><dl>
172 <dt><i>evt</i></dt>
173 <dd>
174 the key press event (QKeyEvent)
175 </dd>
176 </dl><a NAME="SvnLogDialog.on_input_returnPressed" ID="SvnLogDialog.on_input_returnPressed"></a>
177 <h4>SvnLogDialog.on_input_returnPressed</h4>
178 <b>on_input_returnPressed</b>(<i></i>)
179 <p>
180 Private slot to handle the press of the return key in the input field.
181 </p><a NAME="SvnLogDialog.on_passwordCheckBox_toggled" ID="SvnLogDialog.on_passwordCheckBox_toggled"></a>
182 <h4>SvnLogDialog.on_passwordCheckBox_toggled</h4>
183 <b>on_passwordCheckBox_toggled</b>(<i>isOn</i>)
184 <p>
185 Private slot to handle the password checkbox toggled.
186 </p><dl>
187 <dt><i>isOn</i></dt>
188 <dd>
189 flag indicating the status of the check box (boolean)
190 </dd>
191 </dl><a NAME="SvnLogDialog.on_sendButton_clicked" ID="SvnLogDialog.on_sendButton_clicked"></a>
192 <h4>SvnLogDialog.on_sendButton_clicked</h4>
193 <b>on_sendButton_clicked</b>(<i></i>)
194 <p>
195 Private slot to send the input to the subversion process.
196 </p><a NAME="SvnLogDialog.start" ID="SvnLogDialog.start"></a>
197 <h4>SvnLogDialog.start</h4>
198 <b>start</b>(<i>fn, noEntries=0</i>)
199 <p>
200 Public slot to start the cvs log command.
201 </p><dl>
202 <dt><i>fn</i></dt>
203 <dd>
204 filename to show the log for (string)
205 </dd><dt><i>noEntries</i></dt>
206 <dd>
207 number of entries to show (integer)
208 </dd>
209 </dl>
210 <div align="right"><a href="#top">Up</a></div>
211 <hr />
212 </body></html>

eric ide

mercurial