Hi! I'm trying to connect two QGroupBox. If the groupbox1 checked or clicked the other groupBox2 be disabled or enabled (setEnabled (false) or setEnabled (true)). In Qt Designer works well.
connect(groupBox1, SIGNAL(toggled(bool)), groupBox2, SLOT(setEnabled(bool)));
connect(groupBox1, SIGNAL(toggled(bool)), groupBox2, SLOT(setEnabled(bool)));
To copy to clipboard, switch view to plain text mode
ou
QObject::connect(groupBox1,
SIGNAL(clicked
(bool)), groupBox2,
SLOT(setEnabled
(bool)));
QObject::connect(groupBox1, SIGNAL(clicked(bool)), groupBox2, SLOT(setEnabled(bool)));
To copy to clipboard, switch view to plain text mode
Qt 4.4.3
Qt 4.4.3
To copy to clipboard, switch view to plain text mode
Any idea? Thanks
Bookmarks