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 can I binding function when press hide button of virtual keyboard?
QtWS25 Last Chance

How can I binding function when press hide button of virtual keyboard?

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 392 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.
  • O Offline
    O Offline
    olekhanchai
    wrote on last edited by
    #1

    I would like to implement some function in TextInput by using hidekeyboard pressing just like pseudo code below :
    TextInput {
    Keys.hideKeyboardPress: {
    console.log("pressing hide key");
    }
    }
    But Keys property does not have that key. Is that has another way to implement function?
    hidekeyboard.png

    raven-worxR 1 Reply Last reply
    0
    • O olekhanchai

      I would like to implement some function in TextInput by using hidekeyboard pressing just like pseudo code below :
      TextInput {
      Keys.hideKeyboardPress: {
      console.log("pressing hide key");
      }
      }
      But Keys property does not have that key. Is that has another way to implement function?
      hidekeyboard.png

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @olekhanchai
      what exactly do you want to achieve?
      You can check if the keyboard gets hidden with "Qt.inputMethod.visible" property if thats you are after

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      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