[PyQt] TableWidget signal while drag

Hugo Léveillé hugol at fastmail.net
Mon Mar 26 14:27:04 BST 2012


Works like a charm

Thanks!

On Mon, Mar 26, 2012, at 15:16, Sebastian Elsner wrote:
> Hi Hugo,
> 
> you can subclass the tableWidget and reimplement dragMoveEvent. The
> event passed to the method holds the cursors position and with
> QTableWidget.itemAt(pos) you get the item at the cursor position.
> 
> Cheers
> 
> Sebastian
> 
> 
> Am 26.03.2012 14:52, schrieb Hugo Léveillé:
> > Hi
> >
> > While doing a drag inside a tableWidget, is their a signal to get to
> > hovered row the mouse is passing on ? itemEntered works fine but not
> > while dragging an item
> >
> > thanks
> >
> >
> 


-- 
  Hugo Léveillé
  TD Compositing, Vision Globale
  hugol at fastmail.net



More information about the PyQt mailing list