I wrote an application where I display sql data on a
QTableView+QSqlQueryModel read only table.

The current version allows you to select via mouse a record on that table
and then add it to an other one, pressing an add-button.

I'd like to give an alternate way to do this: after record line is selected
on the table I'd like to be called on the pression of enter's key and react
to it just like if the add button was pressed.

If is possible to obtain this behaviour I'd like to trap an other button
too:
I'd like to be called when delete's key is pressed while the record line is
selected.

Thanks in advance for your help.
Ciao
Licia
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to