Results 1 to 6 of 6

Thread: Preventing drop/drag outside the main window

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Preventing drop/drag outside the main window

    Quote Originally Posted by ucomesdag View Post
    Uh like? Even "snork" as mime type works on some greedy apps they just take everything
    hmm... i am not sure how to disable the drag and drop of other application from your application. But one thing more I can suggest.
    You can check the window/ widget which accepted the drop by drag->target() function. Hence based on the window that accepted the drag, you can perform actions in your application. Hope this might help you

  2. The following user says thank you to aamer4yu for this useful post:


Similar Threads

  1. move parent window to the front.
    By hvengel in forum Qt Programming
    Replies: 4
    Last Post: 2nd February 2007, 08:41
  2. Main window with custom buttons ?
    By probine in forum Qt Programming
    Replies: 1
    Last Post: 22nd November 2006, 06:32
  3. Replies: 5
    Last Post: 4th August 2006, 23:44
  4. cannot make a main window modal
    By Dark_Tower in forum Qt Programming
    Replies: 12
    Last Post: 23rd March 2006, 10:21
  5. Main window
    By Michiel in forum Qt Tools
    Replies: 1
    Last Post: 20th March 2006, 23:54

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
  •  
Qt is a trademark of The Qt Company.