5 <link rel="stylesheet" href="styles.css"> |
5 <link rel="stylesheet" href="styles.css"> |
6 </head> |
6 </head> |
7 <body> |
7 <body> |
8 <a NAME="top" ID="top"></a> |
8 <a NAME="top" ID="top"></a> |
9 <h1>eric7.Plugins.VcsPlugins.vcsMercurial.HgServeDialog</h1> |
9 <h1>eric7.Plugins.VcsPlugins.vcsMercurial.HgServeDialog</h1> |
10 |
|
11 <p> |
10 <p> |
12 Module implementing a dialog for the Mercurial server. |
11 Module implementing a dialog for the Mercurial server. |
13 </p> |
12 </p> |
|
13 |
14 <h3>Global Attributes</h3> |
14 <h3>Global Attributes</h3> |
15 |
15 <table> |
16 <table> |
16 <tr><td>None</td></tr> |
17 <tr><td>None</td></tr> |
17 </table> |
18 </table> |
18 |
19 <h3>Classes</h3> |
19 <h3>Classes</h3> |
20 |
20 <table> |
21 <table> |
|
22 |
|
23 <tr> |
21 <tr> |
24 <td><a href="#HgServeDialog">HgServeDialog</a></td> |
22 <td><a href="#HgServeDialog">HgServeDialog</a></td> |
25 <td>Class implementing a dialog for the Mercurial server.</td> |
23 <td>Class implementing a dialog for the Mercurial server.</td> |
26 </tr> |
24 </tr> |
27 </table> |
25 </table> |
|
26 |
28 <h3>Functions</h3> |
27 <h3>Functions</h3> |
29 |
28 <table> |
30 <table> |
29 <tr><td>None</td></tr> |
31 <tr><td>None</td></tr> |
30 </table> |
32 </table> |
31 |
33 <hr /> |
32 <hr /> |
34 <hr /> |
33 <hr /> |
35 <a NAME="HgServeDialog" ID="HgServeDialog"></a> |
34 <a NAME="HgServeDialog" ID="HgServeDialog"></a> |
36 <h2>HgServeDialog</h2> |
35 <h2>HgServeDialog</h2> |
37 |
|
38 <p> |
36 <p> |
39 Class implementing a dialog for the Mercurial server. |
37 Class implementing a dialog for the Mercurial server. |
40 </p> |
38 </p> |
|
39 |
41 <h3>Derived from</h3> |
40 <h3>Derived from</h3> |
42 EricMainWindow |
41 EricMainWindow |
43 <h3>Class Attributes</h3> |
42 <h3>Class Attributes</h3> |
44 |
43 <table> |
45 <table> |
44 <tr><td>None</td></tr> |
46 <tr><td>None</td></tr> |
45 </table> |
47 </table> |
46 |
48 <h3>Class Methods</h3> |
47 <h3>Class Methods</h3> |
49 |
48 <table> |
50 <table> |
49 <tr><td>None</td></tr> |
51 <tr><td>None</td></tr> |
50 </table> |
52 </table> |
51 |
53 <h3>Methods</h3> |
52 <h3>Methods</h3> |
54 |
53 <table> |
55 <table> |
|
56 |
|
57 <tr> |
54 <tr> |
58 <td><a href="#HgServeDialog.__init__">HgServeDialog</a></td> |
55 <td><a href="#HgServeDialog.__init__">HgServeDialog</a></td> |
59 <td>Constructor</td> |
56 <td>Constructor</td> |
60 </tr> |
57 </tr> |
61 <tr> |
58 <tr> |
89 <tr> |
86 <tr> |
90 <td><a href="#HgServeDialog.closeEvent">closeEvent</a></td> |
87 <td><a href="#HgServeDialog.closeEvent">closeEvent</a></td> |
91 <td>Protected slot implementing a close event handler.</td> |
88 <td>Protected slot implementing a close event handler.</td> |
92 </tr> |
89 </tr> |
93 </table> |
90 </table> |
|
91 |
94 <h3>Static Methods</h3> |
92 <h3>Static Methods</h3> |
95 |
93 <table> |
96 <table> |
94 <tr><td>None</td></tr> |
97 <tr><td>None</td></tr> |
95 </table> |
98 </table> |
96 |
99 |
97 |
100 <a NAME="HgServeDialog.__init__" ID="HgServeDialog.__init__"></a> |
98 <a NAME="HgServeDialog.__init__" ID="HgServeDialog.__init__"></a> |
101 <h4>HgServeDialog (Constructor)</h4> |
99 <h4>HgServeDialog (Constructor)</h4> |
102 <b>HgServeDialog</b>(<i>vcs, path, parent=None</i>) |
100 <b>HgServeDialog</b>(<i>vcs, path, parent=None</i>) |
103 |
|
104 <p> |
101 <p> |
105 Constructor |
102 Constructor |
106 </p> |
103 </p> |
|
104 |
107 <dl> |
105 <dl> |
108 |
106 |
109 <dt><i>vcs</i> (Hg)</dt> |
107 <dt><i>vcs</i> (Hg)</dt> |
110 <dd> |
108 <dd> |
111 reference to the vcs object |
109 reference to the vcs object |
138 </dd> |
136 </dd> |
139 </dl> |
137 </dl> |
140 <a NAME="HgServeDialog.__procFinished" ID="HgServeDialog.__procFinished"></a> |
138 <a NAME="HgServeDialog.__procFinished" ID="HgServeDialog.__procFinished"></a> |
141 <h4>HgServeDialog.__procFinished</h4> |
139 <h4>HgServeDialog.__procFinished</h4> |
142 <b>__procFinished</b>(<i>exitCode, exitStatus</i>) |
140 <b>__procFinished</b>(<i>exitCode, exitStatus</i>) |
143 |
|
144 <p> |
141 <p> |
145 Private slot connected to the finished signal. |
142 Private slot connected to the finished signal. |
146 </p> |
143 </p> |
|
144 |
147 <dl> |
145 <dl> |
148 |
146 |
149 <dt><i>exitCode</i> (int)</dt> |
147 <dt><i>exitCode</i> (int)</dt> |
150 <dd> |
148 <dd> |
151 exit code of the process |
149 exit code of the process |
156 </dd> |
154 </dd> |
157 </dl> |
155 </dl> |
158 <a NAME="HgServeDialog.__readStderr" ID="HgServeDialog.__readStderr"></a> |
156 <a NAME="HgServeDialog.__readStderr" ID="HgServeDialog.__readStderr"></a> |
159 <h4>HgServeDialog.__readStderr</h4> |
157 <h4>HgServeDialog.__readStderr</h4> |
160 <b>__readStderr</b>(<i></i>) |
158 <b>__readStderr</b>(<i></i>) |
161 |
|
162 <p> |
159 <p> |
163 Private slot to handle the readyReadStandardError signal. |
160 Private slot to handle the readyReadStandardError signal. |
164 </p> |
161 </p> |
165 <p> |
162 <p> |
166 It reads the error output of the process and inserts it into the log. |
163 It reads the error output of the process and inserts it into the log. |
167 </p> |
164 </p> |
|
165 |
168 <a NAME="HgServeDialog.__readStdout" ID="HgServeDialog.__readStdout"></a> |
166 <a NAME="HgServeDialog.__readStdout" ID="HgServeDialog.__readStdout"></a> |
169 <h4>HgServeDialog.__readStdout</h4> |
167 <h4>HgServeDialog.__readStdout</h4> |
170 <b>__readStdout</b>(<i></i>) |
168 <b>__readStdout</b>(<i></i>) |
171 |
|
172 <p> |
169 <p> |
173 Private slot to handle the readyReadStandardOutput signal. |
170 Private slot to handle the readyReadStandardOutput signal. |
174 </p> |
171 </p> |
175 <p> |
172 <p> |
176 It reads the output of the process and inserts it into the log. |
173 It reads the output of the process and inserts it into the log. |
177 </p> |
174 </p> |
|
175 |
178 <a NAME="HgServeDialog.__startBrowser" ID="HgServeDialog.__startBrowser"></a> |
176 <a NAME="HgServeDialog.__startBrowser" ID="HgServeDialog.__startBrowser"></a> |
179 <h4>HgServeDialog.__startBrowser</h4> |
177 <h4>HgServeDialog.__startBrowser</h4> |
180 <b>__startBrowser</b>(<i></i>) |
178 <b>__startBrowser</b>(<i></i>) |
181 |
|
182 <p> |
179 <p> |
183 Private slot to start a browser for the served repository. |
180 Private slot to start a browser for the served repository. |
184 </p> |
181 </p> |
|
182 |
185 <a NAME="HgServeDialog.__startServer" ID="HgServeDialog.__startServer"></a> |
183 <a NAME="HgServeDialog.__startServer" ID="HgServeDialog.__startServer"></a> |
186 <h4>HgServeDialog.__startServer</h4> |
184 <h4>HgServeDialog.__startServer</h4> |
187 <b>__startServer</b>(<i></i>) |
185 <b>__startServer</b>(<i></i>) |
188 |
|
189 <p> |
186 <p> |
190 Private slot to start the Mercurial server. |
187 Private slot to start the Mercurial server. |
191 </p> |
188 </p> |
|
189 |
192 <a NAME="HgServeDialog.__stopServer" ID="HgServeDialog.__stopServer"></a> |
190 <a NAME="HgServeDialog.__stopServer" ID="HgServeDialog.__stopServer"></a> |
193 <h4>HgServeDialog.__stopServer</h4> |
191 <h4>HgServeDialog.__stopServer</h4> |
194 <b>__stopServer</b>(<i></i>) |
192 <b>__stopServer</b>(<i></i>) |
195 |
|
196 <p> |
193 <p> |
197 Private slot to stop the Mercurial server. |
194 Private slot to stop the Mercurial server. |
198 </p> |
195 </p> |
|
196 |
199 <a NAME="HgServeDialog.closeEvent" ID="HgServeDialog.closeEvent"></a> |
197 <a NAME="HgServeDialog.closeEvent" ID="HgServeDialog.closeEvent"></a> |
200 <h4>HgServeDialog.closeEvent</h4> |
198 <h4>HgServeDialog.closeEvent</h4> |
201 <b>closeEvent</b>(<i>e</i>) |
199 <b>closeEvent</b>(<i>e</i>) |
202 |
|
203 <p> |
200 <p> |
204 Protected slot implementing a close event handler. |
201 Protected slot implementing a close event handler. |
205 </p> |
202 </p> |
|
203 |
206 <dl> |
204 <dl> |
207 |
205 |
208 <dt><i>e</i> (QCloseEvent)</dt> |
206 <dt><i>e</i> (QCloseEvent)</dt> |
209 <dd> |
207 <dd> |
210 close event |
208 close event |