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. Mouse hover question

Mouse hover question

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 898 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.
  • A Offline
    A Offline
    ahura_24
    wrote on last edited by
    #1

    hi every body i have one question.
    i have a large widget and on it i have one pushbutton and one label ( children of widget )
    i want that i when go to widget (enter to widget with mouse) , pushbutton take hover.

    please help me tnx so much.

    1 Reply Last reply
    0
    • JeroentjehomeJ Offline
      JeroentjehomeJ Offline
      Jeroentjehome
      wrote on last edited by
      #2

      Hi,
      Maybe use the enterEvent / leaveEvent on the parent widget and then set the location of the mouse to the pushbutton when triggered (if new hover in the widget).

      Greetz, Jeroen

      1 Reply Last reply
      0
      • A Offline
        A Offline
        ahura_24
        wrote on last edited by
        #3

        hi ,
        i try postEvent with hoverEnter and leave
        or with setAttribute Qt::wa_hover but i failed.

        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