Results 1 to 3 of 3

Thread: Drop Indicator

  1. #1
    Join Date
    Jan 2006
    Location
    Paris, France
    Posts
    227
    Thanks
    3
    Thanked 21 Times in 21 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Smile Drop Indicator

    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.

  2. #2
    Join Date
    Jan 2006
    Location
    Frankfurt
    Posts
    500
    Thanks
    1
    Thanked 52 Times in 52 Posts
    Platforms
    MacOS X Unix/X11

    Default Re: Drop Indicator

    Are they realy forbidden or does only the cursor show the forbidden sign? Do you call accept() on the dropEnterEvent?
    It's nice to be important but it's more important to be nice.

  3. #3
    Join Date
    Jan 2006
    Location
    Paris, France
    Posts
    227
    Thanks
    3
    Thanked 21 Times in 21 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Drop Indicator

    Hi Axel,

    Thanks for the reply!

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

    Guilugi.

Similar Threads

  1. Replies: 4
    Last Post: 26th September 2011, 13:02
  2. Change cursor & status during Drag & Drop
    By ronlongo in forum Qt Programming
    Replies: 0
    Last Post: 1st December 2008, 17:56
  3. Drop indicator not displaying with QTreeView. Need help
    By bigchiller in forum Qt Programming
    Replies: 12
    Last Post: 12th March 2008, 12:38
  4. Drag and drop indicator
    By iswm in forum Qt Programming
    Replies: 2
    Last Post: 19th April 2007, 19:58
  5. Drag and drop revisited
    By Big Duck in forum Newbie
    Replies: 2
    Last Post: 30th June 2006, 17:41

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.