when user moves to new position in tableView via mouse or keyboard how do you get the current row number ?
something like thisrow= (tableView->currentRow().toint); //
![]()
when user moves to new position in tableView via mouse or keyboard how do you get the current row number ?
something like thisrow= (tableView->currentRow().toint); //
![]()
try this
Qt Code:
... int row = tableView->currentIndex().row(); ...To copy to clipboard, switch view to plain text mode
Qt Assistant -- rocks!
please, use tags [CODE] & [/CODE].
Thank You Spirit, I tried every thing but that !!![]()
Bookmarks