[Interest] QTextEdit and Style sheets

graham labdon graham.labdon at hotmail.co.uk
Mon Mar 12 11:03:30 CET 2012


Hi
I am trying to set a background image on a QTextEdit using setStyleSheet -

textEdit->setStyleSheet(QString::fromUtf8("background-image: url(:/images/Chrysanthemum.png);background-attachment: fixed"));

However, this doe not work.

Am i misunderstanding the documentation or is it not possible?

Thanks
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120312/50cc5fdd/attachment.html>


More information about the Interest mailing list