// Copyright © SixtyFPS GmbH , Copyright © 2025 Klarälvdalens Datakonsult AB, a KDAB Group company , author Nathan Collins // SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0 export interface LineEdit { in property enabled: true; in property font-family: ""; in property font-italic: false; in property font-size: 0px; in property horizontal-alignment: TextHorizontalAlignment.left; in property input-type: InputType.text; in property placeholder-text: ""; in property read-only: false; out property has-focus: false; in-out property text: ""; callback accepted(text: string); callback edited(text: string); callback key-pressed(event: KeyEvent) -> EventResult; callback key-released(event: KeyEvent) -> EventResult; public function set-selection-offsets(start: int, end: int); public function select-all(); public function clear-selection(); public function cut(); public function copy(); public function paste(); }