PDA

View Full Version : Select entire row in QTableWidget, programmatically



MattPhillips
23rd November 2009, 17:56
Hi,

QTableWidget::setCurrentCell lets me select a particular cell from within the program, but I'd like to select an entire row--is there a way to do this? Thanks--

Matt

caduel
23rd November 2009, 18:57
please note that "current" and "selection" are two different things.

see QTableView::selectRow()

MattPhillips
24th November 2009, 14:51
Wow, take a peek up the inheritance hierarchy, what a concept! Thank you!

Matt