Using QIconViewItem in Qt Designer
Hi friends,
i'm using Qt Designer in Fedora Core 3.
i have to some images in QIconView Widget at RunTime.
I somehow found that this can be done by using QIconViewItem and QPicture or QPixmap. I used the following code.
QPicture *qpic=new QPicture;
(void) new QIconViewItem(iconView1,"Hello",qpic->load("Green.png"));
But the image is not getting displayed in IconView Box. The text "Hello" alone is getting displayed.
pls tell me, how to make it work.
any help appreciated.
thanx in advance
Jagadish
|