38 lines
966 B
QML
38 lines
966 B
QML
// 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
|
|
}
|