I got a combobox called " filters " with 2 items in it(blue and red)
And a treewidget called tree1 with 2 columns ( name and color )
What i want is that if i choose "red" as filter in my combobox, only item with "red" as color would be showed on my treewidget.

i've heard i should use QSortFilterProxyModel but i have no idea how to do

Thanks for helping

sorry, i can't upload image of my qt designer application