Hi,
I want to add a background image in my application.What is the qt function call for this or how can I do this.I am using qt 4.6
Hi,
I want to add a background image in my application.What is the qt function call for this or how can I do this.I am using qt 4.6
Use background-image style property:
http://doc.trolltech.com/4.6/stylesh...und-image-prop
Style is applied with
http://doc.trolltech.com/4.6/qapplic...tyleSheet-prop or
http://doc.trolltech.com/4.6/qwidget...tyleSheet-prop
Note that you apparently can't add a background image directly to a QMainWindow and have it work properly -- you should add it instead to the "central widget" or whatever.