Hey Mike, 2010/3/19 Mike Teehan <[email protected]>: > Hello, > > Is it possible for a single WStandardItem to be in different spots and/or > multiple models at once?
A WStandardItemModel takes ownership of the standard item. It might work, but, you will probably want to remove the standard items that you share from each model and delete them yourself, before you delete the models that owned them. A better approach though, if you want to share data between models, is to consider creating one or more proxy models (see WAbstractProxyModel) that allow you to have different views on the same underlying model. Regards, koen ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
