5 <link rel="stylesheet" href="styles.css"> |
5 <link rel="stylesheet" href="styles.css"> |
6 </head> |
6 </head> |
7 <body> |
7 <body> |
8 <a NAME="top" ID="top"></a> |
8 <a NAME="top" ID="top"></a> |
9 <h1>eric7.Preferences.ConfigurationPages.DebuggerGeneralPage</h1> |
9 <h1>eric7.Preferences.ConfigurationPages.DebuggerGeneralPage</h1> |
10 |
|
11 <p> |
10 <p> |
12 Module implementing the Debugger General configuration page. |
11 Module implementing the Debugger General configuration page. |
13 </p> |
12 </p> |
|
13 |
14 <h3>Global Attributes</h3> |
14 <h3>Global Attributes</h3> |
15 |
15 <table> |
16 <table> |
16 <tr><td>None</td></tr> |
17 <tr><td>None</td></tr> |
17 </table> |
18 </table> |
18 |
19 <h3>Classes</h3> |
19 <h3>Classes</h3> |
20 |
20 <table> |
21 <table> |
|
22 |
|
23 <tr> |
21 <tr> |
24 <td><a href="#DebuggerGeneralPage">DebuggerGeneralPage</a></td> |
22 <td><a href="#DebuggerGeneralPage">DebuggerGeneralPage</a></td> |
25 <td>Class implementing the Debugger General configuration page.</td> |
23 <td>Class implementing the Debugger General configuration page.</td> |
26 </tr> |
24 </tr> |
27 <tr> |
25 <tr> |
28 <td><a href="#PreviewModel">PreviewModel</a></td> |
26 <td><a href="#PreviewModel">PreviewModel</a></td> |
29 <td>Class to show an example of the selected background colours for the debug viewer.</td> |
27 <td>Class to show an example of the selected background colours for the debug viewer.</td> |
30 </tr> |
28 </tr> |
31 </table> |
29 </table> |
|
30 |
32 <h3>Functions</h3> |
31 <h3>Functions</h3> |
33 |
32 <table> |
34 <table> |
|
35 |
|
36 <tr> |
33 <tr> |
37 <td><a href="#create">create</a></td> |
34 <td><a href="#create">create</a></td> |
38 <td>Module function to create the configuration page.</td> |
35 <td>Module function to create the configuration page.</td> |
39 </tr> |
36 </tr> |
40 </table> |
37 </table> |
|
38 |
41 <hr /> |
39 <hr /> |
42 <hr /> |
40 <hr /> |
43 <a NAME="DebuggerGeneralPage" ID="DebuggerGeneralPage"></a> |
41 <a NAME="DebuggerGeneralPage" ID="DebuggerGeneralPage"></a> |
44 <h2>DebuggerGeneralPage</h2> |
42 <h2>DebuggerGeneralPage</h2> |
45 |
|
46 <p> |
43 <p> |
47 Class implementing the Debugger General configuration page. |
44 Class implementing the Debugger General configuration page. |
48 </p> |
45 </p> |
|
46 |
49 <h3>Derived from</h3> |
47 <h3>Derived from</h3> |
50 ConfigurationPageBase, Ui_DebuggerGeneralPage |
48 ConfigurationPageBase, Ui_DebuggerGeneralPage |
51 <h3>Class Attributes</h3> |
49 <h3>Class Attributes</h3> |
52 |
50 <table> |
53 <table> |
51 <tr><td>None</td></tr> |
54 <tr><td>None</td></tr> |
52 </table> |
55 </table> |
53 |
56 <h3>Class Methods</h3> |
54 <h3>Class Methods</h3> |
57 |
55 <table> |
58 <table> |
56 <tr><td>None</td></tr> |
59 <tr><td>None</td></tr> |
57 </table> |
60 </table> |
58 |
61 <h3>Methods</h3> |
59 <h3>Methods</h3> |
62 |
60 <table> |
63 <table> |
|
64 |
|
65 <tr> |
61 <tr> |
66 <td><a href="#DebuggerGeneralPage.__init__">DebuggerGeneralPage</a></td> |
62 <td><a href="#DebuggerGeneralPage.__init__">DebuggerGeneralPage</a></td> |
67 <td>Constructor</td> |
63 <td>Constructor</td> |
68 </tr> |
64 </tr> |
69 <tr> |
65 <tr> |
89 <tr> |
85 <tr> |
90 <td><a href="#DebuggerGeneralPage.save">save</a></td> |
86 <td><a href="#DebuggerGeneralPage.save">save</a></td> |
91 <td>Public slot to save the Debugger General (1) configuration.</td> |
87 <td>Public slot to save the Debugger General (1) configuration.</td> |
92 </tr> |
88 </tr> |
93 </table> |
89 </table> |
|
90 |
94 <h3>Static Methods</h3> |
91 <h3>Static Methods</h3> |
95 |
92 <table> |
96 <table> |
93 <tr><td>None</td></tr> |
97 <tr><td>None</td></tr> |
94 </table> |
98 </table> |
95 |
99 |
96 |
100 <a NAME="DebuggerGeneralPage.__init__" ID="DebuggerGeneralPage.__init__"></a> |
97 <a NAME="DebuggerGeneralPage.__init__" ID="DebuggerGeneralPage.__init__"></a> |
101 <h4>DebuggerGeneralPage (Constructor)</h4> |
98 <h4>DebuggerGeneralPage (Constructor)</h4> |
102 <b>DebuggerGeneralPage</b>(<i></i>) |
99 <b>DebuggerGeneralPage</b>(<i></i>) |
103 |
|
104 <p> |
100 <p> |
105 Constructor |
101 Constructor |
106 </p> |
102 </p> |
|
103 |
107 <a NAME="DebuggerGeneralPage.on_addAllowedHostButton_clicked" ID="DebuggerGeneralPage.on_addAllowedHostButton_clicked"></a> |
104 <a NAME="DebuggerGeneralPage.on_addAllowedHostButton_clicked" ID="DebuggerGeneralPage.on_addAllowedHostButton_clicked"></a> |
108 <h4>DebuggerGeneralPage.on_addAllowedHostButton_clicked</h4> |
105 <h4>DebuggerGeneralPage.on_addAllowedHostButton_clicked</h4> |
109 <b>on_addAllowedHostButton_clicked</b>(<i></i>) |
106 <b>on_addAllowedHostButton_clicked</b>(<i></i>) |
110 |
|
111 <p> |
107 <p> |
112 Private slot called to add a new allowed host. |
108 Private slot called to add a new allowed host. |
113 </p> |
109 </p> |
|
110 |
114 <a NAME="DebuggerGeneralPage.on_allowedHostsList_currentItemChanged" ID="DebuggerGeneralPage.on_allowedHostsList_currentItemChanged"></a> |
111 <a NAME="DebuggerGeneralPage.on_allowedHostsList_currentItemChanged" ID="DebuggerGeneralPage.on_allowedHostsList_currentItemChanged"></a> |
115 <h4>DebuggerGeneralPage.on_allowedHostsList_currentItemChanged</h4> |
112 <h4>DebuggerGeneralPage.on_allowedHostsList_currentItemChanged</h4> |
116 <b>on_allowedHostsList_currentItemChanged</b>(<i>current, previous</i>) |
113 <b>on_allowedHostsList_currentItemChanged</b>(<i>current, previous</i>) |
117 |
|
118 <p> |
114 <p> |
119 Private method to set the state of the edit and delete button. |
115 Private method to set the state of the edit and delete button. |
120 </p> |
116 </p> |
|
117 |
121 <dl> |
118 <dl> |
122 |
119 |
123 <dt><i>current</i> (QListWidgetItem)</dt> |
120 <dt><i>current</i> (QListWidgetItem)</dt> |
124 <dd> |
121 <dd> |
125 new current item |
122 new current item |
130 </dd> |
127 </dd> |
131 </dl> |
128 </dl> |
132 <a NAME="DebuggerGeneralPage.on_deleteAllowedHostButton_clicked" ID="DebuggerGeneralPage.on_deleteAllowedHostButton_clicked"></a> |
129 <a NAME="DebuggerGeneralPage.on_deleteAllowedHostButton_clicked" ID="DebuggerGeneralPage.on_deleteAllowedHostButton_clicked"></a> |
133 <h4>DebuggerGeneralPage.on_deleteAllowedHostButton_clicked</h4> |
130 <h4>DebuggerGeneralPage.on_deleteAllowedHostButton_clicked</h4> |
134 <b>on_deleteAllowedHostButton_clicked</b>(<i></i>) |
131 <b>on_deleteAllowedHostButton_clicked</b>(<i></i>) |
135 |
|
136 <p> |
132 <p> |
137 Private slot called to delete an allowed host. |
133 Private slot called to delete an allowed host. |
138 </p> |
134 </p> |
|
135 |
139 <a NAME="DebuggerGeneralPage.on_editAllowedHostButton_clicked" ID="DebuggerGeneralPage.on_editAllowedHostButton_clicked"></a> |
136 <a NAME="DebuggerGeneralPage.on_editAllowedHostButton_clicked" ID="DebuggerGeneralPage.on_editAllowedHostButton_clicked"></a> |
140 <h4>DebuggerGeneralPage.on_editAllowedHostButton_clicked</h4> |
137 <h4>DebuggerGeneralPage.on_editAllowedHostButton_clicked</h4> |
141 <b>on_editAllowedHostButton_clicked</b>(<i></i>) |
138 <b>on_editAllowedHostButton_clicked</b>(<i></i>) |
142 |
|
143 <p> |
139 <p> |
144 Private slot called to edit an allowed host. |
140 Private slot called to edit an allowed host. |
145 </p> |
141 </p> |
|
142 |
146 <a NAME="DebuggerGeneralPage.on_interfaceSelectorComboBox_currentIndexChanged" ID="DebuggerGeneralPage.on_interfaceSelectorComboBox_currentIndexChanged"></a> |
143 <a NAME="DebuggerGeneralPage.on_interfaceSelectorComboBox_currentIndexChanged" ID="DebuggerGeneralPage.on_interfaceSelectorComboBox_currentIndexChanged"></a> |
147 <h4>DebuggerGeneralPage.on_interfaceSelectorComboBox_currentIndexChanged</h4> |
144 <h4>DebuggerGeneralPage.on_interfaceSelectorComboBox_currentIndexChanged</h4> |
148 <b>on_interfaceSelectorComboBox_currentIndexChanged</b>(<i>index</i>) |
145 <b>on_interfaceSelectorComboBox_currentIndexChanged</b>(<i>index</i>) |
149 |
|
150 <p> |
146 <p> |
151 Private slot to handle the selection of a network interface type. |
147 Private slot to handle the selection of a network interface type. |
152 </p> |
148 </p> |
|
149 |
153 <dl> |
150 <dl> |
154 |
151 |
155 <dt><i>index</i> (int)</dt> |
152 <dt><i>index</i> (int)</dt> |
156 <dd> |
153 <dd> |
157 index of the selected entry |
154 index of the selected entry |
158 </dd> |
155 </dd> |
159 </dl> |
156 </dl> |
160 <a NAME="DebuggerGeneralPage.save" ID="DebuggerGeneralPage.save"></a> |
157 <a NAME="DebuggerGeneralPage.save" ID="DebuggerGeneralPage.save"></a> |
161 <h4>DebuggerGeneralPage.save</h4> |
158 <h4>DebuggerGeneralPage.save</h4> |
162 <b>save</b>(<i></i>) |
159 <b>save</b>(<i></i>) |
163 |
|
164 <p> |
160 <p> |
165 Public slot to save the Debugger General (1) configuration. |
161 Public slot to save the Debugger General (1) configuration. |
166 </p> |
162 </p> |
|
163 |
167 <div align="right"><a href="#top">Up</a></div> |
164 <div align="right"><a href="#top">Up</a></div> |
168 <hr /> |
165 <hr /> |
169 <hr /> |
166 <hr /> |
170 <a NAME="PreviewModel" ID="PreviewModel"></a> |
167 <a NAME="PreviewModel" ID="PreviewModel"></a> |
171 <h2>PreviewModel</h2> |
168 <h2>PreviewModel</h2> |
172 |
|
173 <p> |
169 <p> |
174 Class to show an example of the selected background colours for the debug |
170 Class to show an example of the selected background colours for the debug |
175 viewer. |
171 viewer. |
176 </p> |
172 </p> |
|
173 |
177 <h3>Derived from</h3> |
174 <h3>Derived from</h3> |
178 QAbstractItemModel |
175 QAbstractItemModel |
179 <h3>Class Attributes</h3> |
176 <h3>Class Attributes</h3> |
180 |
177 <table> |
181 <table> |
178 <tr><td>None</td></tr> |
182 <tr><td>None</td></tr> |
179 </table> |
183 </table> |
180 |
184 <h3>Class Methods</h3> |
181 <h3>Class Methods</h3> |
185 |
182 <table> |
186 <table> |
183 <tr><td>None</td></tr> |
187 <tr><td>None</td></tr> |
184 </table> |
188 </table> |
185 |
189 <h3>Methods</h3> |
186 <h3>Methods</h3> |
190 |
187 <table> |
191 <table> |
|
192 |
|
193 <tr> |
188 <tr> |
194 <td><a href="#PreviewModel.__init__">PreviewModel</a></td> |
189 <td><a href="#PreviewModel.__init__">PreviewModel</a></td> |
195 <td>Constructor</td> |
190 <td>Constructor</td> |
196 </tr> |
191 </tr> |
197 <tr> |
192 <tr> |
221 <tr> |
216 <tr> |
222 <td><a href="#PreviewModel.setColor">setColor</a></td> |
217 <td><a href="#PreviewModel.setColor">setColor</a></td> |
223 <td>Public slot to update the background colour indexed by key.</td> |
218 <td>Public slot to update the background colour indexed by key.</td> |
224 </tr> |
219 </tr> |
225 </table> |
220 </table> |
|
221 |
226 <h3>Static Methods</h3> |
222 <h3>Static Methods</h3> |
227 |
223 <table> |
228 <table> |
224 <tr><td>None</td></tr> |
229 <tr><td>None</td></tr> |
225 </table> |
230 </table> |
226 |
231 |
227 |
232 <a NAME="PreviewModel.__init__" ID="PreviewModel.__init__"></a> |
228 <a NAME="PreviewModel.__init__" ID="PreviewModel.__init__"></a> |
233 <h4>PreviewModel (Constructor)</h4> |
229 <h4>PreviewModel (Constructor)</h4> |
234 <b>PreviewModel</b>(<i></i>) |
230 <b>PreviewModel</b>(<i></i>) |
235 |
|
236 <p> |
231 <p> |
237 Constructor |
232 Constructor |
238 </p> |
233 </p> |
|
234 |
239 <a NAME="PreviewModel.columnCount" ID="PreviewModel.columnCount"></a> |
235 <a NAME="PreviewModel.columnCount" ID="PreviewModel.columnCount"></a> |
240 <h4>PreviewModel.columnCount</h4> |
236 <h4>PreviewModel.columnCount</h4> |
241 <b>columnCount</b>(<i>parent=QModelIndex()</i>) |
237 <b>columnCount</b>(<i>parent=QModelIndex()</i>) |
242 |
|
243 <p> |
238 <p> |
244 Public Qt slot to get the column count. |
239 Public Qt slot to get the column count. |
245 </p> |
240 </p> |
|
241 |
246 <dl> |
242 <dl> |
247 |
243 |
248 <dt><i>parent</i> (QModelIndex)</dt> |
244 <dt><i>parent</i> (QModelIndex)</dt> |
249 <dd> |
245 <dd> |
250 the model parent |
246 the model parent |
319 </dd> |
315 </dd> |
320 </dl> |
316 </dl> |
321 <a NAME="PreviewModel.index" ID="PreviewModel.index"></a> |
317 <a NAME="PreviewModel.index" ID="PreviewModel.index"></a> |
322 <h4>PreviewModel.index</h4> |
318 <h4>PreviewModel.index</h4> |
323 <b>index</b>(<i>row, column, parent=QModelIndex()</i>) |
319 <b>index</b>(<i>row, column, parent=QModelIndex()</i>) |
324 |
|
325 <p> |
320 <p> |
326 Public Qt slot to get the index of item at row:column of parent. |
321 Public Qt slot to get the index of item at row:column of parent. |
327 </p> |
322 </p> |
|
323 |
328 <dl> |
324 <dl> |
329 |
325 |
330 <dt><i>row</i> (int)</dt> |
326 <dt><i>row</i> (int)</dt> |
331 <dd> |
327 <dd> |
332 number of rows |
328 number of rows |
405 </dd> |
401 </dd> |
406 </dl> |
402 </dl> |
407 <a NAME="PreviewModel.setColor" ID="PreviewModel.setColor"></a> |
403 <a NAME="PreviewModel.setColor" ID="PreviewModel.setColor"></a> |
408 <h4>PreviewModel.setColor</h4> |
404 <h4>PreviewModel.setColor</h4> |
409 <b>setColor</b>(<i>key, bgcolour</i>) |
405 <b>setColor</b>(<i>key, bgcolour</i>) |
410 |
|
411 <p> |
406 <p> |
412 Public slot to update the background colour indexed by key. |
407 Public slot to update the background colour indexed by key. |
413 </p> |
408 </p> |
|
409 |
414 <dl> |
410 <dl> |
415 |
411 |
416 <dt><i>key</i> (str)</dt> |
412 <dt><i>key</i> (str)</dt> |
417 <dd> |
413 <dd> |
418 the name of background |
414 the name of background |