For a QTableView you would connect to signals like:Originally Posted by zlatko
void QAbstractItemView::doubleClicked ( const QModelIndex & index )
void QAbstractItemView::entered ( const QModelIndex & index )
I don't see any particular signal for leaving an item. But of course you can save row/col or a persistent index for the previously colourized cell and uncolourize during the entered signal of another item and possibly leave event of the whole table view..





Reply With Quote
Bookmarks