diff options
Diffstat (limited to 'src/components/KeyboardRow.qml')
-rw-r--r-- | src/components/KeyboardRow.qml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/src/components/KeyboardRow.qml b/src/components/KeyboardRow.qml new file mode 100644 index 00000000..30dc1663 --- /dev/null +++ b/src/components/KeyboardRow.qml @@ -0,0 +1,37 @@ +// Copyright (C) 2016 The Qt Company Ltd. +// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only + +import QtQuick +import QtQuick.Layouts + +/*! + \qmltype KeyboardRow + \inqmlmodule QtQuick.VirtualKeyboard.Components + \ingroup qmlclass + \ingroup qtvirtualkeyboard-components-qml + \inherits RowLayout + + \brief Keyboard row for keyboard layouts. + + Specifies a row of keys in the keyboard layout. +*/ + +RowLayout { + /*! Sets the key weight for all children keys. + + The default value is inherited from the parent element + in the layout hierarchy. + */ + property real keyWeight: parent ? parent.keyWeight : undefined + + /*! \since QtQuick.VirtualKeyboard 2.0 + + Sets the \c smallTextVisible for all children keys. + + The default value is inherited from the parent element + in the layout hierarchy. + */ + property bool smallTextVisible: parent ? parent.smallTextVisible : false + + spacing: 0 +} |