16 from E5Gui import E5FileDialog |
16 from E5Gui import E5FileDialog |
17 |
17 |
18 from .Ui_EditBreakpointDialog import Ui_EditBreakpointDialog |
18 from .Ui_EditBreakpointDialog import Ui_EditBreakpointDialog |
19 |
19 |
20 import Utilities |
20 import Utilities |
|
21 import UI.PixmapCache |
21 |
22 |
22 |
23 |
23 class EditBreakpointDialog(QDialog, Ui_EditBreakpointDialog): |
24 class EditBreakpointDialog(QDialog, Ui_EditBreakpointDialog): |
24 """ |
25 """ |
25 Class implementing a dialog to edit breakpoint properties. |
26 Class implementing a dialog to edit breakpoint properties. |
44 super().__init__(parent) |
45 super().__init__(parent) |
45 self.setupUi(self) |
46 self.setupUi(self) |
46 if name: |
47 if name: |
47 self.setObjectName(name) |
48 self.setObjectName(name) |
48 self.setModal(modal) |
49 self.setModal(modal) |
|
50 |
|
51 self.fileButton.setIcon(UI.PixmapCache.getIcon("open.png")) |
49 |
52 |
50 self.okButton = self.buttonBox.button(QDialogButtonBox.Ok) |
53 self.okButton = self.buttonBox.button(QDialogButtonBox.Ok) |
51 self.filenameCompleter = E5FileCompleter(self.filenameCombo) |
54 self.filenameCompleter = E5FileCompleter(self.filenameCombo) |
52 |
55 |
53 fn, lineno = id |
56 fn, lineno = id |