On Monday 20 August 2007 23:54, Gustavo A. Dí­az wrote:
> David Boddie escribió:

> > I'm currently having difficulties making a minimal testcase. I can't seem
> > to persuade QStackedWidget to use a background image in Qt 4.3.0. If you
> > have a few lines of code that can do this, I would very much like to see
> > them.
>
> self.stackedWidget.setStyleSheet ("QStackedWidget {border: 0px; \
>                         background-image:
> url(:/Styles/styles/stackedBg.png); \
>                         background-repeat: no repeat;} \
>                         ")
>
> Where stackedWidget is QStackedWidget.

Yes, I saw that in the MainApp.py file. I'll take another look when I get
a chance.

David

_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to