In my project I use a QTableView and I want to delete the current row when the user press del. I want to catch the signal keyPressEvent(QKeyEvent*) of the tableview but it does not work do you know why? I used :
connect(ui.categoriesTree,SIGNAL(keyPressEvent(QKe yEvent*)),this,SLOT(FilesKeyPressEvent(QKeyEvent*) ));
and I don’t get the function executed. Thanks a lot.
Bookmarks