hello guys,

i want to customize my pushbutton by reimplementing paintevent. the
problem is, i don't know how to check the button state within
paintevent, say "hover" "pressed". i didn't find any function
returning these state.

thanks.