[PySide] creating custom setFrameStyle()

Frank Rueter | OHUfx frank at ohufx.com
Wed May 2 07:14:36 CEST 2012

Hi everyone,

I'm in the middle of creating a custom button by subclassing QWidget and 
reimplementing paintEvent().
I kinda have what I'm after except that I would like to give the whole 
button a "box/sunken" style.

What is the best way to re-implement setFrameStyle() in my paintEvent? 
Or should I take another route?

Thanks all!

More information about the PySide mailing list