Description
Creates a single-line text input field.
Syntax
JSQtWidgets.createQLineEdit(text: String, parent: widget = null) -> QLineEdit
 
Parameters
| Parameter | Type | Default Value | Mandatory | Description | 
| text | !String | — |  Da | Initial value. | 
| parent | widget | null | ❌ Нет | Parent widget to which the created QLineEdit belongs. If not specified, the widget is created without a parent. | 
Return value
| Type | Description | 
| !String | New QLineEditobject. | 
Example
| JS | 
|---|
|  | let result = QtWidgets.createQLineEdit()
console.info(result)
 |