[dolphin] [Bug 424723] When going back or up, underline the folder you just came from instead of selecting it

Tom bugzilla_noreply at kde.org
Thu Nov 5 19:22:15 GMT 2020


https://bugs.kde.org/show_bug.cgi?id=424723

--- Comment #7 from Tom <tomz at freedommail.ch> ---
The concept of "Anchor" is copied from some Qt APIs. The QTextCursor being the
one I know best (since I maintained qtextdocument for some time).

The idea is that the 'view' model has an anchor at one point and then if you
shift-click a couple of items to the right, you select all items between the
anchor and the one you clicked.
So the anchor is the current item, which is not selected. And it works as an
anchor for selecting things.

see QTextCursor::anchor()

If you map this to QItemSelectionModel it doesn't have a name specifically. It
(AFAIK) just means that you have a currentIndex, but you have no selection.

Hope this helps.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list