QWidget is raised when mouse over it



  • Hi,

    I have a problem with my Qt application, which has 2 QWidgets as windows: A & B. When I move the mouse over 'A', a child QWidget C is shown for 2 seconds.

    The problem is when I move the mouse from 'B' to 'A' (no click): 'C' is shown, BUT (what is not expected) 'A' is raised over any QWidget from my application.

    I have been watching QWidget events, but I do not know where my problem cames from. Maybe something related to QWidget properties?

    Any help will be really appreciated,

    Diego


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Without any code it's very difficult to see what could go wrong. It might be your hovering code, how you handle your mouse etc...


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.