[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: [PyQt] QWidget.setPalette with QPixmap for background works but not
From: "Marcell Mars" <marcell.mars () gmail ! com>
Date: 2008-10-26 11:58:53
Message-ID: 342c3e740810260458m229979ecnef6c292b4fd8aac2 () mail ! gmail ! com
[Download RAW message or body]
i can change Phonon.VideoWidget background color through
setStyleSheet("QWidget{background-color:blue;"})
but as said in subject can't do that with:
palet = QPalette()
palet.setBrush(QPalette.Background, QBrush(QPixmap("some.png"))
myPhononVideoWidget.setPalette(palet)
the equivalent works for QWidget....
any ideas how to get background image on Phonon.VideoWidget. i still
don't know how to get gapless video playback with phonon so this seems
as poor man's one ;)
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic