[PyKDE] PyQt4 4.0.1: Possible QTabWidget Bug

Torsten Marek shlomme at gmx.net
Mon Sep 18 20:05:36 BST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chris Giles schrieb:
> I think I've uncovered a little bug in PyQt4 4.0.1.
> 
> I used "Qt4 Designer" to create a small dialog, which has a QTabWidget
> whose tabs have icons next to their titles.  When I then used "pyuic4"
> to create the ".py" file for this dialog, the following lines were
> missing and the icons therefore obviously weren't displayed.  Once I
> added these lines in manually, the icons displayed correctly.
>    self.twOperations.setTabIcon(0 ,
> QtGui.QIcon(":/actions/Images/actions/ark_adddir.png"))
>    self.twOperations.setTabIcon(1 ,
> QtGui.QIcon(":/actions/Images/actions/ark_extract.png"))
> 
> Can someone confirm that this is a PyQt4 bug?
> 

Hi,

you're right, it's a bug. I'll try to fix it, should appear in the upcoming PyQt
snapshots.

best,

Torsten

- --
Torsten Marek <shlomme at gmx.net>
ID: A244C858 -- FP: 1902 0002 5DFC 856B F146  894C 7CC5 451E A244 C858
Keyserver: subkeys.pgp.net

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFDu4AfMVFHqJEyFgRAnBjAKDGSmQl1lJpNE56YgY0FXDuftVozQCfWw3G
3gRWXZamrE/ins4WWSCuVds=
=SVVX
-----END PGP SIGNATURE-----




More information about the PyQt mailing list