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. Virtual Keyboard on Desktop app
Forum Updated to NodeBB v4.3 + New Features

Virtual Keyboard on Desktop app

Scheduled Pinned Locked Moved QML and Qt Quick
3 Posts 2 Posters 2.4k Views 1 Watching
  • 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.
  • A Offline
    A Offline
    antonio
    wrote on last edited by
    #1

    Hi,

    I'm developing a Desktop application on Ubuntu, I need a virtual keyboard when I press over a InputText, but it doesn't works. This is my code:

    @ TextInput {
    id: input
    color: "#151515"; selectionColor: "green"
    font.pixelSize: 16; font.bold: true
    width: parent.width-16
    anchors.centerIn: parent
    activeFocusOnPress: false
    selectByMouse: true

      MouseArea {
        anchors.fill: parent
        onClicked: {
            input.forceActiveFocus();
            input.openSoftwareInputPanel();
        }
     }
    

    }
    @

    is it posible to have a virtual keyboard in Desktop applications?

    Regards

    1 Reply Last reply
    0
    • D Offline
      D Offline
      daliusd
      wrote on last edited by
      #2

      Why do you need Virtual Keyboard on desktop app? Is your desktop without keyboard? Virtual Keyboards are OS part not Qt Quick. If you really need VKB on desktop you can create one using QML.

      Still I think you do something really wrong (or exotic) if you need VKB on desktop.

      1 Reply Last reply
      0
      • A Offline
        A Offline
        antonio
        wrote on last edited by
        #3

        I'm developing an application style ATM. I've seen that for this I need a hybrid implemetation of QML and C++, like this tutorial:

        "http://doc.qt.digia.com/qt/qml-extending-tutorial-index.html":http://doc.qt.digia.com/qt/qml-extending-tutorial-index.html

        thanks for reply

        1 Reply Last reply
        0

        • Login

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