Creates a text input with optional initial text.
Optionaltext: string
Initial text.
Optionalparent: Object
Parent widget.
Signal emitted when editing finishes (Enter or loss of focus).
Maximum widget width in pixels.
Minimum widget height in pixels. Sets the lower limit of the label height.
Placeholder displayed when the field is empty.
Read-only mode.
Widget style sheet (see QtWidgets.style*()).
Input field text.
Signal emitted whenever the text changes.
Signal emitted when the user changes the text.
Blocks or unblocks signals; available only for fields created with QLineEdit().
True to block signals; false to unblock them.
Previous signal-blocking state.
Clears the input field.
Hides the widget.
Enables or disables the widget.
True to enable; false to disable.
Sets widget visibility.
Visibility flag: true to show, false to hide.
Shows the widget.
Single-line text input.