Problems with Open-Source Downloads read https://www.qt.io/blog/problem-with-open-source-downloads and https://forum.qt.io/post/638946

QTreeView moves cursor between items when symbol keys are pressed: how to modify / override this behavior?



  • This is the desired behavior for my app, but there's a twist: some item names are decorated. For example, wrapped in brackets like so: [name]. Obviously, as I type "name" the cursor doesn't move since the actual item display name starts with a bracket. Can I somehow override this to operate on a non-decorated original name? Or better yet, to search with contains() instead of startsWith()?



  • Any advice?..


Log in to reply