Resizing cell without headers?
Does anybody know if there's a way to implement resizing capability without horizontal/vertical headers in QTableView/QAbstraceTableModel? What is a right direction to customize the behavior?
I want cell to be resized by dragging its border, which is exactly a functionality that Ms-Excel provides.
I know it's possible with the headers, but want to look for a way to achieve without that.
This is for good-looking purpose. :)
Thanks in advance for your information.
What is a right direction to customize the behavior?
setResizeMode(QHeaderView::Fixed)on the horizontal header
- hide the horizontal header view
- filter mouse events on the table view's viewport and change the mouse cursor accordingly
- resize dragged column via QHeaderView::resizeSection()
which is exactly a functionality that Ms-Excel provides
Maybe I'm just using an old version of excel but I need to use headers to resize rows/cols
I'm on MS Office 2013
Indeed. excel 2003 do not have this feature
But that is older than old :)