PDA

View Full Version : How can I change widget images and layouts?



sendyou
20th August 2008, 10:02
All widget have layouts and images in itself.
I'd like to change the layouts and images to mine.

How can I implement it?
Should I just reimplement 'paintEvent' ?

Please any suggestion...

Thank you

bunjee
20th August 2008, 11:07
If you want to change widget's background.

Reimplement paintEvent, draw your QPixmap using rect() coordinates.