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. Child widget of a popup dialog does not receive QEvent::MouseButtonPress on touch screen.

Child widget of a popup dialog does not receive QEvent::MouseButtonPress on touch screen.

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

    I added both pop-up dialog and the child widget(QPushButton) to event filter. I can see the pop-up dialog receives QEvent::MouseButtonPress. But the child push button can not. What is wrong?

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

      Hi,

      Can you show how you build that dialog and child widget ?
      What version of Qt are you using ?
      What OS are you running ?
      What kind of touch screen ?

      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
      • JoeCFDJ Offline
        JoeCFDJ Offline
        JoeCFD
        wrote on last edited by JoeCFD
        #3

        It turns out that some webkit widgets are used in the layout. These widgets can not be updated properly and they block the updates of other widgets as well. They are not supported anymore from Qt 5.5. It is a lot of better now after they are replaced by webengine widgets. Currently, Qt 5.9 is used in my app. Simply post the reason here in case someone else has the same issue.

        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