I've figured out a work around.  Should have thought of this before posting.
Just check the keys to see if they are delete or backspace.  Null the
current field.  Reset the view.

Figured out how to check keys from the Qtanoid in "Meet Qt Jambi" in an old
Qt Quaterly.  Thanks Gunnar.
Caymran

protected void keyPressEvent(QKeyEvent event){
if (event.key()==Qt.Key.Key_Delete.value() ||
event.key()==Qt.Key.Key_Backspace.value()){
                tblmodel.setData(this.ui.tableView.currentIndex(), null);
                this.ui.tableView.reset();
        }
}  
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest

Reply via email to