This commit is contained in:
@@ -47,13 +47,17 @@ selectAvatarDialogImpl::selectAvatarDialogImpl(QWidget *parent, ConfigFile *c)
|
||||
listWidget->addItem(myItem);
|
||||
};
|
||||
|
||||
QObject::connect(groupBox, SIGNAL(toggled(bool)), this, SLOT(toggleGroupBox1(bool)));
|
||||
QObject::connect(groupBox_2, SIGNAL(toggled(bool)), this, SLOT(toggleGroupBox2(bool)));
|
||||
|
||||
}
|
||||
|
||||
void selectAvatarDialogImpl::exec() {
|
||||
|
||||
|
||||
|
||||
|
||||
QDialog::exec();
|
||||
|
||||
}
|
||||
|
||||
void selectAvatarDialogImpl::toggleGroupBox1(bool toogleState) { if(groupBox->isChecked()) groupBox_2->setChecked(FALSE); }
|
||||
|
||||
void selectAvatarDialogImpl::toggleGroupBox2(bool toogleState) { if(groupBox_2->isChecked()) groupBox->setChecked(FALSE); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user