QT /PYqt/pyside如何实现鼠标悬停在菜单栏,菜单栏自动展开,不用点击呢?
重写mousemoveevent函数。
不是有鼠标事件吗? mouseevent
绑定鼠标事件,当鼠标悬停时展开菜单即可