QTableView setindexwidget signal/slot capture
I have added QComboBoxes for each of QTableView Columns using setindexwidget(). I have added my private slot function for currentIndexChanged() signal. But, when I try retrieving column using following code:
int column = ui.tableView->currentIndex().column();
it retrieves "-1"....
Am I missing anything?
Any help is greatly appreciated.
Thanks in advance!