A question with QAction?

  • Does QAction has something like ON_UPDATE_COMMAND_UI which in MFC handle a user-interface update command message?

  • No. QAction is not a GUI element. QAction is used to describe an action for which a representation can be rendered on screen by different widgets: a menu or a toolbar or something like that. It is those that receive events that trigger a redraw.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.