Hi all,
i want to set a combo delegate on header. i used
Code:
horizontalHeader()->setItemDelegate(new ComboDelegate)
but i couldn't get it on header.
how can i set it ?
Printable View
Hi all,
i want to set a combo delegate on header. i used
Code:
horizontalHeader()->setItemDelegate(new ComboDelegate)
but i couldn't get it on header.
how can i set it ?
QHeaderView doesn't seem to use delegates.
And unfortunately it seems like QHeaderView doesn't lay it's index widgets correctly:
The widget will be there, but it's position is (0,0) and size (0,0). So you will have to resize and move it manually.Code:
horizontalHeader()->setIndexWidget(idx, someWidget);
This could be, in my opinion, reported to Trolltech..