Enable/disable toolbar actions by tabpage change
General and Desktop
2
Posts
2
Posters
4.1k
Views
1
Watching
-
I have a tabbed interface with a mainwindow and a tabwidget. I have also a maintoolbar.
I want to disable/enable some buttons on my toolbar depending of the current active tabpage. For example, I want to enable the Save button only on tabpages that has pending changes.
How can I do it?
A lot of thanks,
Alex B.