Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Solved Frameless QDialog and TouchPad events

    General and Desktop
    2
    3
    399
    Loading More Posts
    • 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
      Milosz last edited by

      I have opened dialog window inherited form QDialog class and
      set flags (Qt::FramelessWindowHint | Qt::Dialog )
      (to get rid of the title bar).
      When I touch on touchpad any key there are no effect - mouse actions work properly.
      What the problem?

      Thanks in advance

      M 1 Reply Last reply Reply Quote 0
      • Kent-Dorfman
        Kent-Dorfman last edited by

        have you guaranteed that the dialog has focus when you try to press a key? modal dialogs should steal the focus when active. you said "mouse works" are there clickable widgets on the dialog that you are verifying the dialog receives events?

        1 Reply Last reply Reply Quote 0
        • M
          Milosz @Milosz last edited by

          @Milosz
          The problem was solved by upgrading Qt from 5.10 to 5.12.2

          1 Reply Last reply Reply Quote 0
          • First post
            Last post