src/eric7/Documentation/Source/eric7.Debugger.WatchPointModel.html

branch
eric7
changeset 10417
c6011e501282
parent 10259
b51dfacef37f
child 10479
856476537696
equal deleted inserted replaced
10416:5d807e997391 10417:c6011e501282
153 <p> 153 <p>
154 Constructor 154 Constructor
155 </p> 155 </p>
156 <dl> 156 <dl>
157 157
158 <dt><i>parent</i></dt> 158 <dt><i>parent</i> (QObject)</dt>
159 <dd> 159 <dd>
160 reference to the parent widget (QObject) 160 reference to the parent object
161 </dd> 161 </dd>
162 </dl> 162 </dl>
163 <a NAME="WatchPointModel.addWatchPoint" ID="WatchPointModel.addWatchPoint"></a> 163 <a NAME="WatchPointModel.addWatchPoint" ID="WatchPointModel.addWatchPoint"></a>
164 <h4>WatchPointModel.addWatchPoint</h4> 164 <h4>WatchPointModel.addWatchPoint</h4>
165 <b>addWatchPoint</b>(<i>cond, special, properties</i>) 165 <b>addWatchPoint</b>(<i>cond, special, properties</i>)
205 <p> 205 <p>
206 Public method to get the current column count. 206 Public method to get the current column count.
207 </p> 207 </p>
208 <dl> 208 <dl>
209 209
210 <dt><i>parent</i></dt> 210 <dt><i>parent</i> (QModelIndex)</dt>
211 <dd> 211 <dd>
212 index of the parent item (QModelIndex) (Unused) 212 index of the parent item (unused)
213 </dd> 213 </dd>
214 </dl> 214 </dl>
215 <dl> 215 <dl>
216 <dt>Return:</dt> 216 <dt>Return:</dt>
217 <dd> 217 <dd>
218 column count (integer) 218 column count
219 </dd>
220 </dl>
221 <dl>
222 <dt>Return Type:</dt>
223 <dd>
224 int
219 </dd> 225 </dd>
220 </dl> 226 </dl>
221 <a NAME="WatchPointModel.data" ID="WatchPointModel.data"></a> 227 <a NAME="WatchPointModel.data" ID="WatchPointModel.data"></a>
222 <h4>WatchPointModel.data</h4> 228 <h4>WatchPointModel.data</h4>
223 <b>data</b>(<i>index, role</i>) 229 <b>data</b>(<i>index, role</i>)
225 <p> 231 <p>
226 Public method to get the requested data. 232 Public method to get the requested data.
227 </p> 233 </p>
228 <dl> 234 <dl>
229 235
230 <dt><i>index</i></dt> 236 <dt><i>index</i> (QModelIndex)</dt>
231 <dd> 237 <dd>
232 index of the requested data (QModelIndex) 238 index of the requested data
233 </dd> 239 </dd>
234 <dt><i>role</i></dt> 240 <dt><i>role</i> (Qt.ItemDataRole)</dt>
235 <dd> 241 <dd>
236 role of the requested data (Qt.ItemDataRole) 242 role of the requested data
237 </dd> 243 </dd>
238 </dl> 244 </dl>
239 <dl> 245 <dl>
240 <dt>Return:</dt> 246 <dt>Return:</dt>
241 <dd> 247 <dd>
242 the requested data 248 the requested data
249 </dd>
250 </dl>
251 <dl>
252 <dt>Return Type:</dt>
253 <dd>
254 Any
243 </dd> 255 </dd>
244 </dl> 256 </dl>
245 <a NAME="WatchPointModel.deleteAll" ID="WatchPointModel.deleteAll"></a> 257 <a NAME="WatchPointModel.deleteAll" ID="WatchPointModel.deleteAll"></a>
246 <h4>WatchPointModel.deleteAll</h4> 258 <h4>WatchPointModel.deleteAll</h4>
247 <b>deleteAll</b>(<i></i>) 259 <b>deleteAll</b>(<i></i>)
256 <p> 268 <p>
257 Public method to set the values of a watch expression given by index. 269 Public method to set the values of a watch expression given by index.
258 </p> 270 </p>
259 <dl> 271 <dl>
260 272
261 <dt><i>index</i></dt> 273 <dt><i>index</i> (QModelIndex)</dt>
262 <dd> 274 <dd>
263 index of the watch expression (QModelIndex) 275 index of the watch expression
264 </dd> 276 </dd>
265 </dl> 277 </dl>
266 <a NAME="WatchPointModel.deleteWatchPoints" ID="WatchPointModel.deleteWatchPoints"></a> 278 <a NAME="WatchPointModel.deleteWatchPoints" ID="WatchPointModel.deleteWatchPoints"></a>
267 <h4>WatchPointModel.deleteWatchPoints</h4> 279 <h4>WatchPointModel.deleteWatchPoints</h4>
268 <b>deleteWatchPoints</b>(<i>idxList</i>) 280 <b>deleteWatchPoints</b>(<i>idxList</i>)
271 Public method to delete a list of watch expressions given by their 283 Public method to delete a list of watch expressions given by their
272 indexes. 284 indexes.
273 </p> 285 </p>
274 <dl> 286 <dl>
275 287
276 <dt><i>idxList</i></dt> 288 <dt><i>idxList</i> (list of QModelIndex)</dt>
277 <dd> 289 <dd>
278 list of watch expression indexes (list of QModelIndex) 290 list of watch expression indexes
279 </dd> 291 </dd>
280 </dl> 292 </dl>
281 <a NAME="WatchPointModel.flags" ID="WatchPointModel.flags"></a> 293 <a NAME="WatchPointModel.flags" ID="WatchPointModel.flags"></a>
282 <h4>WatchPointModel.flags</h4> 294 <h4>WatchPointModel.flags</h4>
283 <b>flags</b>(<i>index</i>) 295 <b>flags</b>(<i>index</i>)
285 <p> 297 <p>
286 Public method to get item flags. 298 Public method to get item flags.
287 </p> 299 </p>
288 <dl> 300 <dl>
289 301
290 <dt><i>index</i></dt> 302 <dt><i>index</i> (QModelIndex)</dt>
291 <dd> 303 <dd>
292 index of the requested flags (QModelIndex) 304 index of the requested flags
293 </dd> 305 </dd>
294 </dl> 306 </dl>
295 <dl> 307 <dl>
296 <dt>Return:</dt> 308 <dt>Return:</dt>
297 <dd> 309 <dd>
298 item flags for the given index (Qt.ItemFlags) 310 item flags for the given index
311 </dd>
312 </dl>
313 <dl>
314 <dt>Return Type:</dt>
315 <dd>
316 Qt.ItemFlags
299 </dd> 317 </dd>
300 </dl> 318 </dl>
301 <a NAME="WatchPointModel.getAllWatchpoints" ID="WatchPointModel.getAllWatchpoints"></a> 319 <a NAME="WatchPointModel.getAllWatchpoints" ID="WatchPointModel.getAllWatchpoints"></a>
302 <h4>WatchPointModel.getAllWatchpoints</h4> 320 <h4>WatchPointModel.getAllWatchpoints</h4>
303 <b>getAllWatchpoints</b>(<i></i>) 321 <b>getAllWatchpoints</b>(<i></i>)
324 <p> 342 <p>
325 Public method to get the values of a watch expression given by index. 343 Public method to get the values of a watch expression given by index.
326 </p> 344 </p>
327 <dl> 345 <dl>
328 346
329 <dt><i>index</i></dt> 347 <dt><i>index</i> (QModelIndex)</dt>
330 <dd> 348 <dd>
331 index of the watch expression (QModelIndex) 349 index of the watch expression
332 </dd> 350 </dd>
333 </dl> 351 </dl>
334 <dl> 352 <dl>
335 <dt>Return:</dt> 353 <dt>Return:</dt>
336 <dd> 354 <dd>
337 watch expression (list of six values (expression, 355 watch expression (tuple containing expression, special condition,
338 special condition, temporary flag, enabled flag, ignore count)) 356 temporary flag, enabled flag, ignore count)
339 </dd> 357 </dd>
340 </dl> 358 </dl>
341 <dl> 359 <dl>
342 <dt>Return Type:</dt> 360 <dt>Return Type:</dt>
343 <dd> 361 <dd>
352 Public method to get the index of a watch expression given by 370 Public method to get the index of a watch expression given by
353 expression. 371 expression.
354 </p> 372 </p>
355 <dl> 373 <dl>
356 374
357 <dt><i>cond</i></dt> 375 <dt><i>cond</i> (str)</dt>
358 <dd> 376 <dd>
359 expression of the watch expression (string) 377 expression of the watch expression
360 </dd> 378 </dd>
361 <dt><i>special</i></dt> 379 <dt><i>special</i> (str)</dt>
362 <dd> 380 <dd>
363 special condition of the watch expression (string) 381 special condition of the watch expression
364 </dd> 382 </dd>
365 </dl> 383 </dl>
366 <dl> 384 <dl>
367 <dt>Return:</dt> 385 <dt>Return:</dt>
368 <dd> 386 <dd>
369 index (QModelIndex) 387 index
388 </dd>
389 </dl>
390 <dl>
391 <dt>Return Type:</dt>
392 <dd>
393 QModelIndex
370 </dd> 394 </dd>
371 </dl> 395 </dl>
372 <a NAME="WatchPointModel.hasChildren" ID="WatchPointModel.hasChildren"></a> 396 <a NAME="WatchPointModel.hasChildren" ID="WatchPointModel.hasChildren"></a>
373 <h4>WatchPointModel.hasChildren</h4> 397 <h4>WatchPointModel.hasChildren</h4>
374 <b>hasChildren</b>(<i>parent=None</i>) 398 <b>hasChildren</b>(<i>parent=None</i>)
376 <p> 400 <p>
377 Public method to check for the presence of child items. 401 Public method to check for the presence of child items.
378 </p> 402 </p>
379 <dl> 403 <dl>
380 404
381 <dt><i>parent</i></dt> 405 <dt><i>parent</i> (QModelIndex)</dt>
382 <dd> 406 <dd>
383 index of parent item (QModelIndex) 407 index of parent item
384 </dd> 408 </dd>
385 </dl> 409 </dl>
386 <dl> 410 <dl>
387 <dt>Return:</dt> 411 <dt>Return:</dt>
388 <dd> 412 <dd>
389 flag indicating the presence of child items (boolean) 413 flag indicating the presence of child items
414 </dd>
415 </dl>
416 <dl>
417 <dt>Return Type:</dt>
418 <dd>
419 bool
390 </dd> 420 </dd>
391 </dl> 421 </dl>
392 <a NAME="WatchPointModel.headerData" ID="WatchPointModel.headerData"></a> 422 <a NAME="WatchPointModel.headerData" ID="WatchPointModel.headerData"></a>
393 <h4>WatchPointModel.headerData</h4> 423 <h4>WatchPointModel.headerData</h4>
394 <b>headerData</b>(<i>section, orientation, role=Qt.ItemDataRole.DisplayRole</i>) 424 <b>headerData</b>(<i>section, orientation, role=Qt.ItemDataRole.DisplayRole</i>)
396 <p> 426 <p>
397 Public method to get header data. 427 Public method to get header data.
398 </p> 428 </p>
399 <dl> 429 <dl>
400 430
401 <dt><i>section</i></dt> 431 <dt><i>section</i> (int)</dt>
402 <dd> 432 <dd>
403 section number of the requested header data (integer) 433 section number of the requested header data
404 </dd> 434 </dd>
405 <dt><i>orientation</i></dt> 435 <dt><i>orientation</i> (Qt.Orientation)</dt>
406 <dd> 436 <dd>
407 orientation of the header (Qt.Orientation) 437 orientation of the header
408 </dd> 438 </dd>
409 <dt><i>role</i></dt> 439 <dt><i>role</i> (Qt.ItemDataRole)</dt>
410 <dd> 440 <dd>
411 role of the requested data (Qt.ItemDataRole) 441 role of the requested data
412 </dd> 442 </dd>
413 </dl> 443 </dl>
414 <dl> 444 <dl>
415 <dt>Return:</dt> 445 <dt>Return:</dt>
416 <dd> 446 <dd>
417 header data 447 header data
448 </dd>
449 </dl>
450 <dl>
451 <dt>Return Type:</dt>
452 <dd>
453 Any
418 </dd> 454 </dd>
419 </dl> 455 </dl>
420 <a NAME="WatchPointModel.index" ID="WatchPointModel.index"></a> 456 <a NAME="WatchPointModel.index" ID="WatchPointModel.index"></a>
421 <h4>WatchPointModel.index</h4> 457 <h4>WatchPointModel.index</h4>
422 <b>index</b>(<i>row, column, parent=None</i>) 458 <b>index</b>(<i>row, column, parent=None</i>)
424 <p> 460 <p>
425 Public method to create an index. 461 Public method to create an index.
426 </p> 462 </p>
427 <dl> 463 <dl>
428 464
429 <dt><i>row</i></dt> 465 <dt><i>row</i> (int)</dt>
430 <dd> 466 <dd>
431 row number for the index (integer) 467 row number for the index
432 </dd> 468 </dd>
433 <dt><i>column</i></dt> 469 <dt><i>column</i> (int)</dt>
434 <dd> 470 <dd>
435 column number for the index (integer) 471 column number for the index
436 </dd> 472 </dd>
437 <dt><i>parent</i></dt> 473 <dt><i>parent</i> (QModelIndex)</dt>
438 <dd> 474 <dd>
439 index of the parent item (QModelIndex) 475 index of the parent item
440 </dd> 476 </dd>
441 </dl> 477 </dl>
442 <dl> 478 <dl>
443 <dt>Return:</dt> 479 <dt>Return:</dt>
444 <dd> 480 <dd>
445 requested index (QModelIndex) 481 requested index
482 </dd>
483 </dl>
484 <dl>
485 <dt>Return Type:</dt>
486 <dd>
487 QModelIndex
446 </dd> 488 </dd>
447 </dl> 489 </dl>
448 <a NAME="WatchPointModel.parent" ID="WatchPointModel.parent"></a> 490 <a NAME="WatchPointModel.parent" ID="WatchPointModel.parent"></a>
449 <h4>WatchPointModel.parent</h4> 491 <h4>WatchPointModel.parent</h4>
450 <b>parent</b>(<i>index</i>) 492 <b>parent</b>(<i>index</i>)
452 <p> 494 <p>
453 Public method to get the parent index. 495 Public method to get the parent index.
454 </p> 496 </p>
455 <dl> 497 <dl>
456 498
457 <dt><i>index</i></dt> 499 <dt><i>index</i> (QModelIndex)</dt>
458 <dd> 500 <dd>
459 index of item to get parent (QModelIndex) 501 index of item to get parent
460 </dd> 502 </dd>
461 </dl> 503 </dl>
462 <dl> 504 <dl>
463 <dt>Return:</dt> 505 <dt>Return:</dt>
464 <dd> 506 <dd>
465 index of parent (QModelIndex) 507 index of parent
508 </dd>
509 </dl>
510 <dl>
511 <dt>Return Type:</dt>
512 <dd>
513 QModelIndex
466 </dd> 514 </dd>
467 </dl> 515 </dl>
468 <a NAME="WatchPointModel.rowCount" ID="WatchPointModel.rowCount"></a> 516 <a NAME="WatchPointModel.rowCount" ID="WatchPointModel.rowCount"></a>
469 <h4>WatchPointModel.rowCount</h4> 517 <h4>WatchPointModel.rowCount</h4>
470 <b>rowCount</b>(<i>parent=None</i>) 518 <b>rowCount</b>(<i>parent=None</i>)
472 <p> 520 <p>
473 Public method to get the current row count. 521 Public method to get the current row count.
474 </p> 522 </p>
475 <dl> 523 <dl>
476 524
477 <dt><i>parent</i></dt> 525 <dt><i>parent</i> (QModelIndex)</dt>
478 <dd> 526 <dd>
479 index of the parent item (QModelIndex) 527 index of the parent item
480 </dd> 528 </dd>
481 </dl> 529 </dl>
482 <dl> 530 <dl>
483 <dt>Return:</dt> 531 <dt>Return:</dt>
484 <dd> 532 <dd>
485 row count (integer) 533 row count
534 </dd>
535 </dl>
536 <dl>
537 <dt>Return Type:</dt>
538 <dd>
539 int
486 </dd> 540 </dd>
487 </dl> 541 </dl>
488 <a NAME="WatchPointModel.setWatchPointByIndex" ID="WatchPointModel.setWatchPointByIndex"></a> 542 <a NAME="WatchPointModel.setWatchPointByIndex" ID="WatchPointModel.setWatchPointByIndex"></a>
489 <h4>WatchPointModel.setWatchPointByIndex</h4> 543 <h4>WatchPointModel.setWatchPointByIndex</h4>
490 <b>setWatchPointByIndex</b>(<i>index, cond, special, properties</i>) 544 <b>setWatchPointByIndex</b>(<i>index, cond, special, properties</i>)
492 <p> 546 <p>
493 Public method to set the values of a watch expression given by index. 547 Public method to set the values of a watch expression given by index.
494 </p> 548 </p>
495 <dl> 549 <dl>
496 550
497 <dt><i>index</i></dt> 551 <dt><i>index</i> (QModelIndex)</dt>
498 <dd> 552 <dd>
499 index of the watch expression (QModelIndex) 553 index of the watch expression
500 </dd> 554 </dd>
501 <dt><i>cond</i></dt> 555 <dt><i>cond</i> (str)</dt>
502 <dd> 556 <dd>
503 expression of the watch expression (string) 557 expression of the watch expression
504 </dd> 558 </dd>
505 <dt><i>special</i></dt> 559 <dt><i>special</i> (str)</dt>
506 <dd> 560 <dd>
507 special condition of the watch expression (string) 561 special condition of the watch expression
508 </dd> 562 </dd>
509 <dt><i>properties</i></dt> 563 <dt><i>properties</i> (tuple of (bool, bool, int))</dt>
510 <dd> 564 <dd>
511 properties of the watch expression 565 properties of the watch expression
512 (tuple of temporary flag (bool), enabled flag (bool), 566 (tuple of temporary flag, enabled flag, ignore count)
513 ignore count (integer))
514 </dd> 567 </dd>
515 </dl> 568 </dl>
516 <a NAME="WatchPointModel.setWatchPointEnabledByIndex" ID="WatchPointModel.setWatchPointEnabledByIndex"></a> 569 <a NAME="WatchPointModel.setWatchPointEnabledByIndex" ID="WatchPointModel.setWatchPointEnabledByIndex"></a>
517 <h4>WatchPointModel.setWatchPointEnabledByIndex</h4> 570 <h4>WatchPointModel.setWatchPointEnabledByIndex</h4>
518 <b>setWatchPointEnabledByIndex</b>(<i>index, enabled</i>) 571 <b>setWatchPointEnabledByIndex</b>(<i>index, enabled</i>)
521 Public method to set the enabled state of a watch expression given by 574 Public method to set the enabled state of a watch expression given by
522 index. 575 index.
523 </p> 576 </p>
524 <dl> 577 <dl>
525 578
526 <dt><i>index</i></dt> 579 <dt><i>index</i> (QModelIndex)</dt>
527 <dd> 580 <dd>
528 index of the watch expression (QModelIndex) 581 index of the watch expression
529 </dd> 582 </dd>
530 <dt><i>enabled</i></dt> 583 <dt><i>enabled</i> (bool)</dt>
531 <dd> 584 <dd>
532 flag giving the enabled state (boolean) 585 flag giving the enabled state
533 </dd> 586 </dd>
534 </dl> 587 </dl>
535 <div align="right"><a href="#top">Up</a></div> 588 <div align="right"><a href="#top">Up</a></div>
536 <hr /> 589 <hr />
537 </body></html> 590 </body></html>

eric ide

mercurial