[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    KToolbar->insertButton and QPixmapCache
From:       Kostko <kostko () jweb-network ! net>
Date:       2003-03-12 15:02:03
[Download RAW message or body]

Hi,

when i do

toolbar->insertButton("pixmap_name", 1, true, "Foobar");

the pixmap doesn't show up. but if i use QPixmapCache to find and load
the pixmap, it works:

QPixmap test;
QPixmapCache::find("pixmap_name", test);
toolbar->insertButton(test, 1, true, "Foobar");

so, does kde use something else than QPixmapCache to get/cache the
pixmaps ?

--=20
Kostko <kostko@jweb-network.net>
JWeb-Network

["signature.asc" (application/pgp-signature)]
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic