[Interest] Custom QPushButton
Rayner Pupo
rpgomez at uci.cu
Fri Nov 22 03:59:53 CET 2013
You can do whatever you want by subclassing QPushButton and reimplementing
paintEvent function.
using QStyleOptionButton you can draw the button exactly like a normal one but
looking allways like normal state, just set the propper button feature for the
styleOption
________________________________________________________________________________________________
III Escuela Internacional de Invierno en la UCI del 17 al 28 de febrero del 2014. Ver www.uci.cu
More information about the Interest
mailing list