PDA

View Full Version : Drop Indicator



guilugi
12th January 2006, 16:26
Hi everybody,

I just registered, and this forum is really nicer than QtForum, great job ! :)

I have a little question about Qt4...I just implemented a custom drag & drop in a QTableWidget.
Everything works fine, until I enable the drop indicator (setDropIndicatorShown()).
Once it set to true, strangely I can't do anymore drops, they are forbidden...

Did someone experienced the same issue ?

Thanks,

Guilugi.

axeljaeger
15th January 2006, 16:40
Are they realy forbidden or does only the cursor show the forbidden sign? Do you call accept() on the dropEnterEvent?

guilugi
18th January 2006, 11:49
Hi Axel,

Thanks for the reply!

Well yes, drop is really forbidden, and I accept the event in dropEvent()...
Really strange...

Guilugi.