I was wondering what the best way to delete a QListWidget item when you press the delete key.

Should I write my own class that inherits QListWidget and overwrite the keyPressEvent() method to capture the delete key? There must be a better design.

Thanks!
Brandon P.