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

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

eric ide

mercurial