[Qt-interest] QTreeWidgetItem

andrew.m.goth at l-3com.com andrew.m.goth at l-3com.com
Thu Jan 22 19:03:41 CET 2009


Kurtis Nusbaum wrote:
> Why is QTreeWidgetItem not a QObject in the first place?

To make it smaller and faster, since presumably there will be a very
large number of Q*Items in your application.

> Would I be doing something that isn't exactly a 
> good idea by creating a subclass with both QObject and 
> QTreeWidgetItem as parents?

This is fine, as far as I know, except for the issue I mention above.
First try to use events or signals/slots on QTreeWidget.

-- 
Andy Goth
<amgoth at link.com>




More information about the Qt-interest-old mailing list