[PyKDE] Getting cell coordinates in QTable's contextMenuEvent (code snippet included).

kgi iacovou at gmail.com
Fri Dec 23 21:39:48 GMT 2005


On Thursday 22 December 2005 04:23, Baz Walter wrote:

> The situation is even worse than this suggests, because right-clicking on
> the extreme right and left of a cell will give different results. Clearly,
> some special handling is required, but fortunately qt has already done this
> for you. Just connect up a handler to QTable.contextMenuRequested (see
> below) and the problem is solved.

Yes, that works perfectly, and is exactly what I was looking for. Thanks for 
your help, Baz!

Ricky




More information about the PyQt mailing list