21 Breakpoints will be shown with all their details. They can be modified through |
21 Breakpoints will be shown with all their details. They can be modified through |
22 the context menu of this widget. |
22 the context menu of this widget. |
23 |
23 |
24 @signal sourceFile(string, int) emitted to show the source of a breakpoint |
24 @signal sourceFile(string, int) emitted to show the source of a breakpoint |
25 """ |
25 """ |
|
26 sourceFile = pyqtSignal(str, int) |
|
27 |
26 def __init__(self, parent = None): |
28 def __init__(self, parent = None): |
27 """ |
29 """ |
28 Constructor |
30 Constructor |
29 |
31 |
30 @param parent the parent (QWidget) |
32 @param parent the parent (QWidget) |
381 bp = self.__model.getBreakPointByIndex(sindex) |
383 bp = self.__model.getBreakPointByIndex(sindex) |
382 if not bp: |
384 if not bp: |
383 return |
385 return |
384 |
386 |
385 fn, line = bp[:2] |
387 fn, line = bp[:2] |
386 self.emit(SIGNAL("sourceFile"), fn, line) |
388 self.sourceFile.emit(fn, line) |
387 |
389 |
388 def highlightBreakpoint(self, fn, lineno): |
390 def highlightBreakpoint(self, fn, lineno): |
389 """ |
391 """ |
390 Public slot to handle the clientLine signal. |
392 Public slot to handle the clientLine signal. |
391 |
393 |