hi all... i have a tableview in mu Qt Gui application... i wana let user to select multirows of table with pressing down CTRL button and click on them.... what shall i do?
hi all... i have a tableview in mu Qt Gui application... i wana let user to select multirows of table with pressing down CTRL button and click on them.... what shall i do?
Can you try using the below properties for ur TableView:
<ur TableView Object Name> ->setSelectionMode(QAbstractItemView::MultiSelection );
<ur TableView Object Name> ->setSelectionBehavior(QAbstractItemView::SelectRows );
thats right... but by this code the default mode of table would be multiselect.. i do not need this... read my question again..
Bookmarks