Documentation/Source/eric4.Debugger.StartDialog.html

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

eric ide

mercurial