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. Frameless QDialog and TouchPad events
Forum Updated to NodeBB v4.3 + New Features

Frameless QDialog and TouchPad events

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 637 Views 2 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.
  • M Offline
    M Offline
    Milosz
    wrote on last edited by
    #1

    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
    0
    • Kent-DorfmanK Offline
      Kent-DorfmanK Offline
      Kent-Dorfman
      wrote on last edited by
      #2

      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?

      If you meet the AI on the road, kill it.

      1 Reply Last reply
      0
      • M Milosz

        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 Offline
        M Offline
        Milosz
        wrote on last edited by
        #3

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

        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