[PySide] re-implementing setDown() for custom button
Frank Rueter | OHUfx
frank at ohufx.com
Wed May 2 07:44:09 CEST 2012
to follow up my previous mail, I also just noticed that I have to
re-implement the QAbstractButton's setDown() function to make sure my
custom button doesn't stay down after a drag&drop action.
With a QPushButton I simply called self.setDown( False ) from inside the
mouseMoveEvent, so now I'm trying to understand how to recreate this
behaviour when using a custom paintEvent().
Any tips would be greatly appreciated.
More information about the PySide