|
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.Debugger.StartDialog</title> |
|
6 <style> |
|
7 b'body {\n background:white;\n margin: 0em 1em 10em 1em;\n color: black;\n}\n\nh1 { color: white; background: #4FA4FF; }\nh2 { color: white; background: #4FA4FF; }\nh3 { color: white; background: #00557F; }\nh4 { color: white; background: #00557F; }\n \na { color: #AA5500; }\n' |
|
8 </style> |
|
9 </head> |
|
10 <body><a NAME="top" ID="top"></a> |
|
11 <h1>eric5.Debugger.StartDialog</h1> |
|
12 <p> |
|
13 Module implementing the Start Program dialog. |
|
14 </p> |
|
15 <h3>Global Attributes</h3> |
|
16 <table> |
|
17 <tr><td>None</td></tr> |
|
18 </table> |
|
19 <h3>Classes</h3> |
|
20 <table> |
|
21 <tr> |
|
22 <td><a href="#StartDialog">StartDialog</a></td> |
|
23 <td>Class implementing the Start Program dialog.</td> |
|
24 </tr> |
|
25 </table> |
|
26 <h3>Functions</h3> |
|
27 <table> |
|
28 <tr><td>None</td></tr> |
|
29 </table> |
|
30 <hr /><hr /> |
|
31 <a NAME="StartDialog" ID="StartDialog"></a> |
|
32 <h2>StartDialog</h2> |
|
33 <p> |
|
34 Class implementing the Start Program dialog. |
|
35 </p><p> |
|
36 It implements a dialog that is used to start an |
|
37 application for debugging. It asks the user to enter |
|
38 the commandline parameters, the working directory and |
|
39 whether exception reporting should be disabled. |
|
40 </p> |
|
41 <h3>Derived from</h3> |
|
42 QDialog |
|
43 <h3>Class Attributes</h3> |
|
44 <table> |
|
45 <tr><td>None</td></tr> |
|
46 </table> |
|
47 <h3>Methods</h3> |
|
48 <table> |
|
49 <tr> |
|
50 <td><a href="#StartDialog.__init__">StartDialog</a></td> |
|
51 <td>Constructor</td> |
|
52 </tr><tr> |
|
53 <td><a href="#StartDialog.__clearHistories">__clearHistories</a></td> |
|
54 <td>Private slot to clear the combo boxes lists and record a flag to clear the lists.</td> |
|
55 </tr><tr> |
|
56 <td><a href="#StartDialog.getCoverageData">getCoverageData</a></td> |
|
57 <td>Public method to retrieve the coverage related data entered into this dialog.</td> |
|
58 </tr><tr> |
|
59 <td><a href="#StartDialog.getData">getData</a></td> |
|
60 <td>Public method to retrieve the data entered into this dialog.</td> |
|
61 </tr><tr> |
|
62 <td><a href="#StartDialog.getDebugData">getDebugData</a></td> |
|
63 <td>Public method to retrieve the debug related data entered into this dialog.</td> |
|
64 </tr><tr> |
|
65 <td><a href="#StartDialog.getProfilingData">getProfilingData</a></td> |
|
66 <td>Public method to retrieve the profiling related data entered into this dialog.</td> |
|
67 </tr><tr> |
|
68 <td><a href="#StartDialog.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
|
69 <td>Private slot called by a button of the button box clicked.</td> |
|
70 </tr><tr> |
|
71 <td><a href="#StartDialog.on_dirButton_clicked">on_dirButton_clicked</a></td> |
|
72 <td>Private method used to open a directory selection dialog.</td> |
|
73 </tr><tr> |
|
74 <td><a href="#StartDialog.on_modFuncCombo_editTextChanged">on_modFuncCombo_editTextChanged</a></td> |
|
75 <td>Private slot to enable/disable the OK button.</td> |
|
76 </tr> |
|
77 </table> |
|
78 <a NAME="StartDialog.__init__" ID="StartDialog.__init__"></a> |
|
79 <h4>StartDialog (Constructor)</h4> |
|
80 <b>StartDialog</b>(<i>caption, argvList, wdList, envList, exceptions, parent = None, type = 0, modfuncList = None, tracePython = False, autoClearShell = True, autoContinue = True, autoFork = False, forkChild = False</i>) |
|
81 <p> |
|
82 Constructor |
|
83 </p><dl> |
|
84 <dt><i>caption</i></dt> |
|
85 <dd> |
|
86 the caption to be displayed (string) |
|
87 </dd><dt><i>argvList</i></dt> |
|
88 <dd> |
|
89 history list of commandline arguments (list of strings) |
|
90 </dd><dt><i>wdList</i></dt> |
|
91 <dd> |
|
92 history list of working directories (list of strings) |
|
93 </dd><dt><i>envList</i></dt> |
|
94 <dd> |
|
95 history list of environment settings (list of strings) |
|
96 </dd><dt><i>exceptions</i></dt> |
|
97 <dd> |
|
98 exception reporting flag (boolean) |
|
99 </dd><dt><i>parent</i></dt> |
|
100 <dd> |
|
101 parent widget of this dialog (QWidget) |
|
102 </dd><dt><i>type</i></dt> |
|
103 <dd> |
|
104 type of the start dialog |
|
105 <ul> |
|
106 <li>0 = start debug dialog</li> |
|
107 <li>1 = start run dialog</li> |
|
108 <li>2 = start coverage dialog</li> |
|
109 <li>3 = start profile dialog</li> |
|
110 </ul> |
|
111 </dd><dt><i>modfuncList=</i></dt> |
|
112 <dd> |
|
113 history list of module functions (list of strings) |
|
114 </dd><dt><i>tracePython=</i></dt> |
|
115 <dd> |
|
116 flag indicating if the Python library should |
|
117 be traced as well (boolean) |
|
118 </dd><dt><i>autoClearShell=</i></dt> |
|
119 <dd> |
|
120 flag indicating, that the interpreter window should |
|
121 be cleared automatically (boolean) |
|
122 </dd><dt><i>autoContinue=</i></dt> |
|
123 <dd> |
|
124 flag indicating, that the debugger should not stop at |
|
125 the first executable line (boolean) |
|
126 </dd><dt><i>autoFork=</i></dt> |
|
127 <dd> |
|
128 flag indicating the automatic fork mode (boolean) |
|
129 </dd><dt><i>forkChild=</i></dt> |
|
130 <dd> |
|
131 flag indicating to debug the child after forking (boolean) |
|
132 </dd> |
|
133 </dl><a NAME="StartDialog.__clearHistories" ID="StartDialog.__clearHistories"></a> |
|
134 <h4>StartDialog.__clearHistories</h4> |
|
135 <b>__clearHistories</b>(<i></i>) |
|
136 <p> |
|
137 Private slot to clear the combo boxes lists and record a flag to |
|
138 clear the lists. |
|
139 </p><a NAME="StartDialog.getCoverageData" ID="StartDialog.getCoverageData"></a> |
|
140 <h4>StartDialog.getCoverageData</h4> |
|
141 <b>getCoverageData</b>(<i></i>) |
|
142 <p> |
|
143 Public method to retrieve the coverage related data entered into this dialog. |
|
144 </p><dl> |
|
145 <dt>Returns:</dt> |
|
146 <dd> |
|
147 flag indicating erasure of coverage info (boolean) |
|
148 </dd> |
|
149 </dl><a NAME="StartDialog.getData" ID="StartDialog.getData"></a> |
|
150 <h4>StartDialog.getData</h4> |
|
151 <b>getData</b>(<i></i>) |
|
152 <p> |
|
153 Public method to retrieve the data entered into this dialog. |
|
154 </p><dl> |
|
155 <dt>Returns:</dt> |
|
156 <dd> |
|
157 a tuple of argv (string), workdir (string), environment (string), |
|
158 exceptions flag (boolean), clear interpreter flag (boolean), |
|
159 clear histories flag (boolean) and run in console flag (boolean) |
|
160 </dd> |
|
161 </dl><a NAME="StartDialog.getDebugData" ID="StartDialog.getDebugData"></a> |
|
162 <h4>StartDialog.getDebugData</h4> |
|
163 <b>getDebugData</b>(<i></i>) |
|
164 <p> |
|
165 Public method to retrieve the debug related data entered into this dialog. |
|
166 </p><dl> |
|
167 <dt>Returns:</dt> |
|
168 <dd> |
|
169 a tuple of a flag indicating, if the Python library should be traced |
|
170 as well, a flag indicating, that the debugger should not stop at the |
|
171 first executable line (boolean), a flag indicating, that the debugger |
|
172 should fork automatically (boolean) and a flag indicating, that the |
|
173 debugger should debug the child process after forking automatically (boolean) |
|
174 </dd> |
|
175 </dl><a NAME="StartDialog.getProfilingData" ID="StartDialog.getProfilingData"></a> |
|
176 <h4>StartDialog.getProfilingData</h4> |
|
177 <b>getProfilingData</b>(<i></i>) |
|
178 <p> |
|
179 Public method to retrieve the profiling related data entered into this dialog. |
|
180 </p><dl> |
|
181 <dt>Returns:</dt> |
|
182 <dd> |
|
183 flag indicating erasure of profiling info (boolean) |
|
184 </dd> |
|
185 </dl><a NAME="StartDialog.on_buttonBox_clicked" ID="StartDialog.on_buttonBox_clicked"></a> |
|
186 <h4>StartDialog.on_buttonBox_clicked</h4> |
|
187 <b>on_buttonBox_clicked</b>(<i>button</i>) |
|
188 <p> |
|
189 Private slot called by a button of the button box clicked. |
|
190 </p><dl> |
|
191 <dt><i>button</i></dt> |
|
192 <dd> |
|
193 button that was clicked (QAbstractButton) |
|
194 </dd> |
|
195 </dl><a NAME="StartDialog.on_dirButton_clicked" ID="StartDialog.on_dirButton_clicked"></a> |
|
196 <h4>StartDialog.on_dirButton_clicked</h4> |
|
197 <b>on_dirButton_clicked</b>(<i></i>) |
|
198 <p> |
|
199 Private method used to open a directory selection dialog. |
|
200 </p><a NAME="StartDialog.on_modFuncCombo_editTextChanged" ID="StartDialog.on_modFuncCombo_editTextChanged"></a> |
|
201 <h4>StartDialog.on_modFuncCombo_editTextChanged</h4> |
|
202 <b>on_modFuncCombo_editTextChanged</b>(<i></i>) |
|
203 <p> |
|
204 Private slot to enable/disable the OK button. |
|
205 </p> |
|
206 <div align="right"><a href="#top">Up</a></div> |
|
207 <hr /> |
|
208 </body></html> |