Hi all,
I need monitoring the changes in the data content of a cell of QTableView.
I have a QTableView widget into QMainWindow.
I have tried with the QAbstractItemView signals, the slots are called in my QMainWindow class, but neither of them accomplish the target that I need.
I have tried with the currentChanged( const QModelIndex & current, const QModelIndex & previous ) signal of QItemSelectionModel, as above the slot is called, but itsn't accomplish the target that I need too.
I make the connects like this:
Qt Code:
connect(ui->myTableView->selectionModel(), SIGNAL(currentChanged ( QModelIndex const&, QModelIndex const& )), this, SLOT(onCurrentChanged(QModelIndex con7st&, QModelIndex const&))); connect(ui->myTableView, SIGNAL(pressed(const QModelIndex &)), this, SLOT(onPressed(const QModelIndex &)));To copy to clipboard, switch view to plain text mode
There are any signal / slot / method or similar that I could use to accomplish my target?
Best regards.
Bookmarks