Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. How to use KeyboardStyle with InputPanel.

How to use KeyboardStyle with InputPanel.

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
qmlvirtualkeyboard
1 Posts 1 Posters 174 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mutsuyuki
    wrote on 2 Nov 2023, 08:19 last edited by
    #1

    I'm trying to customize style of virtual keyborad provided by InputPanel.

    According to document of KeyboardStyle,
    The style type provides the style definitions that are used by the InputPanel to decorate the virtual keyboard.
    But I couldn't find how to use it with InputPanel.

    I also check document of InputPanel, but there is no property using KeyboardStyle.

    How do I apply KeyboardStyle to InputPanel?

    I tried like below, nothing happened.

    InputPanel {
        id: keyboard
        z: 99
        width: parent.width
    
        KeyboardStyle {
            spaceKeyPanel: Component {
                Rectangle {
                    color: "red"
                    width: 50
                    height: 50
                }
            }
        }
    }
    
    1 Reply Last reply
    0

    1/1

    2 Nov 2023, 08:19

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved