10064:8c3207703dac | 10065:de4ae767b0e3 |
---|---|
5 | 5 |
6 """ | 6 """ |
7 Module implementing a dialog to edit watch expression properties. | 7 Module implementing a dialog to edit watch expression properties. |
8 """ | 8 """ |
9 | 9 |
10 from PyQt6.QtCore import pyqtSlot | |
10 from PyQt6.QtWidgets import QDialog, QDialogButtonBox | 11 from PyQt6.QtWidgets import QDialog, QDialogButtonBox |
11 | 12 |
12 from .Ui_EditWatchpointDialog import Ui_EditWatchpointDialog | 13 from .Ui_EditWatchpointDialog import Ui_EditWatchpointDialog |
13 | 14 |
14 | 15 |
67 self.specialEdit.setFocus() | 68 self.specialEdit.setFocus() |
68 | 69 |
69 msh = self.minimumSizeHint() | 70 msh = self.minimumSizeHint() |
70 self.resize(max(self.width(), msh.width()), msh.height()) | 71 self.resize(max(self.width(), msh.width()), msh.height()) |
71 | 72 |
73 @pyqtSlot(str) | |
72 def __textChanged(self, txt): | 74 def __textChanged(self, txt): |
73 """ | 75 """ |
74 Private slot to handle the text changed signal of the condition line | 76 Private slot to handle the text changed signal of the condition line |
75 edit. | 77 edit. |
76 | 78 |