PDA

View Full Version : Custom QHeaderView with multiple header rows and comboBox



alizadeh91
26th November 2012, 12:44
Hi all,..

I want to implement a QTableView with a header such as attached image.

8458

I've found that i can't do this by delegate, so bad :( . May be i have to use inline editor.
What are other possibe solutions to use combo Box in QHeaderView??
How can i implement QHeaderView with multiple row (filtering + unit + ...(as attached image)).
Can a QTableView has multiple QHeaderViews or maybe i have to use some tricks to have multiple rows in header?

alizadeh91
26th November 2012, 19:00
Any Suggestions?!

ObiWanKenobe
26th November 2012, 22:03
Take a look at this:
Qt Support Weekly #27 – Widgets on a header (http://blog.qt.digia.com/blog/2012/09/28/qt-support-weekly-27-widgets-on-a-header/)