In fact, I'm trying to test it, but I cant see it 
And... my code is a little bit different.
I have a QStandardItemModel with 5 columns per item. 2 and 3 column are ID's.
item = self.__search_by_id(id) #this will return a QStandardItem matching the ID arg
item = self.__search_by_id(id) #this will return a QStandardItem matching the ID arg
item.appendRow([None, None, QStandardItem(var), QStandardItem(var2), QStandardItem(True)])
To copy to clipboard, switch view to plain text mode
I cant see the childs... Maybe I'm doing something wrong? (doc's says that everything is fine)
Bookmarks