This commit is contained in:
doitux
2007-05-25 11:22:51 +00:00
parent 654ce481ca
commit d01ecaf885
3 changed files with 162 additions and 20 deletions
@@ -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); }