Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Disallow focus for TextInput component

Disallow focus for TextInput component

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 380 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.
  • D Offline
    D Offline
    diredko
    wrote on last edited by
    #1

    Hi All,

    I need to prohibit text input from keyboard and only let user to use in-app keyboard to enter text.
    One way I came up with so far would be to set focus of TextInput component to false every time onFocusChanged is triggered but I'm not sure if this is the best approach.

    Could someone please suggest a better way to accomplish this? Maybe there is already a property which is used to disallow focus in qml component?

    Thanks in advance)

    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