|
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.vcsSubversion.SvnLogDialog</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.vcsSubversion.SvnLogDialog</h1> |
|
12 <p> |
|
13 Module implementing a dialog to show the output of the svn log command process. |
|
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="#SvnLogDialog">SvnLogDialog</a></td> |
|
23 <td>Class implementing a dialog to show the output of the svn log command process.</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="SvnLogDialog" ID="SvnLogDialog"></a> |
|
32 <h2>SvnLogDialog</h2> |
|
33 <p> |
|
34 Class implementing a dialog to show the output of the svn log command process. |
|
35 </p><p> |
|
36 The dialog is nonmodal. Clicking a link in the upper text pane shows |
|
37 a diff of the versions. |
|
38 </p> |
|
39 <h3>Derived from</h3> |
|
40 QWidget, Ui_SvnLogDialog |
|
41 <h3>Class Attributes</h3> |
|
42 <table> |
|
43 <tr><td>None</td></tr> |
|
44 </table> |
|
45 <h3>Methods</h3> |
|
46 <table> |
|
47 <tr> |
|
48 <td><a href="#SvnLogDialog.__init__">SvnLogDialog</a></td> |
|
49 <td>Constructor</td> |
|
50 </tr><tr> |
|
51 <td><a href="#SvnLogDialog.__procFinished">__procFinished</a></td> |
|
52 <td>Private slot connected to the finished signal.</td> |
|
53 </tr><tr> |
|
54 <td><a href="#SvnLogDialog.__readStderr">__readStderr</a></td> |
|
55 <td>Private slot to handle the readyReadStandardError signal.</td> |
|
56 </tr><tr> |
|
57 <td><a href="#SvnLogDialog.__readStdout">__readStdout</a></td> |
|
58 <td>Private slot to handle the readyReadStandardOutput signal.</td> |
|
59 </tr><tr> |
|
60 <td><a href="#SvnLogDialog.__sourceChanged">__sourceChanged</a></td> |
|
61 <td>Private slot to handle the sourceChanged signal of the contents pane.</td> |
|
62 </tr><tr> |
|
63 <td><a href="#SvnLogDialog.closeEvent">closeEvent</a></td> |
|
64 <td>Private slot implementing a close event handler.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#SvnLogDialog.keyPressEvent">keyPressEvent</a></td> |
|
67 <td>Protected slot to handle a key press event.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#SvnLogDialog.on_input_returnPressed">on_input_returnPressed</a></td> |
|
70 <td>Private slot to handle the press of the return key in the input field.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#SvnLogDialog.on_passwordCheckBox_toggled">on_passwordCheckBox_toggled</a></td> |
|
73 <td>Private slot to handle the password checkbox toggled.</td> |
|
74 </tr><tr> |
|
75 <td><a href="#SvnLogDialog.on_sendButton_clicked">on_sendButton_clicked</a></td> |
|
76 <td>Private slot to send the input to the subversion process.</td> |
|
77 </tr><tr> |
|
78 <td><a href="#SvnLogDialog.start">start</a></td> |
|
79 <td>Public slot to start the cvs log command.</td> |
|
80 </tr> |
|
81 </table> |
|
82 <a NAME="SvnLogDialog.__init__" ID="SvnLogDialog.__init__"></a> |
|
83 <h4>SvnLogDialog (Constructor)</h4> |
|
84 <b>SvnLogDialog</b>(<i>vcs, parent = None</i>) |
|
85 <p> |
|
86 Constructor |
|
87 </p><dl> |
|
88 <dt><i>vcs</i></dt> |
|
89 <dd> |
|
90 reference to the vcs object |
|
91 </dd><dt><i>parent</i></dt> |
|
92 <dd> |
|
93 parent widget (QWidget) |
|
94 </dd> |
|
95 </dl><a NAME="SvnLogDialog.__procFinished" ID="SvnLogDialog.__procFinished"></a> |
|
96 <h4>SvnLogDialog.__procFinished</h4> |
|
97 <b>__procFinished</b>(<i>exitCode, exitStatus</i>) |
|
98 <p> |
|
99 Private slot connected to the finished signal. |
|
100 </p><dl> |
|
101 <dt><i>exitCode</i></dt> |
|
102 <dd> |
|
103 exit code of the process (integer) |
|
104 </dd><dt><i>exitStatus</i></dt> |
|
105 <dd> |
|
106 exit status of the process (QProcess.ExitStatus) |
|
107 </dd> |
|
108 </dl><a NAME="SvnLogDialog.__readStderr" ID="SvnLogDialog.__readStderr"></a> |
|
109 <h4>SvnLogDialog.__readStderr</h4> |
|
110 <b>__readStderr</b>(<i></i>) |
|
111 <p> |
|
112 Private slot to handle the readyReadStandardError signal. |
|
113 </p><p> |
|
114 It reads the error output of the process and inserts it into the |
|
115 error pane. |
|
116 </p><a NAME="SvnLogDialog.__readStdout" ID="SvnLogDialog.__readStdout"></a> |
|
117 <h4>SvnLogDialog.__readStdout</h4> |
|
118 <b>__readStdout</b>(<i></i>) |
|
119 <p> |
|
120 Private slot to handle the readyReadStandardOutput signal. |
|
121 </p><p> |
|
122 It reads the output of the process and inserts it into a buffer. |
|
123 </p><a NAME="SvnLogDialog.__sourceChanged" ID="SvnLogDialog.__sourceChanged"></a> |
|
124 <h4>SvnLogDialog.__sourceChanged</h4> |
|
125 <b>__sourceChanged</b>(<i>url</i>) |
|
126 <p> |
|
127 Private slot to handle the sourceChanged signal of the contents pane. |
|
128 </p><dl> |
|
129 <dt><i>url</i></dt> |
|
130 <dd> |
|
131 the url that was clicked (QUrl) |
|
132 </dd> |
|
133 </dl><a NAME="SvnLogDialog.closeEvent" ID="SvnLogDialog.closeEvent"></a> |
|
134 <h4>SvnLogDialog.closeEvent</h4> |
|
135 <b>closeEvent</b>(<i>e</i>) |
|
136 <p> |
|
137 Private slot implementing a close event handler. |
|
138 </p><dl> |
|
139 <dt><i>e</i></dt> |
|
140 <dd> |
|
141 close event (QCloseEvent) |
|
142 </dd> |
|
143 </dl><a NAME="SvnLogDialog.keyPressEvent" ID="SvnLogDialog.keyPressEvent"></a> |
|
144 <h4>SvnLogDialog.keyPressEvent</h4> |
|
145 <b>keyPressEvent</b>(<i>evt</i>) |
|
146 <p> |
|
147 Protected slot to handle a key press event. |
|
148 </p><dl> |
|
149 <dt><i>evt</i></dt> |
|
150 <dd> |
|
151 the key press event (QKeyEvent) |
|
152 </dd> |
|
153 </dl><a NAME="SvnLogDialog.on_input_returnPressed" ID="SvnLogDialog.on_input_returnPressed"></a> |
|
154 <h4>SvnLogDialog.on_input_returnPressed</h4> |
|
155 <b>on_input_returnPressed</b>(<i></i>) |
|
156 <p> |
|
157 Private slot to handle the press of the return key in the input field. |
|
158 </p><a NAME="SvnLogDialog.on_passwordCheckBox_toggled" ID="SvnLogDialog.on_passwordCheckBox_toggled"></a> |
|
159 <h4>SvnLogDialog.on_passwordCheckBox_toggled</h4> |
|
160 <b>on_passwordCheckBox_toggled</b>(<i>isOn</i>) |
|
161 <p> |
|
162 Private slot to handle the password checkbox toggled. |
|
163 </p><dl> |
|
164 <dt><i>isOn</i></dt> |
|
165 <dd> |
|
166 flag indicating the status of the check box (boolean) |
|
167 </dd> |
|
168 </dl><a NAME="SvnLogDialog.on_sendButton_clicked" ID="SvnLogDialog.on_sendButton_clicked"></a> |
|
169 <h4>SvnLogDialog.on_sendButton_clicked</h4> |
|
170 <b>on_sendButton_clicked</b>(<i></i>) |
|
171 <p> |
|
172 Private slot to send the input to the subversion process. |
|
173 </p><a NAME="SvnLogDialog.start" ID="SvnLogDialog.start"></a> |
|
174 <h4>SvnLogDialog.start</h4> |
|
175 <b>start</b>(<i>fn, noEntries = 0</i>) |
|
176 <p> |
|
177 Public slot to start the cvs log command. |
|
178 </p><dl> |
|
179 <dt><i>fn</i></dt> |
|
180 <dd> |
|
181 filename to show the log for (string) |
|
182 </dd><dt><i>noEntries</i></dt> |
|
183 <dd> |
|
184 number of entries to show (integer) |
|
185 </dd> |
|
186 </dl> |
|
187 <div align="right"><a href="#top">Up</a></div> |
|
188 <hr /> |
|
189 </body></html> |