balasaravanan
11th January 2011, 05:21
Hi
I am using a QTabWidget. And when a tab is selected the currentChanged signal is emitted. Now if the user clicks the current tab again for the second time, the currentChanged signal is not emitted. And from then on, any number of clicks to the current tab is not emitting currentChanged signal.
My application has a logic where the tab contents will be different for the first time user clicks the tab and the second time the user clicks the same tab.
I would like to know how to activate this signal to be emitted everytime a user clicks the same tab.
Thanks and regards,
B
I am using a QTabWidget. And when a tab is selected the currentChanged signal is emitted. Now if the user clicks the current tab again for the second time, the currentChanged signal is not emitted. And from then on, any number of clicks to the current tab is not emitting currentChanged signal.
My application has a logic where the tab contents will be different for the first time user clicks the tab and the second time the user clicks the same tab.
I would like to know how to activate this signal to be emitted everytime a user clicks the same tab.
Thanks and regards,
B