Hi All!
How can I set some widget in QTreeWidget header? I need to place in header QLineEdit and QDoubleSpinBox. I tried this code, but this not work.
Code:
tree->setColumnCount( 5 ); tree->header()->setIndexWidget( tree->model()->index( 0, 0 ), edit ); tree->header()->setIndexWidget( tree->model()->index( 0, 1 ), spin );