PDA

View Full Version : how to set up a QHeaderView editable?



iguanna
21st March 2008, 01:00
i want that when i doubleclick on a column in the header of my qtableview, this column is editable. For that i have trying with some function on my headerView such like 'edit', but has not effect and my header is not editable, i have also to tell you that i get my qtableview editable through function flags just like a example that there is in Qt documentation. But i don't get to edit my header, i need your help.

codeslicer
21st March 2008, 01:34
Please search the forum before posting questions.

Here is a similar thread - http://www.qtcentre.org/forum/f-qt-programming-2/t-editable-table-header-4676.html

iguanna
24th March 2008, 08:53
i already saw that post friend, and it don't solve my problem, moreover that post talks about a QTableWidget and my problem is referred to QTableView and QHeaderView where to do that i want is not a easy task like in QTableWidget. So if some people can help me with my problem...post? thanks.

jpn
24th March 2008, 15:37
Editable table header (http://www.qtcentre.org/forum/f-qt-programming-2/t-editable-table-header-7790.html)