Re: TreeModel



It would certainly help if you show an excerpt of what kind of data you currently add, and how. Then we can figure out how to make that into something loopable.

Generally, though, I think the idea would be that you would define a struct containing the data you want to insert, then loop over a set of that (e.g. a vector or initializer_list) inserting into the model from the corresponding fields.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]