Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. What would prevent a dropEvent from triggering?
Forum Updated to NodeBB v4.3 + New Features

What would prevent a dropEvent from triggering?

Scheduled Pinned Locked Moved General and Desktop
3 Posts 3 Posters 991 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    litlbear
    wrote on last edited by
    #1

    I'm using Window 7, 64-bit OS. I'm trying to do a drag and drop between two QTreeWidgets. What would prevent a dropEvent from triggering and how do I fix it?

    1 Reply Last reply
    0
    • P Offline
      P Offline
      PeerS
      wrote on last edited by
      #2

      There is not much information you give us, so a lot of things can be wrong .....

      • Could be a missing setAcceptDrops(true).
      • Could be a wrong implementation of the method dragEnterEvent.
      • ...

      You should give us a bit more information, e.g. a bit code showing the relevant parts :)

      1 Reply Last reply
      0
      • raven-worxR Offline
        raven-worxR Offline
        raven-worx
        Moderators
        wrote on last edited by
        #3

        as addition to PeerS:
        Did you implement the 3 drag-n-drop event handlers? If so, please show the code.
        It also may be an installed event filter which filters the event for the widget, etc.

        --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
        If you have a question please use the forum so others can benefit from the solution in the future

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved