I've just begun programming with QT4 and right now I have a problem. I need to seach a column in a QTreeWidget to see if I've added that item or if it needs to be added. Let's say you enter a list of names and if the name is there , in column 0 you don't add it anymore , else you add it.
What would be the best way to do this. I've looked at the QTreeWidget documentation and haven't really found something to do what I want. I could iterate through the columns and search manually I guess or construct a list of added values but that doesn't seem the best way to do this.
Any suggestions would be welcome. Thanks.