|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.Plugins.VcsPlugins.vcsMercurial.QueuesExtension.HgQueuesHeaderDialog</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.QueuesExtension.HgQueuesHeaderDialog</h1> |
|
23 <p> |
|
24 Module implementing a dialog to show the commit message of the current patch. |
|
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="#HgQueuesHeaderDialog">HgQueuesHeaderDialog</a></td> |
|
34 <td>Class implementing a dialog to show the commit message of the current patch.</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="HgQueuesHeaderDialog" ID="HgQueuesHeaderDialog"></a> |
|
43 <h2>HgQueuesHeaderDialog</h2> |
|
44 <p> |
|
45 Class implementing a dialog to show the commit message of the current |
|
46 patch. |
|
47 </p> |
|
48 <h3>Derived from</h3> |
|
49 QDialog, Ui_HgQueuesHeaderDialog |
|
50 <h3>Class Attributes</h3> |
|
51 <table> |
|
52 <tr><td>None</td></tr> |
|
53 </table> |
|
54 <h3>Class Methods</h3> |
|
55 <table> |
|
56 <tr><td>None</td></tr> |
|
57 </table> |
|
58 <h3>Methods</h3> |
|
59 <table> |
|
60 <tr> |
|
61 <td><a href="#HgQueuesHeaderDialog.__init__">HgQueuesHeaderDialog</a></td> |
|
62 <td>Constructor</td> |
|
63 </tr><tr> |
|
64 <td><a href="#HgQueuesHeaderDialog.__finish">__finish</a></td> |
|
65 <td>Private slot called when the process finished or the user pressed the button.</td> |
|
66 </tr><tr> |
|
67 <td><a href="#HgQueuesHeaderDialog.__procFinished">__procFinished</a></td> |
|
68 <td>Private slot connected to the finished signal.</td> |
|
69 </tr><tr> |
|
70 <td><a href="#HgQueuesHeaderDialog.__readStderr">__readStderr</a></td> |
|
71 <td>Private slot to handle the readyReadStderr signal.</td> |
|
72 </tr><tr> |
|
73 <td><a href="#HgQueuesHeaderDialog.__readStdout">__readStdout</a></td> |
|
74 <td>Private slot to handle the readyReadStdout signal.</td> |
|
75 </tr><tr> |
|
76 <td><a href="#HgQueuesHeaderDialog.__showError">__showError</a></td> |
|
77 <td>Private slot to show some error.</td> |
|
78 </tr><tr> |
|
79 <td><a href="#HgQueuesHeaderDialog.__showOutput">__showOutput</a></td> |
|
80 <td>Private slot to show some output.</td> |
|
81 </tr><tr> |
|
82 <td><a href="#HgQueuesHeaderDialog.closeEvent">closeEvent</a></td> |
|
83 <td>Protected slot implementing a close event handler.</td> |
|
84 </tr><tr> |
|
85 <td><a href="#HgQueuesHeaderDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
|
86 <td>Private slot called by a button of the button box clicked.</td> |
|
87 </tr><tr> |
|
88 <td><a href="#HgQueuesHeaderDialog.start">start</a></td> |
|
89 <td>Public slot to start the list command.</td> |
|
90 </tr> |
|
91 </table> |
|
92 <h3>Static Methods</h3> |
|
93 <table> |
|
94 <tr><td>None</td></tr> |
|
95 </table> |
|
96 <a NAME="HgQueuesHeaderDialog.__init__" ID="HgQueuesHeaderDialog.__init__"></a> |
|
97 <h4>HgQueuesHeaderDialog (Constructor)</h4> |
|
98 <b>HgQueuesHeaderDialog</b>(<i>vcs, parent=None</i>) |
|
99 <p> |
|
100 Constructor |
|
101 </p><dl> |
|
102 <dt><i>vcs</i></dt> |
|
103 <dd> |
|
104 reference to the vcs object |
|
105 </dd><dt><i>parent</i></dt> |
|
106 <dd> |
|
107 reference to the parent widget (QWidget) |
|
108 </dd> |
|
109 </dl><a NAME="HgQueuesHeaderDialog.__finish" ID="HgQueuesHeaderDialog.__finish"></a> |
|
110 <h4>HgQueuesHeaderDialog.__finish</h4> |
|
111 <b>__finish</b>(<i></i>) |
|
112 <p> |
|
113 Private slot called when the process finished or the user pressed |
|
114 the button. |
|
115 </p><a NAME="HgQueuesHeaderDialog.__procFinished" ID="HgQueuesHeaderDialog.__procFinished"></a> |
|
116 <h4>HgQueuesHeaderDialog.__procFinished</h4> |
|
117 <b>__procFinished</b>(<i>exitCode, exitStatus</i>) |
|
118 <p> |
|
119 Private slot connected to the finished signal. |
|
120 </p><dl> |
|
121 <dt><i>exitCode</i></dt> |
|
122 <dd> |
|
123 exit code of the process (integer) |
|
124 </dd><dt><i>exitStatus</i></dt> |
|
125 <dd> |
|
126 exit status of the process (QProcess.ExitStatus) |
|
127 </dd> |
|
128 </dl><a NAME="HgQueuesHeaderDialog.__readStderr" ID="HgQueuesHeaderDialog.__readStderr"></a> |
|
129 <h4>HgQueuesHeaderDialog.__readStderr</h4> |
|
130 <b>__readStderr</b>(<i></i>) |
|
131 <p> |
|
132 Private slot to handle the readyReadStderr signal. |
|
133 </p><p> |
|
134 It reads the error output of the process and inserts it into the |
|
135 error pane. |
|
136 </p><a NAME="HgQueuesHeaderDialog.__readStdout" ID="HgQueuesHeaderDialog.__readStdout"></a> |
|
137 <h4>HgQueuesHeaderDialog.__readStdout</h4> |
|
138 <b>__readStdout</b>(<i></i>) |
|
139 <p> |
|
140 Private slot to handle the readyReadStdout signal. |
|
141 </p><p> |
|
142 It reads the output of the process, formats it and inserts it into |
|
143 the contents pane. |
|
144 </p><a NAME="HgQueuesHeaderDialog.__showError" ID="HgQueuesHeaderDialog.__showError"></a> |
|
145 <h4>HgQueuesHeaderDialog.__showError</h4> |
|
146 <b>__showError</b>(<i>out</i>) |
|
147 <p> |
|
148 Private slot to show some error. |
|
149 </p><dl> |
|
150 <dt><i>out</i></dt> |
|
151 <dd> |
|
152 error to be shown (string) |
|
153 </dd> |
|
154 </dl><a NAME="HgQueuesHeaderDialog.__showOutput" ID="HgQueuesHeaderDialog.__showOutput"></a> |
|
155 <h4>HgQueuesHeaderDialog.__showOutput</h4> |
|
156 <b>__showOutput</b>(<i>out</i>) |
|
157 <p> |
|
158 Private slot to show some output. |
|
159 </p><dl> |
|
160 <dt><i>out</i></dt> |
|
161 <dd> |
|
162 output to be shown (string) |
|
163 </dd> |
|
164 </dl><a NAME="HgQueuesHeaderDialog.closeEvent" ID="HgQueuesHeaderDialog.closeEvent"></a> |
|
165 <h4>HgQueuesHeaderDialog.closeEvent</h4> |
|
166 <b>closeEvent</b>(<i>e</i>) |
|
167 <p> |
|
168 Protected slot implementing a close event handler. |
|
169 </p><dl> |
|
170 <dt><i>e</i></dt> |
|
171 <dd> |
|
172 close event (QCloseEvent) |
|
173 </dd> |
|
174 </dl><a NAME="HgQueuesHeaderDialog.on_buttonBox_clicked" ID="HgQueuesHeaderDialog.on_buttonBox_clicked"></a> |
|
175 <h4>HgQueuesHeaderDialog.on_buttonBox_clicked</h4> |
|
176 <b>on_buttonBox_clicked</b>(<i>button</i>) |
|
177 <p> |
|
178 Private slot called by a button of the button box clicked. |
|
179 </p><dl> |
|
180 <dt><i>button</i></dt> |
|
181 <dd> |
|
182 button that was clicked (QAbstractButton) |
|
183 </dd> |
|
184 </dl><a NAME="HgQueuesHeaderDialog.start" ID="HgQueuesHeaderDialog.start"></a> |
|
185 <h4>HgQueuesHeaderDialog.start</h4> |
|
186 <b>start</b>(<i>path</i>) |
|
187 <p> |
|
188 Public slot to start the list command. |
|
189 </p><dl> |
|
190 <dt><i>path</i></dt> |
|
191 <dd> |
|
192 name of directory to be listed (string) |
|
193 </dd> |
|
194 </dl> |
|
195 <div align="right"><a href="#top">Up</a></div> |
|
196 <hr /> |
|
197 </body></html> |