Thanks for that - I will give it a try -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Rayner Pupo Sent: 22 November 2013 03:00 To: [email protected] Subject: [Interest] Custom QPushButton
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 _______________________________________________ Interest mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/interest _______________________________________________ Interest mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/interest
