I have QTableView who's model is a QSqlTableModel. My goal is to have a sort and filter option to the user. As a GUI to this I would like to make QHeaderView to have buttons in them so i can assign some QMenu to that button. See attachment
I can implement the sorting and filtering part by manipulating the SQL statements. I just need to put a MS Excel touch to it.
How can I add button to QHeaderView?
baray98
Bookmarks