Results 1 to 8 of 8

Thread: DockWidget undock + mouseTracking

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2015
    Posts
    22
    Qt products
    Qt5
    Platforms
    Windows

    Smile DockWidget undock + mouseTracking

    Hey guys,

    So, what I'm trying to do is implement arrows to guide the user to dock dockWidgets. To do so, I have to track the mouse after the dockWidget is undocked and check whether is over the arrow or not.

    What I did so far: show the arrows after undock, but i tried to use moseEvents to detect whether the cursors enters the QLabel that has the arrows. The problem is the mouse is pressed dragging the dock, so the mouse event doesn't happen.

    Thanks in advance!
    Last edited by thibs; 5th January 2017 at 16:29. Reason: updated contents

Similar Threads

  1. QVTKWidget + Dock/undock + MAC OS.
    By rakeshthp in forum Qt Programming
    Replies: 3
    Last Post: 8th February 2016, 16:53
  2. Dock/Undock of Tabs in QTabWidget
    By Arjun in forum Qt Programming
    Replies: 2
    Last Post: 3rd November 2015, 17:14
  3. [MAC OSX] Mousetracking does not work in VideoWidget
    By Markus in forum Qt Programming
    Replies: 0
    Last Post: 1st October 2010, 23:23
  4. undock QDockWidget
    By chemstar in forum Qt Programming
    Replies: 1
    Last Post: 1st September 2006, 11:11
  5. mouseTracking
    By mickey in forum Newbie
    Replies: 1
    Last Post: 16th April 2006, 05:49

Tags for this Thread

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.