Hi,
I know this has been discussed several times here but I could not find any hint how to solve it actually. I would like to catch the mousepress event of a spin box in order to be able to reconfigure the box settings before the value actually changes. Background: my spinbox can support different ranges with different step sizes. So if one presses e.g. the up button I have to check before the actual value change whether a new range is to be entered or not (a new range would mean a new step size). For this reason I need to know whether up or down was pressed. Looking into the Qt code I can see that this decision is handled via internal hover states.
Is there any way to either get access to this hover state or to find out about the currently pressed button ?
Any hint appreciated.
cheers
m.
Bookmarks