Changeset View
Changeset View
Standalone View
Standalone View
tests/LineEditWithClearButton.qml
1 | /* | 1 | /* | ||
---|---|---|---|---|---|
2 | Copyright (c) 2019 Montel Laurent <montel@kde.org> | 2 | SPDX-FileCopyrightText: 2019 Montel Laurent <montel@kde.org> | ||
3 | 3 | | |||
4 | This library is free software; you can redistribute it and/or modify | 4 | SPDX-License-Identifier: LGPL-2.0-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL | ||
5 | it under the terms of the GNU Library General Public License as published | | |||
6 | by the Free Software Foundation; either version 2 of the License or | | |||
7 | ( at your option ) version 3 or, at the discretion of KDE e.V. | | |||
8 | ( which shall act as a proxy as in section 14 of the GPLv3 ), any later version. | | |||
9 | | ||||
10 | This library is distributed in the hope that it will be useful, | | |||
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | | |||
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | |||
13 | Library General Public License for more details. | | |||
14 | | ||||
15 | You should have received a copy of the GNU Library General Public License | | |||
16 | along with this library; see the file COPYING.LIB. If not, write to | | |||
17 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | | |||
18 | Boston, MA 02110-1301, USA. | | |||
19 | */ | 5 | */ | ||
20 | 6 | | |||
21 | import org.kde.kirigami 2.7 as Kirigami | 7 | import org.kde.kirigami 2.7 as Kirigami | ||
22 | Kirigami.ActionTextField { | 8 | Kirigami.ActionTextField { | ||
23 | id: __searchField | 9 | id: __searchField | ||
24 | focus: true | 10 | focus: true | ||
25 | rightActions: [ | 11 | rightActions: [ | ||
26 | Kirigami.Action { | 12 | Kirigami.Action { | ||
Show All 9 Lines |