Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 4

Qt-interest Archive, May 2007
Adding Icons to QlistViewItem


Message 1 in thread

Hello,
	Is there any way to add icons to QListViewItem.
	Or Is there anyway to paint QCheckListItem - without reimplementing
paintcell?

Please give some suggestions..

/Beena

--
 [ signature omitted ] 

Message 2 in thread

Perhaps you can read:
http://doc.trolltech.com/4.3/qt.html#ItemDataRole-enum
Qt::DecorationRole

And
http://doc.trolltech.com/4.3/qitemdelegate.html#paint

^_^

Regards,
Liang

On 15/05/07, Beena <kbeena@xxxxxxxxxxx> wrote:
> Hello,
>         Is there any way to add icons to QListViewItem.
>         Or Is there anyway to paint QCheckListItem - without reimplementing
> paintcell?
>
> Please give some suggestions..
>
> /Beena

-- 
 [ signature omitted ] 

Message 3 in thread

setPixmap

2007/5/15, Beena <kbeena@xxxxxxxxxxx>:
> Hello,
>         Is there any way to add icons to QListViewItem.
>         Or Is there anyway to paint QCheckListItem - without reimplementing
> paintcell?
>
> Please give some suggestions..
>
> /Beena
>
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
>
>


-- 
 [ signature omitted ]