Qt-interest Archive, July 2007
QTableWidget - signal when highlighting a row?
Message 1 in thread
I have a QTableWidget with the selection behaviour
setSelectionBehavior(QAbstractItemView::SelectRows);
I would like to get a signal when the row number is clicked
highlighting the whole row, but can't seem to find one.
If any cell in the row is clicked I can get a signal
from 'cellActivated' but not if the row number block is
clicked. Is there such a signal?
DS
Get news delivered with the All new Yahoo! Mail. Enjoy RSS feeds right on your Mail page. Start today at http://mrd.mail.yahoo.com/try_beta?.intl=ca
--
[ signature omitted ]
Message 2 in thread
On 02.07.07 23:17:20, David Scriven wrote:
> I have a QTableWidget with the selection behaviour
> setSelectionBehavior(QAbstractItemView::SelectRows);
>
> I would like to get a signal when the row number is clicked
> highlighting the whole row, but can't seem to find one.
> If any cell in the row is clicked I can get a signal
> >from 'cellActivated' but not if the row number block is
> clicked. Is there such a signal?
There are various Changed signals on the QItemSelectionModel of the
view.
Andreas
--
[ signature omitted ]