On this page |
This line edit field will show a search icon (BUTTONS_search) and can be configured to emit a seachBackward
signal. The QLineEdit clear button is also enabled by default.
This is a specialization of QLineEdit
and inherits all signals, slots and methods from that widget.
Methods ¶
__init__(icon = None, parent = None)
Create and return a new SearchLineEdit widget.
icon
A QIcon to be shown in front of the text within the text box. If left unspecified then “BUTTONS_search” will be shown.
__init__(iconname, parent = None)
Create and return a new SearchLineEdit widget.
iconname
A houdini icon name to be shown in front of the text within the text box. “BUTTONS_filter” should be used when this field will be used as a filter rather than a search.
allowSearchBackward()
Accessor for property allowSearchBackward.
setAllowSearchBackward(on)
Modifier for property allowSearchBackward.
Signals ¶
searchBackward()
Emitted when allowSearchBackward
is True and the user presses shift+enter.