Hi,
As pre-selection, when mouse move on an item in QTreeView, I want to raise the border of the item, but no solution yet. Any suggestion will be appreciated, thanks.
Hi,
As pre-selection, when mouse move on an item in QTreeView, I want to raise the border of the item, but no solution yet. Any suggestion will be appreciated, thanks.
You could overwrite the view's mouseMoveEvent() handler and use itemAt() to find the item you are currently at.
There is also an entered() signal.
Cheers,
_
jasonhxs (14th August 2014)
Hi,
Thanks, yes, I catch it, do you know how to raise the border of item in QTreeView?
You can use a custom item delegate that draws differently if the cell is hovered over.
Cheers,
_
Hi,
I use style sheet with item hover setting, thanks.
Ah, even simplier
Cheers,
_
Bookmarks