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

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

eric ide

mercurial