38 class QuickSearchLineEdit(QLineEdit): |
38 class QuickSearchLineEdit(QLineEdit): |
39 """ |
39 """ |
40 Class implementing a line edit that reacts to newline and cancel commands. |
40 Class implementing a line edit that reacts to newline and cancel commands. |
41 |
41 |
42 @signal escPressed() emitted after the cancel command was activated |
42 @signal escPressed() emitted after the cancel command was activated |
43 @signal returnPressed() emitted after a newline command was activated |
|
44 @signal gotFocus() emitted when the focus is changed to this widget |
43 @signal gotFocus() emitted when the focus is changed to this widget |
45 """ |
44 """ |
46 escPressed = pyqtSignal() |
45 escPressed = pyqtSignal() |
47 gotFocus = pyqtSignal() |
46 gotFocus = pyqtSignal() |
48 |
47 |