[PyQt] How to get an event after an Enter key is pressed?
ilochab at gmail.com
Thu Jun 5 19:02:24 BST 2008
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
I'd like to be called when delete's key is pressed while the record line is
Thanks in advance for your help.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PyQt