Qt-interest Archive, July 2006
Re: QTableWidget and drop
Message 1 in thread
On Thursday 29 June 2006 12:36, Gabor BOROS wrote:
> Hi!
>
> I have a problem with QTableWidget and dropping, when i'm trying to
> drop something to the widget, the dragEnterEvent runs fine, but the
> dropEvent is never.. I tried the same code subclassing a QMainWindow,
> or a QLabel, and worked well, only QTableWidget doesn't want to accept
> dropping..
>
> Any suggestions would be welcome.
> Thanks, Gabor Boros
Hi there, you also have to implement dragMoveEvent(), the default
implementation is rejecting the drag/drop
-Benjamin Meyer
--
[ signature omitted ]