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

changeset 3673
e26d7d0c1088
equal deleted inserted replaced
3670:f0cb7579c0b4 3673:e26d7d0c1088
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.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><a NAME="top" ID="top"></a>
22 <h1>eric6.Plugins.VcsPlugins.vcsMercurial.HgServeDialog</h1>
23 <p>
24 Module implementing a dialog for the Mercurial server.
25 </p>
26 <h3>Global Attributes</h3>
27 <table>
28 <tr><td>None</td></tr>
29 </table>
30 <h3>Classes</h3>
31 <table>
32 <tr>
33 <td><a href="#HgServeDialog">HgServeDialog</a></td>
34 <td>Class implementing a dialog for the Mercurial server.</td>
35 </tr>
36 </table>
37 <h3>Functions</h3>
38 <table>
39 <tr><td>None</td></tr>
40 </table>
41 <hr /><hr />
42 <a NAME="HgServeDialog" ID="HgServeDialog"></a>
43 <h2>HgServeDialog</h2>
44 <p>
45 Class implementing a dialog for the Mercurial server.
46 </p>
47 <h3>Derived from</h3>
48 E5MainWindow
49 <h3>Class Attributes</h3>
50 <table>
51 <tr><td>None</td></tr>
52 </table>
53 <h3>Class Methods</h3>
54 <table>
55 <tr><td>None</td></tr>
56 </table>
57 <h3>Methods</h3>
58 <table>
59 <tr>
60 <td><a href="#HgServeDialog.__init__">HgServeDialog</a></td>
61 <td>Constructor</td>
62 </tr><tr>
63 <td><a href="#HgServeDialog.__appendText">__appendText</a></td>
64 <td>Private method to append text to the end.</td>
65 </tr><tr>
66 <td><a href="#HgServeDialog.__procFinished">__procFinished</a></td>
67 <td>Private slot connected to the finished signal.</td>
68 </tr><tr>
69 <td><a href="#HgServeDialog.__readStderr">__readStderr</a></td>
70 <td>Private slot to handle the readyReadStandardError signal.</td>
71 </tr><tr>
72 <td><a href="#HgServeDialog.__readStdout">__readStdout</a></td>
73 <td>Private slot to handle the readyReadStandardOutput signal.</td>
74 </tr><tr>
75 <td><a href="#HgServeDialog.__startBrowser">__startBrowser</a></td>
76 <td>Private slot to start a browser for the served repository.</td>
77 </tr><tr>
78 <td><a href="#HgServeDialog.__startServer">__startServer</a></td>
79 <td>Private slot to start the Mercurial server.</td>
80 </tr><tr>
81 <td><a href="#HgServeDialog.__stopServer">__stopServer</a></td>
82 <td>Private slot to stop the Mercurial server.</td>
83 </tr><tr>
84 <td><a href="#HgServeDialog.closeEvent">closeEvent</a></td>
85 <td>Protected slot implementing a close event handler.</td>
86 </tr>
87 </table>
88 <h3>Static Methods</h3>
89 <table>
90 <tr><td>None</td></tr>
91 </table>
92 <a NAME="HgServeDialog.__init__" ID="HgServeDialog.__init__"></a>
93 <h4>HgServeDialog (Constructor)</h4>
94 <b>HgServeDialog</b>(<i>vcs, path, parent=None</i>)
95 <p>
96 Constructor
97 </p><dl>
98 <dt><i>vcs</i></dt>
99 <dd>
100 reference to the vcs object
101 </dd><dt><i>path</i></dt>
102 <dd>
103 path of the repository to serve (string)
104 </dd><dt><i>parent</i></dt>
105 <dd>
106 reference to the parent widget (QWidget)
107 </dd>
108 </dl><a NAME="HgServeDialog.__appendText" ID="HgServeDialog.__appendText"></a>
109 <h4>HgServeDialog.__appendText</h4>
110 <b>__appendText</b>(<i>txt, error=False</i>)
111 <p>
112 Private method to append text to the end.
113 </p><dl>
114 <dt><i>txt</i></dt>
115 <dd>
116 text to insert (string)
117 </dd><dt><i>error</i></dt>
118 <dd>
119 flag indicating to insert error text (boolean)
120 </dd>
121 </dl><a NAME="HgServeDialog.__procFinished" ID="HgServeDialog.__procFinished"></a>
122 <h4>HgServeDialog.__procFinished</h4>
123 <b>__procFinished</b>(<i>exitCode, exitStatus</i>)
124 <p>
125 Private slot connected to the finished signal.
126 </p><dl>
127 <dt><i>exitCode</i></dt>
128 <dd>
129 exit code of the process (integer)
130 </dd><dt><i>exitStatus</i></dt>
131 <dd>
132 exit status of the process (QProcess.ExitStatus)
133 </dd>
134 </dl><a NAME="HgServeDialog.__readStderr" ID="HgServeDialog.__readStderr"></a>
135 <h4>HgServeDialog.__readStderr</h4>
136 <b>__readStderr</b>(<i></i>)
137 <p>
138 Private slot to handle the readyReadStandardError signal.
139 </p><p>
140 It reads the error output of the process and inserts it into the log.
141 </p><a NAME="HgServeDialog.__readStdout" ID="HgServeDialog.__readStdout"></a>
142 <h4>HgServeDialog.__readStdout</h4>
143 <b>__readStdout</b>(<i></i>)
144 <p>
145 Private slot to handle the readyReadStandardOutput signal.
146 </p><p>
147 It reads the output of the process and inserts it into the log.
148 </p><a NAME="HgServeDialog.__startBrowser" ID="HgServeDialog.__startBrowser"></a>
149 <h4>HgServeDialog.__startBrowser</h4>
150 <b>__startBrowser</b>(<i></i>)
151 <p>
152 Private slot to start a browser for the served repository.
153 </p><a NAME="HgServeDialog.__startServer" ID="HgServeDialog.__startServer"></a>
154 <h4>HgServeDialog.__startServer</h4>
155 <b>__startServer</b>(<i></i>)
156 <p>
157 Private slot to start the Mercurial server.
158 </p><a NAME="HgServeDialog.__stopServer" ID="HgServeDialog.__stopServer"></a>
159 <h4>HgServeDialog.__stopServer</h4>
160 <b>__stopServer</b>(<i></i>)
161 <p>
162 Private slot to stop the Mercurial server.
163 </p><a NAME="HgServeDialog.closeEvent" ID="HgServeDialog.closeEvent"></a>
164 <h4>HgServeDialog.closeEvent</h4>
165 <b>closeEvent</b>(<i>e</i>)
166 <p>
167 Protected slot implementing a close event handler.
168 </p><dl>
169 <dt><i>e</i></dt>
170 <dd>
171 close event (QCloseEvent)
172 </dd>
173 </dl>
174 <div align="right"><a href="#top">Up</a></div>
175 <hr />
176 </body></html>

eric ide

mercurial