[SOLVED]is it best to create 1 QAction, and then add it to toolbar, menu, popmenu ?
-
is it best to create 1 QAction, and then add it to toolbar, menu, popmenu ?
or create QPushButton for toolbar, qaction for menu, then connect them to the same slot? -
@opengpu2 said:
is it best to create 1 QAction, and then add it to toolbar, menu, popmenu ?
This is what
QAction
is designed for; so my answer is YES