eric6/Documentation/Source/eric6.Debugger.WatchPointModel.html

changeset 8049
af58c1d47e5e
parent 7989
a21d673a8f99
child 8152
0c740fcffd34
equal deleted inserted replaced
8048:aa1a01274673 8049:af58c1d47e5e
84 <tr> 84 <tr>
85 <td><a href="#WatchPointModel.addWatchPoint">addWatchPoint</a></td> 85 <td><a href="#WatchPointModel.addWatchPoint">addWatchPoint</a></td>
86 <td>Public method to add a new watch expression to the list.</td> 86 <td>Public method to add a new watch expression to the list.</td>
87 </tr> 87 </tr>
88 <tr> 88 <tr>
89 <td><a href="#WatchPointModel.addWatchPoints">addWatchPoints</a></td>
90 <td>Public method to add multiple watch expressions to the list.</td>
91 </tr>
92 <tr>
89 <td><a href="#WatchPointModel.columnCount">columnCount</a></td> 93 <td><a href="#WatchPointModel.columnCount">columnCount</a></td>
90 <td>Public method to get the current column count.</td> 94 <td>Public method to get the current column count.</td>
91 </tr> 95 </tr>
92 <tr> 96 <tr>
93 <td><a href="#WatchPointModel.data">data</a></td> 97 <td><a href="#WatchPointModel.data">data</a></td>
106 <td>Public method to delete a list of watch expressions given by their indexes.</td> 110 <td>Public method to delete a list of watch expressions given by their indexes.</td>
107 </tr> 111 </tr>
108 <tr> 112 <tr>
109 <td><a href="#WatchPointModel.flags">flags</a></td> 113 <td><a href="#WatchPointModel.flags">flags</a></td>
110 <td>Public method to get item flags.</td> 114 <td>Public method to get item flags.</td>
115 </tr>
116 <tr>
117 <td><a href="#WatchPointModel.getAllWatchpoints">getAllWatchpoints</a></td>
118 <td>Public method to get the list of watchpoints.</td>
111 </tr> 119 </tr>
112 <tr> 120 <tr>
113 <td><a href="#WatchPointModel.getWatchPointByIndex">getWatchPointByIndex</a></td> 121 <td><a href="#WatchPointModel.getWatchPointByIndex">getWatchPointByIndex</a></td>
114 <td>Public method to get the values of a watch expression given by index.</td> 122 <td>Public method to get the values of a watch expression given by index.</td>
115 </tr> 123 </tr>
173 <p> 181 <p>
174 Public method to add a new watch expression to the list. 182 Public method to add a new watch expression to the list.
175 </p> 183 </p>
176 <dl> 184 <dl>
177 185
186 <dt><i>cond</i> (str)</dt>
187 <dd>
188 expression of the watch expression
189 </dd>
190 <dt><i>special</i> (str)</dt>
191 <dd>
192 special condition of the watch expression
193 </dd>
194 <dt><i>properties</i> (tuple of (bool, bool, int))</dt>
195 <dd>
196 properties of the watch expression
197 (tuple of temporary flag, enabled flag, ignore count)
198 </dd>
199 </dl>
200 <a NAME="WatchPointModel.addWatchPoints" ID="WatchPointModel.addWatchPoints"></a>
201 <h4>WatchPointModel.addWatchPoints</h4>
202 <b>addWatchPoints</b>(<i>watchpoints</i>)
203
204 <p>
205 Public method to add multiple watch expressions to the list.
206 </p>
207 <dl>
208
209 <dt><i>watchpoints</i> (list of (str, str, bool, bool, int))</dt>
210 <dd>
211 list of watch expressions with expression, special
212 condition, temporary flag, enabled flag and ignore count each
213 </dd>
214 </dl>
215 <a NAME="WatchPointModel.columnCount" ID="WatchPointModel.columnCount"></a>
216 <h4>WatchPointModel.columnCount</h4>
217 <b>columnCount</b>(<i>parent=None</i>)
218
219 <p>
220 Public method to get the current column count.
221 </p>
222 <dl>
223
224 <dt><i>parent</i></dt>
225 <dd>
226 index of the parent item (QModelIndex) (Unused)
227 </dd>
228 </dl>
229 <dl>
230 <dt>Return:</dt>
231 <dd>
232 column count (integer)
233 </dd>
234 </dl>
235 <a NAME="WatchPointModel.data" ID="WatchPointModel.data"></a>
236 <h4>WatchPointModel.data</h4>
237 <b>data</b>(<i>index, role</i>)
238
239 <p>
240 Public method to get the requested data.
241 </p>
242 <dl>
243
244 <dt><i>index</i></dt>
245 <dd>
246 index of the requested data (QModelIndex)
247 </dd>
248 <dt><i>role</i></dt>
249 <dd>
250 role of the requested data (Qt.ItemDataRole)
251 </dd>
252 </dl>
253 <dl>
254 <dt>Return:</dt>
255 <dd>
256 the requested data
257 </dd>
258 </dl>
259 <a NAME="WatchPointModel.deleteAll" ID="WatchPointModel.deleteAll"></a>
260 <h4>WatchPointModel.deleteAll</h4>
261 <b>deleteAll</b>(<i></i>)
262
263 <p>
264 Public method to delete all watch expressions.
265 </p>
266 <a NAME="WatchPointModel.deleteWatchPointByIndex" ID="WatchPointModel.deleteWatchPointByIndex"></a>
267 <h4>WatchPointModel.deleteWatchPointByIndex</h4>
268 <b>deleteWatchPointByIndex</b>(<i>index</i>)
269
270 <p>
271 Public method to set the values of a watch expression given by index.
272 </p>
273 <dl>
274
275 <dt><i>index</i></dt>
276 <dd>
277 index of the watch expression (QModelIndex)
278 </dd>
279 </dl>
280 <a NAME="WatchPointModel.deleteWatchPoints" ID="WatchPointModel.deleteWatchPoints"></a>
281 <h4>WatchPointModel.deleteWatchPoints</h4>
282 <b>deleteWatchPoints</b>(<i>idxList</i>)
283
284 <p>
285 Public method to delete a list of watch expressions given by their
286 indexes.
287 </p>
288 <dl>
289
290 <dt><i>idxList</i></dt>
291 <dd>
292 list of watch expression indexes (list of QModelIndex)
293 </dd>
294 </dl>
295 <a NAME="WatchPointModel.flags" ID="WatchPointModel.flags"></a>
296 <h4>WatchPointModel.flags</h4>
297 <b>flags</b>(<i>index</i>)
298
299 <p>
300 Public method to get item flags.
301 </p>
302 <dl>
303
304 <dt><i>index</i></dt>
305 <dd>
306 index of the requested flags (QModelIndex)
307 </dd>
308 </dl>
309 <dl>
310 <dt>Return:</dt>
311 <dd>
312 item flags for the given index (Qt.ItemFlags)
313 </dd>
314 </dl>
315 <a NAME="WatchPointModel.getAllWatchpoints" ID="WatchPointModel.getAllWatchpoints"></a>
316 <h4>WatchPointModel.getAllWatchpoints</h4>
317 <b>getAllWatchpoints</b>(<i></i>)
318
319 <p>
320 Public method to get the list of watchpoints.
321 </p>
322 <dl>
323 <dt>Return:</dt>
324 <dd>
325 list of watchpoints
326 </dd>
327 </dl>
328 <dl>
329 <dt>Return Type:</dt>
330 <dd>
331 list of list of [str, str, bool, bool, int]
332 </dd>
333 </dl>
334 <a NAME="WatchPointModel.getWatchPointByIndex" ID="WatchPointModel.getWatchPointByIndex"></a>
335 <h4>WatchPointModel.getWatchPointByIndex</h4>
336 <b>getWatchPointByIndex</b>(<i>index</i>)
337
338 <p>
339 Public method to get the values of a watch expression given by index.
340 </p>
341 <dl>
342
343 <dt><i>index</i></dt>
344 <dd>
345 index of the watch expression (QModelIndex)
346 </dd>
347 </dl>
348 <dl>
349 <dt>Return:</dt>
350 <dd>
351 watch expression (list of six values (expression,
352 special condition, temporary flag, enabled flag, ignore count))
353 </dd>
354 </dl>
355 <dl>
356 <dt>Return Type:</dt>
357 <dd>
358 tuple of (str, str, bool, bool, int)
359 </dd>
360 </dl>
361 <a NAME="WatchPointModel.getWatchPointIndex" ID="WatchPointModel.getWatchPointIndex"></a>
362 <h4>WatchPointModel.getWatchPointIndex</h4>
363 <b>getWatchPointIndex</b>(<i>cond, special=""</i>)
364
365 <p>
366 Public method to get the index of a watch expression given by
367 expression.
368 </p>
369 <dl>
370
371 <dt><i>cond</i></dt>
372 <dd>
373 expression of the watch expression (string)
374 </dd>
375 <dt><i>special</i></dt>
376 <dd>
377 special condition of the watch expression (string)
378 </dd>
379 </dl>
380 <dl>
381 <dt>Return:</dt>
382 <dd>
383 index (QModelIndex)
384 </dd>
385 </dl>
386 <a NAME="WatchPointModel.hasChildren" ID="WatchPointModel.hasChildren"></a>
387 <h4>WatchPointModel.hasChildren</h4>
388 <b>hasChildren</b>(<i>parent=None</i>)
389
390 <p>
391 Public method to check for the presence of child items.
392 </p>
393 <dl>
394
395 <dt><i>parent</i></dt>
396 <dd>
397 index of parent item (QModelIndex)
398 </dd>
399 </dl>
400 <dl>
401 <dt>Return:</dt>
402 <dd>
403 flag indicating the presence of child items (boolean)
404 </dd>
405 </dl>
406 <a NAME="WatchPointModel.headerData" ID="WatchPointModel.headerData"></a>
407 <h4>WatchPointModel.headerData</h4>
408 <b>headerData</b>(<i>section, orientation, role=Qt.DisplayRole</i>)
409
410 <p>
411 Public method to get header data.
412 </p>
413 <dl>
414
415 <dt><i>section</i></dt>
416 <dd>
417 section number of the requested header data (integer)
418 </dd>
419 <dt><i>orientation</i></dt>
420 <dd>
421 orientation of the header (Qt.Orientation)
422 </dd>
423 <dt><i>role</i></dt>
424 <dd>
425 role of the requested data (Qt.ItemDataRole)
426 </dd>
427 </dl>
428 <dl>
429 <dt>Return:</dt>
430 <dd>
431 header data
432 </dd>
433 </dl>
434 <a NAME="WatchPointModel.index" ID="WatchPointModel.index"></a>
435 <h4>WatchPointModel.index</h4>
436 <b>index</b>(<i>row, column, parent=None</i>)
437
438 <p>
439 Public method to create an index.
440 </p>
441 <dl>
442
443 <dt><i>row</i></dt>
444 <dd>
445 row number for the index (integer)
446 </dd>
447 <dt><i>column</i></dt>
448 <dd>
449 column number for the index (integer)
450 </dd>
451 <dt><i>parent</i></dt>
452 <dd>
453 index of the parent item (QModelIndex)
454 </dd>
455 </dl>
456 <dl>
457 <dt>Return:</dt>
458 <dd>
459 requested index (QModelIndex)
460 </dd>
461 </dl>
462 <a NAME="WatchPointModel.parent" ID="WatchPointModel.parent"></a>
463 <h4>WatchPointModel.parent</h4>
464 <b>parent</b>(<i>index</i>)
465
466 <p>
467 Public method to get the parent index.
468 </p>
469 <dl>
470
471 <dt><i>index</i></dt>
472 <dd>
473 index of item to get parent (QModelIndex)
474 </dd>
475 </dl>
476 <dl>
477 <dt>Return:</dt>
478 <dd>
479 index of parent (QModelIndex)
480 </dd>
481 </dl>
482 <a NAME="WatchPointModel.rowCount" ID="WatchPointModel.rowCount"></a>
483 <h4>WatchPointModel.rowCount</h4>
484 <b>rowCount</b>(<i>parent=None</i>)
485
486 <p>
487 Public method to get the current row count.
488 </p>
489 <dl>
490
491 <dt><i>parent</i></dt>
492 <dd>
493 index of the parent item (QModelIndex)
494 </dd>
495 </dl>
496 <dl>
497 <dt>Return:</dt>
498 <dd>
499 row count (integer)
500 </dd>
501 </dl>
502 <a NAME="WatchPointModel.setWatchPointByIndex" ID="WatchPointModel.setWatchPointByIndex"></a>
503 <h4>WatchPointModel.setWatchPointByIndex</h4>
504 <b>setWatchPointByIndex</b>(<i>index, cond, special, properties</i>)
505
506 <p>
507 Public method to set the values of a watch expression given by index.
508 </p>
509 <dl>
510
511 <dt><i>index</i></dt>
512 <dd>
513 index of the watch expression (QModelIndex)
514 </dd>
178 <dt><i>cond</i></dt> 515 <dt><i>cond</i></dt>
179 <dd> 516 <dd>
180 expression of the watch expression (string) 517 expression of the watch expression (string)
181 </dd> 518 </dd>
182 <dt><i>special</i></dt> 519 <dt><i>special</i></dt>
188 properties of the watch expression 525 properties of the watch expression
189 (tuple of temporary flag (bool), enabled flag (bool), 526 (tuple of temporary flag (bool), enabled flag (bool),
190 ignore count (integer)) 527 ignore count (integer))
191 </dd> 528 </dd>
192 </dl> 529 </dl>
193 <a NAME="WatchPointModel.columnCount" ID="WatchPointModel.columnCount"></a>
194 <h4>WatchPointModel.columnCount</h4>
195 <b>columnCount</b>(<i>parent=None</i>)
196
197 <p>
198 Public method to get the current column count.
199 </p>
200 <dl>
201
202 <dt><i>parent</i></dt>
203 <dd>
204 index of the parent item (QModelIndex) (Unused)
205 </dd>
206 </dl>
207 <dl>
208 <dt>Return:</dt>
209 <dd>
210 column count (integer)
211 </dd>
212 </dl>
213 <a NAME="WatchPointModel.data" ID="WatchPointModel.data"></a>
214 <h4>WatchPointModel.data</h4>
215 <b>data</b>(<i>index, role</i>)
216
217 <p>
218 Public method to get the requested data.
219 </p>
220 <dl>
221
222 <dt><i>index</i></dt>
223 <dd>
224 index of the requested data (QModelIndex)
225 </dd>
226 <dt><i>role</i></dt>
227 <dd>
228 role of the requested data (Qt.ItemDataRole)
229 </dd>
230 </dl>
231 <dl>
232 <dt>Return:</dt>
233 <dd>
234 the requested data
235 </dd>
236 </dl>
237 <a NAME="WatchPointModel.deleteAll" ID="WatchPointModel.deleteAll"></a>
238 <h4>WatchPointModel.deleteAll</h4>
239 <b>deleteAll</b>(<i></i>)
240
241 <p>
242 Public method to delete all watch expressions.
243 </p>
244 <a NAME="WatchPointModel.deleteWatchPointByIndex" ID="WatchPointModel.deleteWatchPointByIndex"></a>
245 <h4>WatchPointModel.deleteWatchPointByIndex</h4>
246 <b>deleteWatchPointByIndex</b>(<i>index</i>)
247
248 <p>
249 Public method to set the values of a watch expression given by index.
250 </p>
251 <dl>
252
253 <dt><i>index</i></dt>
254 <dd>
255 index of the watch expression (QModelIndex)
256 </dd>
257 </dl>
258 <a NAME="WatchPointModel.deleteWatchPoints" ID="WatchPointModel.deleteWatchPoints"></a>
259 <h4>WatchPointModel.deleteWatchPoints</h4>
260 <b>deleteWatchPoints</b>(<i>idxList</i>)
261
262 <p>
263 Public method to delete a list of watch expressions given by their
264 indexes.
265 </p>
266 <dl>
267
268 <dt><i>idxList</i></dt>
269 <dd>
270 list of watch expression indexes (list of QModelIndex)
271 </dd>
272 </dl>
273 <a NAME="WatchPointModel.flags" ID="WatchPointModel.flags"></a>
274 <h4>WatchPointModel.flags</h4>
275 <b>flags</b>(<i>index</i>)
276
277 <p>
278 Public method to get item flags.
279 </p>
280 <dl>
281
282 <dt><i>index</i></dt>
283 <dd>
284 index of the requested flags (QModelIndex)
285 </dd>
286 </dl>
287 <dl>
288 <dt>Return:</dt>
289 <dd>
290 item flags for the given index (Qt.ItemFlags)
291 </dd>
292 </dl>
293 <a NAME="WatchPointModel.getWatchPointByIndex" ID="WatchPointModel.getWatchPointByIndex"></a>
294 <h4>WatchPointModel.getWatchPointByIndex</h4>
295 <b>getWatchPointByIndex</b>(<i>index</i>)
296
297 <p>
298 Public method to get the values of a watch expression given by index.
299 </p>
300 <dl>
301
302 <dt><i>index</i></dt>
303 <dd>
304 index of the watch expression (QModelIndex)
305 </dd>
306 </dl>
307 <dl>
308 <dt>Return:</dt>
309 <dd>
310 watch expression (list of six values (expression,
311 special condition, temporary flag, enabled flag, ignore count,
312 index))
313 </dd>
314 </dl>
315 <a NAME="WatchPointModel.getWatchPointIndex" ID="WatchPointModel.getWatchPointIndex"></a>
316 <h4>WatchPointModel.getWatchPointIndex</h4>
317 <b>getWatchPointIndex</b>(<i>cond, special=""</i>)
318
319 <p>
320 Public method to get the index of a watch expression given by
321 expression.
322 </p>
323 <dl>
324
325 <dt><i>cond</i></dt>
326 <dd>
327 expression of the watch expression (string)
328 </dd>
329 <dt><i>special</i></dt>
330 <dd>
331 special condition of the watch expression (string)
332 </dd>
333 </dl>
334 <dl>
335 <dt>Return:</dt>
336 <dd>
337 index (QModelIndex)
338 </dd>
339 </dl>
340 <a NAME="WatchPointModel.hasChildren" ID="WatchPointModel.hasChildren"></a>
341 <h4>WatchPointModel.hasChildren</h4>
342 <b>hasChildren</b>(<i>parent=None</i>)
343
344 <p>
345 Public method to check for the presence of child items.
346 </p>
347 <dl>
348
349 <dt><i>parent</i></dt>
350 <dd>
351 index of parent item (QModelIndex)
352 </dd>
353 </dl>
354 <dl>
355 <dt>Return:</dt>
356 <dd>
357 flag indicating the presence of child items (boolean)
358 </dd>
359 </dl>
360 <a NAME="WatchPointModel.headerData" ID="WatchPointModel.headerData"></a>
361 <h4>WatchPointModel.headerData</h4>
362 <b>headerData</b>(<i>section, orientation, role=Qt.DisplayRole</i>)
363
364 <p>
365 Public method to get header data.
366 </p>
367 <dl>
368
369 <dt><i>section</i></dt>
370 <dd>
371 section number of the requested header data (integer)
372 </dd>
373 <dt><i>orientation</i></dt>
374 <dd>
375 orientation of the header (Qt.Orientation)
376 </dd>
377 <dt><i>role</i></dt>
378 <dd>
379 role of the requested data (Qt.ItemDataRole)
380 </dd>
381 </dl>
382 <dl>
383 <dt>Return:</dt>
384 <dd>
385 header data
386 </dd>
387 </dl>
388 <a NAME="WatchPointModel.index" ID="WatchPointModel.index"></a>
389 <h4>WatchPointModel.index</h4>
390 <b>index</b>(<i>row, column, parent=None</i>)
391
392 <p>
393 Public method to create an index.
394 </p>
395 <dl>
396
397 <dt><i>row</i></dt>
398 <dd>
399 row number for the index (integer)
400 </dd>
401 <dt><i>column</i></dt>
402 <dd>
403 column number for the index (integer)
404 </dd>
405 <dt><i>parent</i></dt>
406 <dd>
407 index of the parent item (QModelIndex)
408 </dd>
409 </dl>
410 <dl>
411 <dt>Return:</dt>
412 <dd>
413 requested index (QModelIndex)
414 </dd>
415 </dl>
416 <a NAME="WatchPointModel.parent" ID="WatchPointModel.parent"></a>
417 <h4>WatchPointModel.parent</h4>
418 <b>parent</b>(<i>index</i>)
419
420 <p>
421 Public method to get the parent index.
422 </p>
423 <dl>
424
425 <dt><i>index</i></dt>
426 <dd>
427 index of item to get parent (QModelIndex)
428 </dd>
429 </dl>
430 <dl>
431 <dt>Return:</dt>
432 <dd>
433 index of parent (QModelIndex)
434 </dd>
435 </dl>
436 <a NAME="WatchPointModel.rowCount" ID="WatchPointModel.rowCount"></a>
437 <h4>WatchPointModel.rowCount</h4>
438 <b>rowCount</b>(<i>parent=None</i>)
439
440 <p>
441 Public method to get the current row count.
442 </p>
443 <dl>
444
445 <dt><i>parent</i></dt>
446 <dd>
447 index of the parent item (QModelIndex)
448 </dd>
449 </dl>
450 <dl>
451 <dt>Return:</dt>
452 <dd>
453 row count (integer)
454 </dd>
455 </dl>
456 <a NAME="WatchPointModel.setWatchPointByIndex" ID="WatchPointModel.setWatchPointByIndex"></a>
457 <h4>WatchPointModel.setWatchPointByIndex</h4>
458 <b>setWatchPointByIndex</b>(<i>index, cond, special, properties</i>)
459
460 <p>
461 Public method to set the values of a watch expression given by index.
462 </p>
463 <dl>
464
465 <dt><i>index</i></dt>
466 <dd>
467 index of the watch expression (QModelIndex)
468 </dd>
469 <dt><i>cond</i></dt>
470 <dd>
471 expression of the watch expression (string)
472 </dd>
473 <dt><i>special</i></dt>
474 <dd>
475 special condition of the watch expression (string)
476 </dd>
477 <dt><i>properties</i></dt>
478 <dd>
479 properties of the watch expression
480 (tuple of temporary flag (bool), enabled flag (bool),
481 ignore count (integer))
482 </dd>
483 </dl>
484 <a NAME="WatchPointModel.setWatchPointEnabledByIndex" ID="WatchPointModel.setWatchPointEnabledByIndex"></a> 530 <a NAME="WatchPointModel.setWatchPointEnabledByIndex" ID="WatchPointModel.setWatchPointEnabledByIndex"></a>
485 <h4>WatchPointModel.setWatchPointEnabledByIndex</h4> 531 <h4>WatchPointModel.setWatchPointEnabledByIndex</h4>
486 <b>setWatchPointEnabledByIndex</b>(<i>index, enabled</i>) 532 <b>setWatchPointEnabledByIndex</b>(<i>index, enabled</i>)
487 533
488 <p> 534 <p>

eric ide

mercurial