Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QTableView setindexwidget signal/slot capture
navap last edited by
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!