I have the following code where moreButton is QPushButton . When I switch the button, nothing happens.
Do not show or hide secondaryGroupBox and tertiaryGroupBox ?
QObject::connect(moreButton, SIGNAL(toggled(bool)), secondaryGroupBox, SLOT(setVisible(bool))); QObject::connect(moreButton, SIGNAL(toggled(bool)), tertiaryGroupBox, SLOT(setVisible(bool)));
source share