Results 1 to 5 of 5

Thread: QDrag to Desktop in Windows

  1. #1
    Join Date
    Jun 2014
    Posts
    20
    Thanks
    2

    Default QDrag to Desktop in Windows

    Hello,

    anyone knows in Qt Drag&Drop how can i remove the small "not allow" symbol under the cursor when i try to drag an item from qt widget to the desktop?

    Thank you.

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: QDrag to Desktop in Windows

    Any specific reason why you would want to do that?
    The user will then not know why the drop didn't do anything, why it wasn't working.

    Cheers,
    _

  3. #3
    Join Date
    Jun 2014
    Posts
    20
    Thanks
    2

    Default Re: QDrag to Desktop in Windows

    Hello,

    i would like to implement a detachable tabbar in which the user could drag a tab to the desktop and it becomes a seperate window.

  4. #4
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: QDrag to Desktop in Windows

    I guess you have already tried setDragCursor()?

    Hmm, what about creating the detached window when the drag would start and the moving/dragging the window?

    Cheers,
    _

  5. #5
    Join Date
    Jun 2014
    Posts
    20
    Thanks
    2

    Default Re: QDrag to Desktop in Windows

    Hmm, i would try ur advice see how it happens.
    Thanks anyway.

Similar Threads

  1. Replies: 7
    Last Post: 13th February 2014, 07:23
  2. QDrag 4.7.3 Pixmap problems on Windows 7 (64Bit)
    By cunsdorfer in forum Qt Programming
    Replies: 0
    Last Post: 11th July 2011, 11:37
  3. windows Desktop background
    By mpsoft in forum General Programming
    Replies: 0
    Last Post: 5th April 2011, 09:16
  4. Accessing GPS device from qt desktop(windows) App
    By newtolinux in forum Qt Programming
    Replies: 7
    Last Post: 2nd November 2010, 21:05
  5. Draging a non-existing file to the Windows Desktop
    By klaus1111 in forum Qt Programming
    Replies: 13
    Last Post: 20th September 2007, 12:47

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.