Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Mousehover event on pushbutton
Qt 6.12 LTS is out! See what's new in the release blog

Mousehover event on pushbutton

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 626 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.
  • mit_cruzeM Offline
    mit_cruzeM Offline
    mit_cruze
    wrote on last edited by
    #1

    Hello, I have a menu on pushbutton. I want to show menu when cursor hovers over pushbutton and close menu when cursor is moved away.

    Thanks in advance.

    1 Reply Last reply
    0
    • RatzzR Offline
      RatzzR Offline
      Ratzz
      wrote on last edited by
      #2

      @mit_cruze
      Did you check this ?

      Useful links:
      http://stackoverflow.com/questions/411823/how-do-i-implement-qhoverevent-in-qt
      http://doc.qt.io/qt-5/qhoverevent.html#details

      --Alles ist gut.

      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
      • Unsolved