57 </table> |
57 </table> |
58 <h3>Methods</h3> |
58 <h3>Methods</h3> |
59 <table> |
59 <table> |
60 <tr> |
60 <tr> |
61 <td><a href="#SvnDialog.__init__">SvnDialog</a></td> |
61 <td><a href="#SvnDialog.__init__">SvnDialog</a></td> |
62 <td>Constructor</td> |
62 <td>Constructor</td> |
63 </tr><tr> |
63 </tr><tr> |
64 <td><a href="#SvnDialog.__finish">__finish</a></td> |
64 <td><a href="#SvnDialog.__finish">__finish</a></td> |
65 <td>Private slot called when the process finished or the user pressed the button.</td> |
65 <td>Private slot called when the process finished or the user pressed the button.</td> |
66 </tr><tr> |
66 </tr><tr> |
67 <td><a href="#SvnDialog.__procFinished">__procFinished</a></td> |
67 <td><a href="#SvnDialog.__procFinished">__procFinished</a></td> |
68 <td>Private slot connected to the finished signal.</td> |
68 <td>Private slot connected to the finished signal.</td> |
69 </tr><tr> |
69 </tr><tr> |
70 <td><a href="#SvnDialog.__readStderr">__readStderr</a></td> |
70 <td><a href="#SvnDialog.__readStderr">__readStderr</a></td> |
71 <td>Private slot to handle the readyReadStderr signal.</td> |
71 <td>Private slot to handle the readyReadStderr signal.</td> |
72 </tr><tr> |
72 </tr><tr> |
73 <td><a href="#SvnDialog.__readStdout">__readStdout</a></td> |
73 <td><a href="#SvnDialog.__readStdout">__readStdout</a></td> |
74 <td>Private slot to handle the readyReadStdout signal.</td> |
74 <td>Private slot to handle the readyReadStdout signal.</td> |
75 </tr><tr> |
75 </tr><tr> |
76 <td><a href="#SvnDialog.hasAddOrDelete">hasAddOrDelete</a></td> |
76 <td><a href="#SvnDialog.hasAddOrDelete">hasAddOrDelete</a></td> |
77 <td>Public method to check, if the last action contained an add or delete.</td> |
77 <td>Public method to check, if the last action contained an add or delete.</td> |
78 </tr><tr> |
78 </tr><tr> |
79 <td><a href="#SvnDialog.keyPressEvent">keyPressEvent</a></td> |
79 <td><a href="#SvnDialog.keyPressEvent">keyPressEvent</a></td> |
80 <td>Protected slot to handle a key press event.</td> |
80 <td>Protected slot to handle a key press event.</td> |
81 </tr><tr> |
81 </tr><tr> |
82 <td><a href="#SvnDialog.normalExit">normalExit</a></td> |
82 <td><a href="#SvnDialog.normalExit">normalExit</a></td> |
83 <td>Public method to check for a normal process termination.</td> |
83 <td>Public method to check for a normal process termination.</td> |
84 </tr><tr> |
84 </tr><tr> |
85 <td><a href="#SvnDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
85 <td><a href="#SvnDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
86 <td>Private slot called by a button of the button box clicked.</td> |
86 <td>Private slot called by a button of the button box clicked.</td> |
87 </tr><tr> |
87 </tr><tr> |
88 <td><a href="#SvnDialog.on_input_returnPressed">on_input_returnPressed</a></td> |
88 <td><a href="#SvnDialog.on_input_returnPressed">on_input_returnPressed</a></td> |
89 <td>Private slot to handle the press of the return key in the input field.</td> |
89 <td>Private slot to handle the press of the return key in the input field.</td> |
90 </tr><tr> |
90 </tr><tr> |
91 <td><a href="#SvnDialog.on_passwordCheckBox_toggled">on_passwordCheckBox_toggled</a></td> |
91 <td><a href="#SvnDialog.on_passwordCheckBox_toggled">on_passwordCheckBox_toggled</a></td> |
92 <td>Private slot to handle the password checkbox toggled.</td> |
92 <td>Private slot to handle the password checkbox toggled.</td> |
93 </tr><tr> |
93 </tr><tr> |
94 <td><a href="#SvnDialog.on_sendButton_clicked">on_sendButton_clicked</a></td> |
94 <td><a href="#SvnDialog.on_sendButton_clicked">on_sendButton_clicked</a></td> |
95 <td>Private slot to send the input to the subversion process.</td> |
95 <td>Private slot to send the input to the subversion process.</td> |
96 </tr><tr> |
96 </tr><tr> |
97 <td><a href="#SvnDialog.startProcess">startProcess</a></td> |
97 <td><a href="#SvnDialog.startProcess">startProcess</a></td> |
98 <td>Public slot used to start the process.</td> |
98 <td>Public slot used to start the process.</td> |
99 </tr> |
99 </tr> |
100 </table> |
100 </table> |
101 <a NAME="SvnDialog.__init__" ID="SvnDialog.__init__"></a> |
101 <a NAME="SvnDialog.__init__" ID="SvnDialog.__init__"></a> |
102 <h4>SvnDialog (Constructor)</h4> |
102 <h4>SvnDialog (Constructor)</h4> |
103 <b>SvnDialog</b>(<i>text, parent = None</i>) |
103 <b>SvnDialog</b>(<i>text, parent = None</i>) |
104 <p> |
104 <p> |
105 Constructor |
105 Constructor |
106 </p><dl> |
106 </p><dl> |
107 <dt><i>text</i></dt> |
107 <dt><i>text</i></dt> |
108 <dd> |
108 <dd> |
109 text to be shown by the label (string) |
109 text to be shown by the label (string) |
110 </dd><dt><i>parent</i></dt> |
110 </dd><dt><i>parent</i></dt> |
111 <dd> |
111 <dd> |
112 parent widget (QWidget) |
112 parent widget (QWidget) |
113 </dd> |
113 </dd> |
114 </dl><a NAME="SvnDialog.__finish" ID="SvnDialog.__finish"></a> |
114 </dl><a NAME="SvnDialog.__finish" ID="SvnDialog.__finish"></a> |
115 <h4>SvnDialog.__finish</h4> |
115 <h4>SvnDialog.__finish</h4> |
116 <b>__finish</b>(<i></i>) |
116 <b>__finish</b>(<i></i>) |
117 <p> |
117 <p> |
118 Private slot called when the process finished or the user pressed the button. |
118 Private slot called when the process finished or the user pressed the button. |
119 </p><a NAME="SvnDialog.__procFinished" ID="SvnDialog.__procFinished"></a> |
119 </p><a NAME="SvnDialog.__procFinished" ID="SvnDialog.__procFinished"></a> |
120 <h4>SvnDialog.__procFinished</h4> |
120 <h4>SvnDialog.__procFinished</h4> |
121 <b>__procFinished</b>(<i>exitCode, exitStatus</i>) |
121 <b>__procFinished</b>(<i>exitCode, exitStatus</i>) |
122 <p> |
122 <p> |
123 Private slot connected to the finished signal. |
123 Private slot connected to the finished signal. |
124 </p><dl> |
124 </p><dl> |
125 <dt><i>exitCode</i></dt> |
125 <dt><i>exitCode</i></dt> |
126 <dd> |
126 <dd> |
127 exit code of the process (integer) |
127 exit code of the process (integer) |
128 </dd><dt><i>exitStatus</i></dt> |
128 </dd><dt><i>exitStatus</i></dt> |
129 <dd> |
129 <dd> |
130 exit status of the process (QProcess.ExitStatus) |
130 exit status of the process (QProcess.ExitStatus) |
131 </dd> |
131 </dd> |
132 </dl><a NAME="SvnDialog.__readStderr" ID="SvnDialog.__readStderr"></a> |
132 </dl><a NAME="SvnDialog.__readStderr" ID="SvnDialog.__readStderr"></a> |
133 <h4>SvnDialog.__readStderr</h4> |
133 <h4>SvnDialog.__readStderr</h4> |
134 <b>__readStderr</b>(<i></i>) |
134 <b>__readStderr</b>(<i></i>) |
135 <p> |
135 <p> |
136 Private slot to handle the readyReadStderr signal. |
136 Private slot to handle the readyReadStderr signal. |
137 </p><p> |
137 </p><p> |
138 It reads the error output of the process and inserts it into the |
138 It reads the error output of the process and inserts it into the |
139 error pane. |
139 error pane. |
140 </p><a NAME="SvnDialog.__readStdout" ID="SvnDialog.__readStdout"></a> |
140 </p><a NAME="SvnDialog.__readStdout" ID="SvnDialog.__readStdout"></a> |
141 <h4>SvnDialog.__readStdout</h4> |
141 <h4>SvnDialog.__readStdout</h4> |
142 <b>__readStdout</b>(<i></i>) |
142 <b>__readStdout</b>(<i></i>) |
143 <p> |
143 <p> |
144 Private slot to handle the readyReadStdout signal. |
144 Private slot to handle the readyReadStdout signal. |
145 </p><p> |
145 </p><p> |
146 It reads the output of the process, formats it and inserts it into |
146 It reads the output of the process, formats it and inserts it into |
147 the contents pane. |
147 the contents pane. |
148 </p><a NAME="SvnDialog.hasAddOrDelete" ID="SvnDialog.hasAddOrDelete"></a> |
148 </p><a NAME="SvnDialog.hasAddOrDelete" ID="SvnDialog.hasAddOrDelete"></a> |
149 <h4>SvnDialog.hasAddOrDelete</h4> |
149 <h4>SvnDialog.hasAddOrDelete</h4> |
150 <b>hasAddOrDelete</b>(<i></i>) |
150 <b>hasAddOrDelete</b>(<i></i>) |
151 <p> |
151 <p> |
152 Public method to check, if the last action contained an add or delete. |
152 Public method to check, if the last action contained an add or delete. |
153 </p><a NAME="SvnDialog.keyPressEvent" ID="SvnDialog.keyPressEvent"></a> |
153 </p><a NAME="SvnDialog.keyPressEvent" ID="SvnDialog.keyPressEvent"></a> |
154 <h4>SvnDialog.keyPressEvent</h4> |
154 <h4>SvnDialog.keyPressEvent</h4> |
155 <b>keyPressEvent</b>(<i>evt</i>) |
155 <b>keyPressEvent</b>(<i>evt</i>) |
156 <p> |
156 <p> |
157 Protected slot to handle a key press event. |
157 Protected slot to handle a key press event. |
158 </p><dl> |
158 </p><dl> |
159 <dt><i>evt</i></dt> |
159 <dt><i>evt</i></dt> |
160 <dd> |
160 <dd> |
161 the key press event (QKeyEvent) |
161 the key press event (QKeyEvent) |
162 </dd> |
162 </dd> |
163 </dl><a NAME="SvnDialog.normalExit" ID="SvnDialog.normalExit"></a> |
163 </dl><a NAME="SvnDialog.normalExit" ID="SvnDialog.normalExit"></a> |
164 <h4>SvnDialog.normalExit</h4> |
164 <h4>SvnDialog.normalExit</h4> |
165 <b>normalExit</b>(<i></i>) |
165 <b>normalExit</b>(<i></i>) |
166 <p> |
166 <p> |
167 Public method to check for a normal process termination. |
167 Public method to check for a normal process termination. |
168 </p><dl> |
168 </p><dl> |
169 <dt>Returns:</dt> |
169 <dt>Returns:</dt> |
170 <dd> |
170 <dd> |
171 flag indicating normal process termination (boolean) |
171 flag indicating normal process termination (boolean) |
172 </dd> |
172 </dd> |
173 </dl><a NAME="SvnDialog.on_buttonBox_clicked" ID="SvnDialog.on_buttonBox_clicked"></a> |
173 </dl><a NAME="SvnDialog.on_buttonBox_clicked" ID="SvnDialog.on_buttonBox_clicked"></a> |
174 <h4>SvnDialog.on_buttonBox_clicked</h4> |
174 <h4>SvnDialog.on_buttonBox_clicked</h4> |
175 <b>on_buttonBox_clicked</b>(<i>button</i>) |
175 <b>on_buttonBox_clicked</b>(<i>button</i>) |
176 <p> |
176 <p> |
177 Private slot called by a button of the button box clicked. |
177 Private slot called by a button of the button box clicked. |
178 </p><dl> |
178 </p><dl> |
179 <dt><i>button</i></dt> |
179 <dt><i>button</i></dt> |
180 <dd> |
180 <dd> |
181 button that was clicked (QAbstractButton) |
181 button that was clicked (QAbstractButton) |
182 </dd> |
182 </dd> |
183 </dl><a NAME="SvnDialog.on_input_returnPressed" ID="SvnDialog.on_input_returnPressed"></a> |
183 </dl><a NAME="SvnDialog.on_input_returnPressed" ID="SvnDialog.on_input_returnPressed"></a> |
184 <h4>SvnDialog.on_input_returnPressed</h4> |
184 <h4>SvnDialog.on_input_returnPressed</h4> |
185 <b>on_input_returnPressed</b>(<i></i>) |
185 <b>on_input_returnPressed</b>(<i></i>) |
186 <p> |
186 <p> |
187 Private slot to handle the press of the return key in the input field. |
187 Private slot to handle the press of the return key in the input field. |
188 </p><a NAME="SvnDialog.on_passwordCheckBox_toggled" ID="SvnDialog.on_passwordCheckBox_toggled"></a> |
188 </p><a NAME="SvnDialog.on_passwordCheckBox_toggled" ID="SvnDialog.on_passwordCheckBox_toggled"></a> |
189 <h4>SvnDialog.on_passwordCheckBox_toggled</h4> |
189 <h4>SvnDialog.on_passwordCheckBox_toggled</h4> |
190 <b>on_passwordCheckBox_toggled</b>(<i>isOn</i>) |
190 <b>on_passwordCheckBox_toggled</b>(<i>isOn</i>) |
191 <p> |
191 <p> |
192 Private slot to handle the password checkbox toggled. |
192 Private slot to handle the password checkbox toggled. |
193 </p><dl> |
193 </p><dl> |
194 <dt><i>isOn</i></dt> |
194 <dt><i>isOn</i></dt> |
195 <dd> |
195 <dd> |
196 flag indicating the status of the check box (boolean) |
196 flag indicating the status of the check box (boolean) |
197 </dd> |
197 </dd> |
198 </dl><a NAME="SvnDialog.on_sendButton_clicked" ID="SvnDialog.on_sendButton_clicked"></a> |
198 </dl><a NAME="SvnDialog.on_sendButton_clicked" ID="SvnDialog.on_sendButton_clicked"></a> |
199 <h4>SvnDialog.on_sendButton_clicked</h4> |
199 <h4>SvnDialog.on_sendButton_clicked</h4> |
200 <b>on_sendButton_clicked</b>(<i></i>) |
200 <b>on_sendButton_clicked</b>(<i></i>) |
201 <p> |
201 <p> |
202 Private slot to send the input to the subversion process. |
202 Private slot to send the input to the subversion process. |
203 </p><a NAME="SvnDialog.startProcess" ID="SvnDialog.startProcess"></a> |
203 </p><a NAME="SvnDialog.startProcess" ID="SvnDialog.startProcess"></a> |
204 <h4>SvnDialog.startProcess</h4> |
204 <h4>SvnDialog.startProcess</h4> |
205 <b>startProcess</b>(<i>args, workingDir = None</i>) |
205 <b>startProcess</b>(<i>args, workingDir = None</i>) |
206 <p> |
206 <p> |
207 Public slot used to start the process. |
207 Public slot used to start the process. |
208 </p><dl> |
208 </p><dl> |
209 <dt><i>args</i></dt> |
209 <dt><i>args</i></dt> |
210 <dd> |
210 <dd> |
211 list of arguments for the process (list of strings) |
211 list of arguments for the process (list of strings) |
212 </dd><dt><i>workingDir</i></dt> |
212 </dd><dt><i>workingDir</i></dt> |
213 <dd> |
213 <dd> |
214 working directory for the process (string) |
214 working directory for the process (string) |
215 </dd> |
215 </dd> |
216 </dl><dl> |
216 </dl><dl> |
217 <dt>Returns:</dt> |
217 <dt>Returns:</dt> |
218 <dd> |
218 <dd> |
219 flag indicating a successful start of the process |
219 flag indicating a successful start of the process |
220 </dd> |
220 </dd> |
221 </dl> |
221 </dl> |
222 <div align="right"><a href="#top">Up</a></div> |
222 <div align="right"><a href="#top">Up</a></div> |
223 <hr /> |
223 <hr /> |
224 </body></html> |
224 </body></html> |