Home > other >  Gets the current click how from QMenu QAction?
Gets the current click how from QMenu QAction?

Time:04-17

Gets the current click how from QMenu QAction? Is the pop-up popup menu, QMenu: : exec () as a pop-up menu wouldn't disappear automatically, or QMenu: : activeAction ()? Is this?

CodePudding user response:

QAction * action=qobject_cast & lt; QAction * & gt; (sender ());
  • Related