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
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
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
[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
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