Now I'm a java programmer and C programmer buy trade so this could easily be an easy C++ question and I've just not spotted it.
![]()
I'd like to creat a list of items in my nice QGraphicsScene and itemise them in a QTreeWidget. Now Qt provides a the ablility to create two forms of QList for each of these entities which is nice.... But without doing the hard work and writing a custom conversion function (after all I am a Java programmer) how would I put the QList<QGraphicsScene *> information into QTreeWidget?
Apologies for my stupidity and thank you for any help you can provide.
James


Reply With Quote

You can subclass QTreeWidgetItem and implement custom functionality for fetching the data from a graphics item there. Something like:

Bookmarks