QTreeWidget And QItemDelegate
hi,
is it possible use a QItemDelegate with QTreeWidget??
I read somewhere even QTreeWidget is inherited from QTreeView using QItemDelegate is not possible..is this correct??
If someone has used QItemDelegate with QTreeWidget can you please post a simple example
Thanks
Re: QTreeWidget And QItemDelegate
nobody uses ItemDelegate with QTreeWidget?? :(
Re: QTreeWidget And QItemDelegate
Quote:
is it possible use a QItemDelegate with QTreeWidget??
Yes
Quote:
I read somewhere even QTreeWidget is inherited from QTreeView using QItemDelegate is not possible..is this correct??
No, this is not correct. A five minute test program could have confirmed this for you.
Quote:
If someone has used QItemDelegate with QTreeWidget can you please post a simple example
You use a QItemDelegate on a QTableWidget/QTreeWidget the same way you do with a QTableView/QTreeView. You will find simple examples in the documentation, specifically Delegate classes and Spin Box Delegate.