kaushal_gaurav
29th April 2009, 12:28
Hi,
I have a Qwidget which is promoted to MyTreeView.
MyTreeView is derived from QTreeView. In the class MyTreeView i have delegates for the rows.. set through the function SetItemDelegateForColumn();
The data in the MyTreeView is populated from MyProxyModel.
Every thing works fine.. data is lengthy and scrollbar is shown for the view.
Now the issue is when i edit any entry in the MyTreeView.. the scrollbar jumps to the begining after pressing enter.
Please help.
Regards,
GK
I have a Qwidget which is promoted to MyTreeView.
MyTreeView is derived from QTreeView. In the class MyTreeView i have delegates for the rows.. set through the function SetItemDelegateForColumn();
The data in the MyTreeView is populated from MyProxyModel.
Every thing works fine.. data is lengthy and scrollbar is shown for the view.
Now the issue is when i edit any entry in the MyTreeView.. the scrollbar jumps to the begining after pressing enter.
Please help.
Regards,
GK