Have you looked at the QTableWidget::setSelectionMode method? One of the selection modes is QAbstractItemView::NoSelection.
Edit: Sorry, completely missed the code you posted that you already tried! Watching TV and posting, not good!!!
Have you looked at the QTableWidget::setSelectionMode method? One of the selection modes is QAbstractItemView::NoSelection.
Edit: Sorry, completely missed the code you posted that you already tried! Watching TV and posting, not good!!!
Last edited by jefftee; 16th March 2017 at 03:46.
I write the best type of code possible, code that I want to write, not code that someone tells me to write!
Bookmarks