Options
All
  • Public
  • Public/Protected
  • All
Menu

Class QLineEdit

A widget containing a single line of text that the user can edit.

Qt documentation: QLineEdit

Hierarchy

Index

Constructors

constructor

Properties

editingFinished

editingFinished: Signal<void>

This signal is emitted when the Return or Enter key is pressed or the line edit loses focus.

enabled

enabled: boolean

If false, the widget cannot be interacted with. Qt documentation: QWidget::enabled

minimumHeight

minimumHeight: number

You can use this property to prevent the widget from being resized to a height below this amount.

minimumWidth

minimumWidth: number

You can use this property to prevent the widget from being resized to a width below this amount.

placeholderText

placeholderText: string

Setting this property makes the line edit display a grayed-out placeholder text as long as the line edit is empty.

styleSheet

styleSheet: string

Set this property to override the style sheet for this widget.

See https://doc.qt.io/qt-6/stylesheet.html and https://doc.qt.io/qt-6/stylesheet-examples.html for more information.

text

text: string

This property holds the line edit's text.

textChanged

textChanged: Signal<string>

Signal emitted when the text inside the QLineEdit is changed.

toolTip

toolTip: string

The toolTip displayed when the user mouses over this widget

visible

visible: boolean

Controls whether this widget is visible. When toggling this property, the dialog layout will automatically adjust itself based on the visible widgets. Qt documentation: QWidget::visible;

Generated using TypeDoc