QSpreadsheetHeaderView
QSpreadsheetHeaderView copied to clipboard
The QSpreadsheetHeaderView class is a special header for QTableView that mimic Google Spreadsheet header.
Description
The QSpreadsheetHeaderView class is a special QHeaderView that mimic Google Spreadsheet header.
It means:
- A button with a context menu to hide/sort colums.
- Indicators for hidden columns. Clicking on it restore the column visibility.
How to use it ?
QSpreadsheetHeaderView *header = new QSpreadsheetHeaderView(Qt::Horizontal, this);
QTableView *tableView = new QTableView(this);
tableView->setHorizontalHeader(header);
Dependency
Qt 4.4.x.
License
MIT
