Thanks wysota for the suggestion.
Following is what I tried
My dialog consists of a TabWidget (myTabWid)
myTabWid has 5 tab's : Tab1, Tab2...Tab5
1. Added a connect only for Tab2, as I am concerned only with this tab
connect (Tab2, SIGNAL(hideEvent()), this, SLOT(verifyTab2());
connect (Tab2, SIGNAL(hideEvent()), this, SLOT(verifyTab2());
To copy to clipboard, switch view to plain text mode
2. The SLOT function was added in the header file
3. In verifyTab2, I execute my required code.
But I notice this 'verifyTab2()' is not called!! Am I missing something here?
Kindly advise. Thanks.
Bookmarks