Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

Qt::MatchWildcard issue

$
0
0
Hello everyone, I am trying to find a match for a particular string with a wildcard character in a QTree , but the values that I find are not what I would expect. For example, I am looking for ‘_A’, all the strings that end with A, but the system is currently returning everything that has an A that is not the first letter of the word. I have a QAbstractItemModel and I am calling the ‘match’ function with flags Qt::MatchFlags( Qt::MatchWildcard | Qt::MatchRecursive). Am I using the wrong function/flags or doing something else wrong? Thank you in advance for the help!

Viewing all articles
Browse latest Browse all 18427

Trending Articles