Iteration of a QTreeWidget
问题 I have a QTreeWidget that I am using to represent a breakdown structure of data. Basically I plan on using my QTreeWidget in a way to track the population of certain demographics in cities. For example: Males 9,000 - New York 5,000 - D.C. 4,000 Females 10,000 - Nashville 3,000 - San Diego 7,000 Obviously this data is just for example. A few problems I am having with implementing this. I can't figure out how to iterate over the tree. So that every so often I can check if the data has changed.