Re: [Wengophone-devel] Weird Problem

2006-12-18 Thread Aurélien Gâteau
Jaya Meghani wrote: Hi, If I add more columns in Tree Widget of Contact List then on clicking - background is applied to only one column. Is this because in paint function of QtContact::paint() the option.rect gives the rect for a particular trewidgetitem on which its clicked. For example if

RE: [Wengophone-devel] Weird Problem

2006-12-18 Thread Jaya Meghani
To: Jaya Meghani Cc: wengophone-devel@lists.openwengo.com Subject: Re: [Wengophone-devel] Weird Problem Jaya Meghani wrote: Hi, If I add more columns in Tree Widget of Contact List then on clicking - background is applied to only one column. Is this because in paint function of QtContact

Re: [Wengophone-devel] Weird Problem

2006-12-18 Thread Aurélien Gâteau
Jaya Meghani wrote: Hi, I used void setSelectionBehavior ( QAbstractItemView::SelectionBehavior behavior ) and set behavior to select rows and it works. Oh, nice. Didn't notice this property exists. Aurélien ___ Wengophone-devel mailing list

RE: [Wengophone-devel] Weird Problem

2006-12-15 Thread Jaya Meghani
[mailto:[EMAIL PROTECTED] Sent: Friday, December 15, 2006 3:42 AM To: Jaya Meghani Cc: wengophone-devel@lists.openwengo.com Subject: Re: [Wengophone-devel] Weird Problem Jaya Meghani wrote: Hi, I basically want to add a button in Tree Widget of Contact List. However when I add columns

[Wengophone-devel] Weird Problem

2006-12-14 Thread Jaya Meghani
Hi, I basically want to add a button in Tree Widget of Contact List. However when I add columns in ContactList.ui, Group open and down arrow pixmaps start showing up for all columns. As per my understanding, its because QTreeViewDelegate controls paint event. void