What's about? Does that work?Qt Code:
pixmap.fill ( Qt::color0 );To copy to clipboard, switch view to plain text mode
What's about? Does that work?Qt Code:
pixmap.fill ( Qt::color0 );To copy to clipboard, switch view to plain text mode
nope, that didn't work![]()
What class is QListViewItem ? Its not a standard Qt class.
also seems you want a common background for the list view and hence you want the transparent pixmap for the item, am i right ??
QListViewItem is defined in listview.h in Qt 3.3 in Linux. (QListViewItem is not an QWidget, just a helper for QListView)
Yes, I want to create a pixmap with transparant background, so the background of the listview is still visible (or actually the listviewitem, which can be blue (selected) or white (not selected))
I have been able to load a png-file with transparant background, and then load it in to the listview, this works exacly the way I want't it to.
createHeuristicMask() works, but the output is very ugly. and letters wich surround white areas, such as "0" or "6" doesn't get transparent.
Qt 3.3 :O
wud suggest to upgrade to 4.6.3 unless you have some boundations.
4.7 is also coming this year...
ok, i will try qt463. can you recommomend any beginner guide for people used to 3.3?
qt 4.6.2 seems to be installed on my ubuntu.. good enough?![]()
Bookmarks