PDA

View Full Version : Set background image for QDial



nightseawind
4th November 2010, 12:56
Hi,
I'm working on a project using custom QDial in Qt4.7.0,but I can't set background image for QDial,neither setPalette() nor setStyleSheet() worked.As described in prev threads, the only way is subclass QDial and re-implement paintEvent(),but it's a little hard for me to do this...So, forgive me asking this question again, IS there some simply method to set background image for QDial?
Any comments is appreciated.
Thank you.