eric7/Documentation/Source/eric7.Plugins.VcsPlugins.vcsMercurial.HgServeDialog.html

branch
eric7
changeset 8372
e0227a7c850e
child 8596
d64760b2da50
equal deleted inserted replaced
8371:d6062691d424 8372:e0227a7c850e
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.Plugins.VcsPlugins.vcsMercurial.HgServeDialog</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>
22 <a NAME="top" ID="top"></a>
23 <h1>eric7.Plugins.VcsPlugins.vcsMercurial.HgServeDialog</h1>
24
25 <p>
26 Module implementing a dialog for the Mercurial server.
27 </p>
28 <h3>Global Attributes</h3>
29
30 <table>
31 <tr><td>None</td></tr>
32 </table>
33 <h3>Classes</h3>
34
35 <table>
36
37 <tr>
38 <td><a href="#HgServeDialog">HgServeDialog</a></td>
39 <td>Class implementing a dialog for the Mercurial server.</td>
40 </tr>
41 </table>
42 <h3>Functions</h3>
43
44 <table>
45 <tr><td>None</td></tr>
46 </table>
47 <hr />
48 <hr />
49 <a NAME="HgServeDialog" ID="HgServeDialog"></a>
50 <h2>HgServeDialog</h2>
51
52 <p>
53 Class implementing a dialog for the Mercurial server.
54 </p>
55 <h3>Derived from</h3>
56 EricMainWindow
57 <h3>Class Attributes</h3>
58
59 <table>
60 <tr><td>None</td></tr>
61 </table>
62 <h3>Class Methods</h3>
63
64 <table>
65 <tr><td>None</td></tr>
66 </table>
67 <h3>Methods</h3>
68
69 <table>
70
71 <tr>
72 <td><a href="#HgServeDialog.__init__">HgServeDialog</a></td>
73 <td>Constructor</td>
74 </tr>
75 <tr>
76 <td><a href="#HgServeDialog.__appendText">__appendText</a></td>
77 <td>Private method to append text to the end.</td>
78 </tr>
79 <tr>
80 <td><a href="#HgServeDialog.__procFinished">__procFinished</a></td>
81 <td>Private slot connected to the finished signal.</td>
82 </tr>
83 <tr>
84 <td><a href="#HgServeDialog.__readStderr">__readStderr</a></td>
85 <td>Private slot to handle the readyReadStandardError signal.</td>
86 </tr>
87 <tr>
88 <td><a href="#HgServeDialog.__readStdout">__readStdout</a></td>
89 <td>Private slot to handle the readyReadStandardOutput signal.</td>
90 </tr>
91 <tr>
92 <td><a href="#HgServeDialog.__startBrowser">__startBrowser</a></td>
93 <td>Private slot to start a browser for the served repository.</td>
94 </tr>
95 <tr>
96 <td><a href="#HgServeDialog.__startServer">__startServer</a></td>
97 <td>Private slot to start the Mercurial server.</td>
98 </tr>
99 <tr>
100 <td><a href="#HgServeDialog.__stopServer">__stopServer</a></td>
101 <td>Private slot to stop the Mercurial server.</td>
102 </tr>
103 <tr>
104 <td><a href="#HgServeDialog.closeEvent">closeEvent</a></td>
105 <td>Protected slot implementing a close event handler.</td>
106 </tr>
107 </table>
108 <h3>Static Methods</h3>
109
110 <table>
111 <tr><td>None</td></tr>
112 </table>
113
114 <a NAME="HgServeDialog.__init__" ID="HgServeDialog.__init__"></a>
115 <h4>HgServeDialog (Constructor)</h4>
116 <b>HgServeDialog</b>(<i>vcs, path, parent=None</i>)
117
118 <p>
119 Constructor
120 </p>
121 <dl>
122
123 <dt><i>vcs</i> (Hg)</dt>
124 <dd>
125 reference to the vcs object
126 </dd>
127 <dt><i>path</i> (str)</dt>
128 <dd>
129 path of the repository to serve
130 </dd>
131 <dt><i>parent</i> (QWidget)</dt>
132 <dd>
133 reference to the parent widget
134 </dd>
135 </dl>
136 <a NAME="HgServeDialog.__appendText" ID="HgServeDialog.__appendText"></a>
137 <h4>HgServeDialog.__appendText</h4>
138 <b>__appendText</b>(<i>txt, error=False</i>)
139
140 <p>
141 Private method to append text to the end.
142 </p>
143 <dl>
144
145 <dt><i>txt</i> (str)</dt>
146 <dd>
147 text to insert
148 </dd>
149 <dt><i>error</i> (bool)</dt>
150 <dd>
151 flag indicating to insert error text
152 </dd>
153 </dl>
154 <a NAME="HgServeDialog.__procFinished" ID="HgServeDialog.__procFinished"></a>
155 <h4>HgServeDialog.__procFinished</h4>
156 <b>__procFinished</b>(<i>exitCode, exitStatus</i>)
157
158 <p>
159 Private slot connected to the finished signal.
160 </p>
161 <dl>
162
163 <dt><i>exitCode</i> (int)</dt>
164 <dd>
165 exit code of the process
166 </dd>
167 <dt><i>exitStatus</i> (QProcess.ExitStatus)</dt>
168 <dd>
169 exit status of the process
170 </dd>
171 </dl>
172 <a NAME="HgServeDialog.__readStderr" ID="HgServeDialog.__readStderr"></a>
173 <h4>HgServeDialog.__readStderr</h4>
174 <b>__readStderr</b>(<i></i>)
175
176 <p>
177 Private slot to handle the readyReadStandardError signal.
178 </p>
179 <p>
180 It reads the error output of the process and inserts it into the log.
181 </p>
182 <a NAME="HgServeDialog.__readStdout" ID="HgServeDialog.__readStdout"></a>
183 <h4>HgServeDialog.__readStdout</h4>
184 <b>__readStdout</b>(<i></i>)
185
186 <p>
187 Private slot to handle the readyReadStandardOutput signal.
188 </p>
189 <p>
190 It reads the output of the process and inserts it into the log.
191 </p>
192 <a NAME="HgServeDialog.__startBrowser" ID="HgServeDialog.__startBrowser"></a>
193 <h4>HgServeDialog.__startBrowser</h4>
194 <b>__startBrowser</b>(<i></i>)
195
196 <p>
197 Private slot to start a browser for the served repository.
198 </p>
199 <a NAME="HgServeDialog.__startServer" ID="HgServeDialog.__startServer"></a>
200 <h4>HgServeDialog.__startServer</h4>
201 <b>__startServer</b>(<i></i>)
202
203 <p>
204 Private slot to start the Mercurial server.
205 </p>
206 <a NAME="HgServeDialog.__stopServer" ID="HgServeDialog.__stopServer"></a>
207 <h4>HgServeDialog.__stopServer</h4>
208 <b>__stopServer</b>(<i></i>)
209
210 <p>
211 Private slot to stop the Mercurial server.
212 </p>
213 <a NAME="HgServeDialog.closeEvent" ID="HgServeDialog.closeEvent"></a>
214 <h4>HgServeDialog.closeEvent</h4>
215 <b>closeEvent</b>(<i>e</i>)
216
217 <p>
218 Protected slot implementing a close event handler.
219 </p>
220 <dl>
221
222 <dt><i>e</i> (QCloseEvent)</dt>
223 <dd>
224 close event
225 </dd>
226 </dl>
227 <div align="right"><a href="#top">Up</a></div>
228 <hr />
229 </body></html>

eric ide

mercurial