我在做一个tabwidget,比如说有2页,每页下面都有checkbox,我想要的效果是,切换每一页的时候,每页下面的checkbox都变成
没有选中的情况
6]21D{RKO[_$S0C@3[56JE.jpg)

我把这个currentChanged的信号和我自己写的把所有checkbox都清除的槽,连接.发现切换的时候,那些checkbox并没有清除
这个是currentChanged的函数说明
void
QTabWidget::currentChanged ( int index ) [signal]
This
signal is emitted whenever the current page index changes. The parameter is the new current page index position, or -1 if there isn't a new one (for example, if there are no widgets in the QTabWidget)
我觉得应该没有理解错啊,当页数改变的时候发送信号,发送的信号是页数
求大神解释