Trouble sorting a ListView/Model



  • Hello there I am making a app that looks at xml and appends it to a ListModel that is in a ListView. I want to use a searchbox(TextInput) text. To Filer out the results so that user can search the list via searchbox.
    Code
    http://pastebin.com/W4HbEknP
    Here is a sample of the xml
    http://pastebin.com/BfhfKybM
    Thanks for looking this over.
    I am new to all this but also if there is a way to do this faster in c++ with some class that would be cool. Or if MY code does not look good please let me know as I am new and like to learn new things.
    bob


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.