z-index verschiebung der Felder verbessert

git-svn-id: http://svn.lsim.tuxzone.org/trunk@19 4bec179b-ab65-46ed-a5f8-55b8b5c735d0
This commit is contained in:
catdog2
2008-11-17 21:54:18 +00:00
parent ce2c7ac5ec
commit f01d249e27
7 changed files with 60 additions and 8 deletions

View File

@@ -110,6 +110,8 @@ void HomoBFieldWidget::createWidget() {
QRadioButton* intoPlaneButton = new QRadioButton(tr("in die Ebene hinein"));
QRadioButton* outOfPlaneButton = new QRadioButton(tr("aus der Ebene heraus"));
intoPlaneButton->setChecked(homoBField->getIsDirectionIntoPlane());
outOfPlaneButton->setChecked(!homoBField->getIsDirectionIntoPlane());
connect(homoBField ,SIGNAL(directionChanged(bool)),intoPlaneButton, SLOT(setChecked(bool)) );
connect(intoPlaneButton, SIGNAL(toggled(bool)),homoBField ,SLOT(setIsDirectionIntoPlane(bool)) );