Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.5.5
-
None
Description
I have a QToolbutton in a vertical layout, along with a QCalenderWidget (we can have any other widget(s)).
The purpose of the tool button is to hide all the other components in the layout when it's checked. And when it's unchecked, every other component should also be visible.
I have different icon for the hover state of the button, and otherwise a different icon.
The problem is when I click on the button (and the button goes to checked state), the button keeps staying in hovered state even though it's not getting hovered over. It only returns to default state, when I move my mouse.
See the attached video, for reference.
Screen Recording 2024-09-01 at 10.53.41 PM.mov
I am also attaching the icons and code.