Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Qtoolbutton stays pressed until mouseover



  • I have widget that pops up when you press a button in my app. As children, my widget has a collection of qtoolbuttons set to autoraise.

    When you click on one of these buttons, the popup widget immediately goes away and I get the desired behaviour for the button. If I open the popup again though, the button remains highlighted until it's moused over again. How do I make the button return to its original, preraised state, when it gets clicked?


Log in to reply