KeyboardRow.qml 966 B

12345678910111213141516171819202122232425262728293031323334353637
  1. // Copyright (C) 2016 The Qt Company Ltd.
  2. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
  3. import QtQuick
  4. import QtQuick.Layouts
  5. /*!
  6. \qmltype KeyboardRow
  7. \inqmlmodule QtQuick.VirtualKeyboard.Components
  8. \ingroup qmlclass
  9. \ingroup qtvirtualkeyboard-components-qml
  10. \inherits RowLayout
  11. \brief Keyboard row for keyboard layouts.
  12. Specifies a row of keys in the keyboard layout.
  13. */
  14. RowLayout {
  15. /*! Sets the key weight for all children keys.
  16. The default value is inherited from the parent element
  17. in the layout hierarchy.
  18. */
  19. property real keyWeight: parent ? parent.keyWeight : undefined
  20. /*! \since QtQuick.VirtualKeyboard 2.0
  21. Sets the \c smallTextVisible for all children keys.
  22. The default value is inherited from the parent element
  23. in the layout hierarchy.
  24. */
  25. property bool smallTextVisible: parent ? parent.smallTextVisible : false
  26. spacing: 0
  27. }