Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Language Bindings
  4. [PySide/PyQt] Windows Tablet - Bringing up touch-screen keyboard when focus is on text/lineedit
Forum Updated to NodeBB v4.3 + New Features

[PySide/PyQt] Windows Tablet - Bringing up touch-screen keyboard when focus is on text/lineedit

Scheduled Pinned Locked Moved Language Bindings
2 Posts 2 Posters 2.6k 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
    Alabaster
    wrote on last edited by
    #1

    Hi,

    I am writing a small Windows application which should be accessible to Windows PCs as well as Windows 8 Tablets.

    Normal windows behavior is that when no hardware keyboard is attached (i.e. in tablet mode), touching any text input field will bring up the touch-screen keyboard.

    This doesn't seem to be happening in my PySide text/line edit fields. Is there some kind of signal I need to send to Windows to let it know which of my widgets require the Windows touch-screen keyboard?

    Thanks

    P.S. If you could also point me in the general direction of information on using touch-screen controls in Qt, that would be helpful -- finger-scrolling, pinch to zoom, etc.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      You should also add which version of Qt you are currently using for that. Did you set the Qt::WA_AcceptTouchEvents flag on your widgets ?

      Hope jt helps

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      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