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. QToolTip in SubDialogs does not hide properly

QToolTip in SubDialogs does not hide properly

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 282 Views
  • 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.
  • W Offline
    W Offline
    WWebber
    wrote on last edited by
    #1

    I have a main window and a QDialog child window. In the main window the tooltip disappears when I move with the mouse, but in the child window the tooltip behaves different and disappars after the timeout.
    I already tried to hide the text with QToolTip::hideText() in the child window, but the tooltip stays active. When I move the mouse on another control with a tooltip, the new tooltip will be displayed immediately, but moving in an empty area of the dialog does not hide the text.
    Is there anything I have to reset to make tooltips working also in the child dialog, before I open a child window?

    1 Reply Last reply
    0
    • Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Please show a minimal, compilable example to reproduce your problem. I'm not aware of such a behavior.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      2
      • W Offline
        W Offline
        WWebber
        wrote on last edited by
        #3

        Not so simple, as the dialogs are part of a main application. My main dialog is a non-modal and the child windows of it are modal. Maybe it is related to this..

        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