PyInstallerInterface/Documentation/source/Plugin_Packager_PyInstaller.PyInstallerInterface.PyInstallerExecDialog.html

branch
eric7
changeset 38
fc9ef9dcd51a
child 44
fca2c68606b8
equal deleted inserted replaced
37:9ecfea29a47c 38:fc9ef9dcd51a
1 <!DOCTYPE html>
2 <html><head>
3 <title>Plugin_Packager_PyInstaller.PyInstallerInterface.PyInstallerExecDialog</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>
22 <a NAME="top" ID="top"></a>
23 <h1>Plugin_Packager_PyInstaller.PyInstallerInterface.PyInstallerExecDialog</h1>
24
25 <p>
26 Module implementing a dialog to show the output of the pyinstaller/pyi-makespec
27 process.
28 </p>
29 <h3>Global Attributes</h3>
30
31 <table>
32 <tr><td>None</td></tr>
33 </table>
34 <h3>Classes</h3>
35
36 <table>
37
38 <tr>
39 <td><a href="#PyInstallerExecDialog">PyInstallerExecDialog</a></td>
40 <td>Class implementing a dialog to show the output of the pyinstaller/pyi-makespec process.</td>
41 </tr>
42 </table>
43 <h3>Functions</h3>
44
45 <table>
46 <tr><td>None</td></tr>
47 </table>
48 <hr />
49 <hr />
50 <a NAME="PyInstallerExecDialog" ID="PyInstallerExecDialog"></a>
51 <h2>PyInstallerExecDialog</h2>
52
53 <p>
54 Class implementing a dialog to show the output of the
55 pyinstaller/pyi-makespec process.
56 </p>
57 <p>
58 This class starts a QProcess and displays a dialog that
59 shows the output of the packager command process.
60 </p>
61 <h3>Derived from</h3>
62 QDialog, Ui_PyInstallerExecDialog
63 <h3>Class Attributes</h3>
64
65 <table>
66 <tr><td>None</td></tr>
67 </table>
68 <h3>Class Methods</h3>
69
70 <table>
71 <tr><td>None</td></tr>
72 </table>
73 <h3>Methods</h3>
74
75 <table>
76
77 <tr>
78 <td><a href="#PyInstallerExecDialog.__init__">PyInstallerExecDialog</a></td>
79 <td>Constructor</td>
80 </tr>
81 <tr>
82 <td><a href="#PyInstallerExecDialog.__enableButtons">__enableButtons</a></td>
83 <td>Private slot called when all processes finished.</td>
84 </tr>
85 <tr>
86 <td><a href="#PyInstallerExecDialog.__finish">__finish</a></td>
87 <td>Private slot called when the process was canceled by the user.</td>
88 </tr>
89 <tr>
90 <td><a href="#PyInstallerExecDialog.__finishedProcess">__finishedProcess</a></td>
91 <td>Private slot called when the process finished.</td>
92 </tr>
93 <tr>
94 <td><a href="#PyInstallerExecDialog.__readStderr">__readStderr</a></td>
95 <td>Private slot to handle the readyReadStandardError signal.</td>
96 </tr>
97 <tr>
98 <td><a href="#PyInstallerExecDialog.__readStdout">__readStdout</a></td>
99 <td>Private slot to handle the readyReadStandardOutput signal.</td>
100 </tr>
101 <tr>
102 <td><a href="#PyInstallerExecDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td>
103 <td>Private slot called by a button of the button box clicked.</td>
104 </tr>
105 <tr>
106 <td><a href="#PyInstallerExecDialog.start">start</a></td>
107 <td>Public slot to start the packager command.</td>
108 </tr>
109 </table>
110 <h3>Static Methods</h3>
111
112 <table>
113 <tr><td>None</td></tr>
114 </table>
115
116 <a NAME="PyInstallerExecDialog.__init__" ID="PyInstallerExecDialog.__init__"></a>
117 <h4>PyInstallerExecDialog (Constructor)</h4>
118 <b>PyInstallerExecDialog</b>(<i>cmdname, parent=None</i>)
119
120 <p>
121 Constructor
122 </p>
123 <dl>
124
125 <dt><i>cmdname</i> (str)</dt>
126 <dd>
127 name of the packager
128 </dd>
129 <dt><i>parent</i> (QWidget)</dt>
130 <dd>
131 reference to the parent widget
132 </dd>
133 </dl>
134 <a NAME="PyInstallerExecDialog.__enableButtons" ID="PyInstallerExecDialog.__enableButtons"></a>
135 <h4>PyInstallerExecDialog.__enableButtons</h4>
136 <b>__enableButtons</b>(<i></i>)
137
138 <p>
139 Private slot called when all processes finished.
140 </p>
141 <p>
142 It is called when the process finished or
143 the user pressed the cancel button.
144 </p>
145 <a NAME="PyInstallerExecDialog.__finish" ID="PyInstallerExecDialog.__finish"></a>
146 <h4>PyInstallerExecDialog.__finish</h4>
147 <b>__finish</b>(<i></i>)
148
149 <p>
150 Private slot called when the process was canceled by the user.
151 </p>
152 <p>
153 It is called when the process finished or
154 the user pressed the cancel button.
155 </p>
156 <a NAME="PyInstallerExecDialog.__finishedProcess" ID="PyInstallerExecDialog.__finishedProcess"></a>
157 <h4>PyInstallerExecDialog.__finishedProcess</h4>
158 <b>__finishedProcess</b>(<i></i>)
159
160 <p>
161 Private slot called when the process finished.
162 </p>
163 <p>
164 It is called when the process finished or
165 the user pressed the cancel button.
166 </p>
167 <a NAME="PyInstallerExecDialog.__readStderr" ID="PyInstallerExecDialog.__readStderr"></a>
168 <h4>PyInstallerExecDialog.__readStderr</h4>
169 <b>__readStderr</b>(<i></i>)
170
171 <p>
172 Private slot to handle the readyReadStandardError signal.
173 </p>
174 <p>
175 It reads the error output of the process and inserts it into the
176 error pane.
177 </p>
178 <a NAME="PyInstallerExecDialog.__readStdout" ID="PyInstallerExecDialog.__readStdout"></a>
179 <h4>PyInstallerExecDialog.__readStdout</h4>
180 <b>__readStdout</b>(<i></i>)
181
182 <p>
183 Private slot to handle the readyReadStandardOutput signal.
184 </p>
185 <p>
186 It reads the output of the process, formats it and inserts it into
187 the contents pane.
188 </p>
189 <a NAME="PyInstallerExecDialog.on_buttonBox_clicked" ID="PyInstallerExecDialog.on_buttonBox_clicked"></a>
190 <h4>PyInstallerExecDialog.on_buttonBox_clicked</h4>
191 <b>on_buttonBox_clicked</b>(<i>button</i>)
192
193 <p>
194 Private slot called by a button of the button box clicked.
195 </p>
196 <dl>
197
198 <dt><i>button</i> (QAbstractButton)</dt>
199 <dd>
200 button that was clicked
201 </dd>
202 </dl>
203 <a NAME="PyInstallerExecDialog.start" ID="PyInstallerExecDialog.start"></a>
204 <h4>PyInstallerExecDialog.start</h4>
205 <b>start</b>(<i>args, parms, project, script</i>)
206
207 <p>
208 Public slot to start the packager command.
209 </p>
210 <dl>
211
212 <dt><i>args</i> (list of str)</dt>
213 <dd>
214 command line arguments for packager program
215 </dd>
216 <dt><i>parms</i> (dict)</dt>
217 <dd>
218 parameters got from the config dialog
219 </dd>
220 <dt><i>project</i> (Project)</dt>
221 <dd>
222 reference to the project object
223 </dd>
224 <dt><i>script</i> (str)</dt>
225 <dd>
226 script or spec file name to be processed by by the
227 packager
228 </dd>
229 </dl>
230 <dl>
231 <dt>Return:</dt>
232 <dd>
233 flag indicating the successful start of the process
234 </dd>
235 </dl>
236 <dl>
237 <dt>Return Type:</dt>
238 <dd>
239 bool
240 </dd>
241 </dl>
242 <div align="right"><a href="#top">Up</a></div>
243 <hr />
244 </body></html>

eric ide

mercurial