[PyQt] Getting mouse and key event with a qtablewidget

duncan duncan duncan73 at gmail.com
Thu Mar 15 15:51:13 GMT 2007


Hello.

I'd like to be able to process the mouse and key pressed event with a
qtablewidget
The goal is to have a table in which the number of rows and columns are
dinamically
created when certain keys are pressed and that had a context menu to delete
the
row/column.

An example can be: if I press the tab key on the last column, a column is
added to the table or if I press the
arrow down on the last row, a new row is added.

Any hints ?

thaks
Gianluca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20070315/ecbcd7b9/attachment.html


More information about the PyQt mailing list