QNodeEditor.widgets.text_box.LineEdit#

class QNodeEditor.widgets.text_box.LineEdit#

Bases: QLineEdit

Line edit that emits a signal when focus enters/leaves the box.

This class should not be used directly. It is automatically instantiated in a TextBox.

Properties

focus_changed(bool)

Signal that emits when the focus enters/leaves the line edit

Methods

focusInEvent

Emit that focus has entered the line edit.

focusOutEvent

Emit that focus has left the line edit.

__init__(*args, **kwargs)#
focusInEvent(event: QFocusEvent) None#

Emit that focus has entered the line edit.

Parameters:

event (QFocusEvent) – Focus event

Return type:

None

focusOutEvent(event: QFocusEvent) None#

Emit that focus has left the line edit.

Parameters:

event (QFocusEvent) – Focus event

Return type:

None

focus_changed(bool): Signal#

Signal that emits when the focus enters/leaves the line edit

Type:

Signal