[Qt-interest] QHeaderView: built-in RMB menu to show/hide columns?

Daniel Franke franke.daniel at gmail.com
Fri Feb 11 12:16:09 CET 2011


Hi all.

Some applications that show data in a table view allow users to select
the columns they want to see from a menu activated by right-clicking
on the header view of the respective table. Examples are the message
list of kmail and detailed display of dolphin in KDE.

I can't find anything about it in the documentation of QTableView or
QHeaderView - is there a simple standard way of implementing this
feature? Google wasn't very helpful :(

Thanks

      Daniel



More information about the Qt-interest-old mailing list