Solved Best way to init QWidgetAction when shown from QToolButton's menu?
-
I have a QToolButton which has a popup menu containing a QWidgetAction with a slider. I need to initialize the slider when the popup us shown. What is the best way to get notified that the popup has been shown?
Thanks!
-
Hi
What about
http://doc.qt.io/qt-5/qmenu.html#aboutToShow -
Perfect! I knew there was a better way than installing an event filter....