[PyQt] Some problems with styleSheets in QT4.3.1 and PyQt4.3

"Gustavo A. Dí­az" gustavo.diaz at gmail.com
Mon Aug 20 22:54:28 BST 2007


David Boddie escribió:
> On Sunday 19 August 2007 23:56, you wrote:
>
>   
>> So, with QT4.3.1 and pyqt4.3  the tabwidget uses the stackedwidget
>> background pixmap (as i clearly demostrate on the screenshots....)
>>
>> This does not happen with qt4.3 nd pyqt4.3
>>     
>
> 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.
>
> David
>
>   
self.stackedWidget.setStyleSheet ("QStackedWidget {border: 0px; \
                        background-image:
url(:/Styles/styles/stackedBg.png); \
                        background-repeat: no repeat;} \
                        ")

Where stackedWidget is QStackedWidget.

-- 
/Gustavo A. Díaz/
*GDNet Projects*
www.gdnet.com.ar <http://www.gdnet.com.ar>
Gustavo A. Díaz
-------------- next part --------------
Skipped content of type multipart/related


More information about the PyQt mailing list