Curiously, QTreeWidgetItem does not inherit QObject. Because of that, a subclass pointer cannot be retrieved with qobject_cast, but the normal C++ dynamic_cast must be used. Is there a reason for this omission? (I'm using a subclass to store a viewable widget for another view.) It's no great problem, but just seems odd.
Bookmarks