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'>
5
<title>eric4.VCS.vcsCVS.CvsDialog</title>
9
margin: 0em 1em 10em 1em;
13
h1 { color: white; background: #4FA4FF; }
14
h2 { color: white; background: #4FA4FF; }
15
h3 { color: white; background: #00557F; }
16
h4 { color: white; background: #00557F; }
22
<body><a NAME="top" ID="top"></a>
23
<h1>eric4.VCS.vcsCVS.CvsDialog</h1>
25
Module implementing a dialog starting a process and showing its output.
30
<td><a href="#CvsDialog">CvsDialog</a></td>
31
<td>Module implementing a dialog starting a process and showing its output.</td>
36
<tr><td>None</td></tr>
39
<a NAME="CvsDialog" ID="CvsDialog"></a>
42
Module implementing a dialog starting a process and showing its output.
44
It starts a QProcess and display a dialog that
45
shows the output of the process. The dialog is modal,
46
which causes a synchronized execution of the process.
53
<td><a href="#CvsDialog.__init__">CvsDialog</a></td>
56
<td><a href="#CvsDialog.__finish">__finish</a></td>
57
<td>Private slot called when the process finished or the user pressed the button.</td>
59
<td><a href="#CvsDialog.__procFinished">__procFinished</a></td>
60
<td>Private slot connected to the finished signal.</td>
62
<td><a href="#CvsDialog.__readStderr">__readStderr</a></td>
63
<td>Private slot to handle the readyReadStderr signal.</td>
65
<td><a href="#CvsDialog.__readStdout">__readStdout</a></td>
66
<td>Private slot to handle the readyReadStdout signal.</td>
68
<td><a href="#CvsDialog.keyPressEvent">keyPressEvent</a></td>
69
<td>Protected slot to handle a key press event.</td>
71
<td><a href="#CvsDialog.normalExit">normalExit</a></td>
72
<td>Public method to check for a normal process termination.</td>
74
<td><a href="#CvsDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td>
75
<td>Private slot called by a button of the button box clicked.</td>
77
<td><a href="#CvsDialog.on_input_returnPressed">on_input_returnPressed</a></td>
78
<td>Private slot to handle the press of the return key in the input field.</td>
80
<td><a href="#CvsDialog.on_passwordCheckBox_toggled">on_passwordCheckBox_toggled</a></td>
81
<td>Private slot to handle the password checkbox toggled.</td>
83
<td><a href="#CvsDialog.on_sendButton_clicked">on_sendButton_clicked</a></td>
84
<td>Private slot to send the input to the subversion process.</td>
86
<td><a href="#CvsDialog.startProcess">startProcess</a></td>
87
<td>Public slot used to start the process.</td>
90
<p><a NAME="CvsDialog.__init__" ID="CvsDialog.__init__"></a>
91
<h4>CvsDialog (Constructor)</h4>
92
<b>CvsDialog</b>(<i>text, parent = None</i>)
98
text to be shown by the label (string or QString)
99
</dd><dt><i>parent</i></dt>
101
parent widget (QWidget)
103
</dl><a NAME="CvsDialog.__finish" ID="CvsDialog.__finish"></a>
104
<h4>CvsDialog.__finish</h4>
105
<b>__finish</b>(<i></i>)
107
Private slot called when the process finished or the user pressed the button.
108
</p><a NAME="CvsDialog.__procFinished" ID="CvsDialog.__procFinished"></a>
109
<h4>CvsDialog.__procFinished</h4>
110
<b>__procFinished</b>(<i>exitCode, exitStatus</i>)
112
Private slot connected to the finished signal.
114
<dt><i>exitCode</i></dt>
116
exit code of the process (integer)
117
</dd><dt><i>exitStatus</i></dt>
119
exit status of the process (QProcess.ExitStatus)
121
</dl><a NAME="CvsDialog.__readStderr" ID="CvsDialog.__readStderr"></a>
122
<h4>CvsDialog.__readStderr</h4>
123
<b>__readStderr</b>(<i></i>)
125
Private slot to handle the readyReadStderr signal.
127
It reads the error output of the process and inserts it into the
129
</p><a NAME="CvsDialog.__readStdout" ID="CvsDialog.__readStdout"></a>
130
<h4>CvsDialog.__readStdout</h4>
131
<b>__readStdout</b>(<i></i>)
133
Private slot to handle the readyReadStdout signal.
135
It reads the output of the process, formats it and inserts it into
137
</p><a NAME="CvsDialog.keyPressEvent" ID="CvsDialog.keyPressEvent"></a>
138
<h4>CvsDialog.keyPressEvent</h4>
139
<b>keyPressEvent</b>(<i>evt</i>)
141
Protected slot to handle a key press event.
145
the key press event (QKeyEvent)
147
</dl><a NAME="CvsDialog.normalExit" ID="CvsDialog.normalExit"></a>
148
<h4>CvsDialog.normalExit</h4>
149
<b>normalExit</b>(<i></i>)
151
Public method to check for a normal process termination.
155
flag indicating normal process termination (boolean)
157
</dl><a NAME="CvsDialog.on_buttonBox_clicked" ID="CvsDialog.on_buttonBox_clicked"></a>
158
<h4>CvsDialog.on_buttonBox_clicked</h4>
159
<b>on_buttonBox_clicked</b>(<i>button</i>)
161
Private slot called by a button of the button box clicked.
163
<dt><i>button</i></dt>
165
button that was clicked (QAbstractButton)
167
</dl><a NAME="CvsDialog.on_input_returnPressed" ID="CvsDialog.on_input_returnPressed"></a>
168
<h4>CvsDialog.on_input_returnPressed</h4>
169
<b>on_input_returnPressed</b>(<i></i>)
171
Private slot to handle the press of the return key in the input field.
172
</p><a NAME="CvsDialog.on_passwordCheckBox_toggled" ID="CvsDialog.on_passwordCheckBox_toggled"></a>
173
<h4>CvsDialog.on_passwordCheckBox_toggled</h4>
174
<b>on_passwordCheckBox_toggled</b>(<i>isOn</i>)
176
Private slot to handle the password checkbox toggled.
180
flag indicating the status of the check box (boolean)
182
</dl><a NAME="CvsDialog.on_sendButton_clicked" ID="CvsDialog.on_sendButton_clicked"></a>
183
<h4>CvsDialog.on_sendButton_clicked</h4>
184
<b>on_sendButton_clicked</b>(<i></i>)
186
Private slot to send the input to the subversion process.
187
</p><a NAME="CvsDialog.startProcess" ID="CvsDialog.startProcess"></a>
188
<h4>CvsDialog.startProcess</h4>
189
<b>startProcess</b>(<i>args, workingDir = None</i>)
191
Public slot used to start the process.
195
list of arguments for the process (QStringList)
196
</dd><dt><i>workingDir</i></dt>
198
working directory for the process (string or QString)
203
flag indicating a successful start of the process
206
<div align="right"><a href="#top">Up</a></div>
b'\\ No newline at end of file'