PyInstaller/Documentation/source/Plugin_Packager_PyInstaller.PyInstaller.PyInstallerExecDialog.html

changeset 9
43ef722c3873
child 28
3c8dbc198753
equal deleted inserted replaced
8:ba5a623378ec 9:43ef722c3873
1 <!DOCTYPE html>
2 <html><head>
3 <title>Plugin_Packager_PyInstaller.PyInstaller.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><a NAME="top" ID="top"></a>
22 <h1>Plugin_Packager_PyInstaller.PyInstaller.PyInstallerExecDialog</h1>
23 <p>
24 Module implementing a dialog to show the output of the pyinstaller/pyi-makespec
25 process.
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="#PyInstallerExecDialog">PyInstallerExecDialog</a></td>
35 <td>Class implementing a dialog to show the output of the pyinstaller/pyi-makespec process.</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="PyInstallerExecDialog" ID="PyInstallerExecDialog"></a>
44 <h2>PyInstallerExecDialog</h2>
45 <p>
46 Class implementing a dialog to show the output of the
47 pyinstaller/pyi-makespec process.
48 </p><p>
49 This class starts a QProcess and displays a dialog that
50 shows the output of the packager command process.
51 </p>
52 <h3>Derived from</h3>
53 QDialog, Ui_PyInstallerExecDialog
54 <h3>Class Attributes</h3>
55 <table>
56 <tr><td>None</td></tr>
57 </table>
58 <h3>Class Methods</h3>
59 <table>
60 <tr><td>None</td></tr>
61 </table>
62 <h3>Methods</h3>
63 <table>
64 <tr>
65 <td><a href="#PyInstallerExecDialog.__init__">PyInstallerExecDialog</a></td>
66 <td>Constructor</td>
67 </tr><tr>
68 <td><a href="#PyInstallerExecDialog.__enableButtons">__enableButtons</a></td>
69 <td>Private slot called when all processes finished.</td>
70 </tr><tr>
71 <td><a href="#PyInstallerExecDialog.__finish">__finish</a></td>
72 <td>Private slot called when the process was canceled by the user.</td>
73 </tr><tr>
74 <td><a href="#PyInstallerExecDialog.__finishedProcess">__finishedProcess</a></td>
75 <td>Private slot called when the process finished.</td>
76 </tr><tr>
77 <td><a href="#PyInstallerExecDialog.__readStderr">__readStderr</a></td>
78 <td>Private slot to handle the readyReadStandardError signal.</td>
79 </tr><tr>
80 <td><a href="#PyInstallerExecDialog.__readStdout">__readStdout</a></td>
81 <td>Private slot to handle the readyReadStandardOutput signal.</td>
82 </tr><tr>
83 <td><a href="#PyInstallerExecDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td>
84 <td>Private slot called by a button of the button box clicked.</td>
85 </tr><tr>
86 <td><a href="#PyInstallerExecDialog.start">start</a></td>
87 <td>Public slot to start the packager command.</td>
88 </tr>
89 </table>
90 <h3>Static Methods</h3>
91 <table>
92 <tr><td>None</td></tr>
93 </table>
94 <a NAME="PyInstallerExecDialog.__init__" ID="PyInstallerExecDialog.__init__"></a>
95 <h4>PyInstallerExecDialog (Constructor)</h4>
96 <b>PyInstallerExecDialog</b>(<i>cmdname, parent=None</i>)
97 <p>
98 Constructor
99 </p><dl>
100 <dt><i>cmdname</i> (str)</dt>
101 <dd>
102 name of the packager
103 </dd><dt><i>parent</i> (QWidget)</dt>
104 <dd>
105 reference to the parent widget
106 </dd>
107 </dl><a NAME="PyInstallerExecDialog.__enableButtons" ID="PyInstallerExecDialog.__enableButtons"></a>
108 <h4>PyInstallerExecDialog.__enableButtons</h4>
109 <b>__enableButtons</b>(<i></i>)
110 <p>
111 Private slot called when all processes finished.
112 </p><p>
113 It is called when the process finished or
114 the user pressed the cancel button.
115 </p><a NAME="PyInstallerExecDialog.__finish" ID="PyInstallerExecDialog.__finish"></a>
116 <h4>PyInstallerExecDialog.__finish</h4>
117 <b>__finish</b>(<i></i>)
118 <p>
119 Private slot called when the process was canceled by the user.
120 </p><p>
121 It is called when the process finished or
122 the user pressed the cancel button.
123 </p><a NAME="PyInstallerExecDialog.__finishedProcess" ID="PyInstallerExecDialog.__finishedProcess"></a>
124 <h4>PyInstallerExecDialog.__finishedProcess</h4>
125 <b>__finishedProcess</b>(<i></i>)
126 <p>
127 Private slot called when the process finished.
128 </p><p>
129 It is called when the process finished or
130 the user pressed the cancel button.
131 </p><a NAME="PyInstallerExecDialog.__readStderr" ID="PyInstallerExecDialog.__readStderr"></a>
132 <h4>PyInstallerExecDialog.__readStderr</h4>
133 <b>__readStderr</b>(<i></i>)
134 <p>
135 Private slot to handle the readyReadStandardError signal.
136 </p><p>
137 It reads the error output of the process and inserts it into the
138 error pane.
139 </p><a NAME="PyInstallerExecDialog.__readStdout" ID="PyInstallerExecDialog.__readStdout"></a>
140 <h4>PyInstallerExecDialog.__readStdout</h4>
141 <b>__readStdout</b>(<i></i>)
142 <p>
143 Private slot to handle the readyReadStandardOutput signal.
144 </p><p>
145 It reads the output of the process, formats it and inserts it into
146 the contents pane.
147 </p><a NAME="PyInstallerExecDialog.on_buttonBox_clicked" ID="PyInstallerExecDialog.on_buttonBox_clicked"></a>
148 <h4>PyInstallerExecDialog.on_buttonBox_clicked</h4>
149 <b>on_buttonBox_clicked</b>(<i>button</i>)
150 <p>
151 Private slot called by a button of the button box clicked.
152 </p><dl>
153 <dt><i>button</i> (QAbstractButton)</dt>
154 <dd>
155 button that was clicked
156 </dd>
157 </dl><a NAME="PyInstallerExecDialog.start" ID="PyInstallerExecDialog.start"></a>
158 <h4>PyInstallerExecDialog.start</h4>
159 <b>start</b>(<i>args, parms, project, script</i>)
160 <p>
161 Public slot to start the packager command.
162 </p><dl>
163 <dt><i>args</i> (list of str)</dt>
164 <dd>
165 command line arguments for packager program
166 </dd><dt><i>parms</i> (dict)</dt>
167 <dd>
168 parameters got from the config dialog
169 </dd><dt><i>project</i> (Project)</dt>
170 <dd>
171 reference to the project object
172 </dd><dt><i>script</i> (str)</dt>
173 <dd>
174 script or spec file name to be processed by by the
175 packager
176 </dd>
177 </dl><dl>
178 <dt>Returns:</dt>
179 <dd>
180 flag indicating the successful start of the process
181 </dd>
182 </dl><dl>
183 <dt>Return Type:</dt>
184 <dd>
185 bool
186 </dd>
187 </dl>
188 <div align="right"><a href="#top">Up</a></div>
189 <hr />
190 </body></html>

eric ide

mercurial