2020-08-02 22:22:19 +00:00
|
|
|
/*
|
|
|
|
KWin - the KDE window manager
|
|
|
|
This file is part of the KDE project.
|
2016-04-29 13:05:03 +00:00
|
|
|
|
2020-08-02 22:22:19 +00:00
|
|
|
SPDX-FileCopyrightText: 2016 Martin Gräßlin <mgraesslin@kde.org>
|
2016-04-29 13:05:03 +00:00
|
|
|
|
2020-08-02 22:22:19 +00:00
|
|
|
SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
*/
|
2023-03-11 10:29:24 +00:00
|
|
|
import QtQuick.Controls
|
|
|
|
import QtQuick.Layouts
|
2016-04-29 13:05:03 +00:00
|
|
|
|
|
|
|
GridLayout {
|
|
|
|
columns: 2
|
|
|
|
Label {
|
|
|
|
text: "Normal:"
|
|
|
|
}
|
|
|
|
TextField {
|
|
|
|
}
|
|
|
|
Label {
|
|
|
|
text: "Digits:"
|
|
|
|
}
|
|
|
|
TextField {
|
|
|
|
inputMethodHints: Qt.ImhDigitsOnly
|
|
|
|
}
|
|
|
|
Label {
|
|
|
|
text: "Numbers:"
|
|
|
|
}
|
|
|
|
TextField {
|
|
|
|
inputMethodHints: Qt.ImhFormattedNumbersOnly
|
|
|
|
}
|
|
|
|
Label {
|
|
|
|
text: "Uppercase:"
|
|
|
|
}
|
|
|
|
TextField {
|
|
|
|
inputMethodHints: Qt.ImhUppercaseOnly
|
|
|
|
}
|
|
|
|
Label {
|
|
|
|
text: "Lowercase:"
|
|
|
|
}
|
|
|
|
TextField {
|
|
|
|
inputMethodHints: Qt.ImhLowercaseOnly
|
|
|
|
}
|
|
|
|
Label {
|
|
|
|
text: "Phone:"
|
|
|
|
}
|
|
|
|
TextField {
|
|
|
|
inputMethodHints: Qt.ImhDialableCharactersOnly
|
|
|
|
}
|
|
|
|
Label {
|
|
|
|
text: "Email:"
|
|
|
|
}
|
|
|
|
TextField {
|
|
|
|
inputMethodHints: Qt.ImhEmailCharactersOnly
|
|
|
|
}
|
|
|
|
Label {
|
|
|
|
text: "Url:"
|
|
|
|
}
|
|
|
|
TextField {
|
|
|
|
inputMethodHints: Qt.ImhUrlCharactersOnly
|
|
|
|
}
|
|
|
|
Label {
|
|
|
|
text: "Date:"
|
|
|
|
}
|
|
|
|
TextField {
|
|
|
|
inputMethodHints: Qt.ImhDate
|
|
|
|
}
|
|
|
|
Label {
|
|
|
|
text: "Time:"
|
|
|
|
}
|
|
|
|
TextField {
|
|
|
|
inputMethodHints: Qt.ImhTime
|
|
|
|
}
|
|
|
|
}
|