I was wondering how and if it is possible to make only once cell or item selectable at a time, rather than allowing multiple selection. Thank you in advance.
tableWidget->setSelectionBehavior( QAbstractItemView::SelectItems );
tableWidget->setSelectionMode( QAbstractItemView::SingleSelection );
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With