Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Can I use action to tie 2 buttons?
xalam last edited by
I have two buttons in a toolbar, one shows image and the other shows text associated with that image so both essentially respond to one item. Now they both needs to hidden if the value they represent is zero.
I know actions are typically used for menu and toolbar buttons but can actions be used in this case? Could you show me how can I tied the two items below to an action so when action is say disabled, these buttons both disappear?