QTableView setindexwidget signal/slot capture



  • Hi All!
    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!


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.