Viewable but non-editable tables
If I want to create a cosmetically appealing table for users to be able to view their data in (but NOT interact with the table) and potentially print...what would be the best QT object to use? I've been looking at QTableWidget and QTableView, but I don't see functionality to disable mouse events completely. This window needs to be view only.
I was thinking I could possibly do it by re-implementing the event handler to do nothing regardless of what the mouse does over the window, but is that the best way?
Thanks for any advice!
You can use Qt::ItemIsEditable, Qt::ItemIsEnabled flag for QTableWidgetItem