Re: Button in TreeWidgetItem
Hi osiris81,
You can use the QItemDelegate class to create your own editor widget for the QTableWidget.
You can check the Spin Box Delegate Example.
alisami
Re: Button in TreeWidgetItem
Thank you alisami!
I tried the example and it looks good, just one thing:
The item changes it's view only when I activate it (by doubleclicking for example). Is it possible to show the item always in this "state"?
Re: Button in TreeWidgetItem
Sorry, I just found it:
void openPersistentEditor ( const QModelIndex & index )