Important: Please read the Qt Code of Conduct -

Continoupos Hover signal on QAction

  • Hello,

    I have an Action item in my Mainwindow Toolbar. I would like to check whether current the QAction is hovered or not( mouse is over there or not), based on that i do some operations.

    Could any one help me out?

  • Lifetime Qt Champion


    QAction have not "physical presence", since you are using a QToolBar you should either watch the corresponding QToolButton or the QToolBar itself using e.g. an event filter.

    Hope it helps

Log in to reply