[PyKDE] Transparent Gif on Pushbutton.
    Henry Kleynhans 
    henry at obsidian.co.za
       
    Thu Jul 10 20:04:01 BST 2003
    
    
  
Hi All,
I have a python/PyQt program that puts a transparent gif on a QPushButton 
using setPixmap.
On the platforms I have tested the image is transparent on the latest RedHat ( 
Python-2.2.2-26, PyQt-3.5-5, qt-3.1.1-6) and Debian(?), but not on SuSE 
(Pyton-2.2.2, qt-3.1.2-40, PyQt-3.6) or Gentoo (Python-2.2.3-r1, PyQt-3.6-r1, 
qt-3.1.2-r3).  
The QPushButtons background is set with 
setBackgroundOrigin(QWidget.AncestorOrigin) and it does not work either if I 
provide a different pixmap for the background.
Any idea if this is a Qt related bug, or how I can fix this?
Kind regards,
Henry
-- 
Henry Kleynhans <henry at obsidian.co.za>
Software Developer
Obsidian Systems
    
    
More information about the PyQt
mailing list