GroupButtons->setSizePolicy( aSizePolicy );
GroupButtons->setGeometry(QRect(10, 10, 281, 48));
//GroupButtons->setColumnLayout(0, Qt::Vertical);
- GroupButtons->layout()->setSpacing(0);
- GroupButtons->layout()->setMargin(0);
+ //GroupButtons->layout()->setSpacing(0);
+ //GroupButtons->layout()->setMargin(0);
QGridLayout* GroupButtonsLayout = new QGridLayout (GroupButtons);
+ GroupButtons->setLayout(GroupButtonsLayout);
GroupButtonsLayout->setAlignment(Qt::AlignTop);
GroupButtonsLayout->setSpacing(6);
GroupButtonsLayout->setMargin(11);
// Axis group
ButtonGroupIJKAxis = new QButtonGroup ( WidgetIJKTab);
- QGroupBox* aGBGroupBoxIJKAxis= new QGroupBox(tr("GRP_IJK_AXIS"), WidgetIJKTab );
+ //QGroupBox* aGBGroupBoxIJKAxis= new QGroupBox(tr("GRP_IJK_AXIS"), WidgetIJKTab );
+ GroupBoxIJKAxis= new QGroupBox(tr("GRP_IJK_AXIS"), WidgetIJKTab );
QHBoxLayout* aHBLay = new QHBoxLayout( GroupBoxIJKAxis );
- ButtonGroupIJKAxis->addButton( new QRadioButton (tr("I_RADIO_BTN"), GroupBoxIJKAxis) ); // 0
- ButtonGroupIJKAxis->addButton( new QRadioButton (tr("J_RADIO_BTN"), GroupBoxIJKAxis) ); // 1
- ButtonGroupIJKAxis->addButton( new QRadioButton (tr("K_RADIO_BTN"), GroupBoxIJKAxis) ); // 2
+ ButtonGroupIJKAxis->addButton( new QRadioButton (tr("I_RADIO_BTN"), GroupBoxIJKAxis), 0 ); // 0
+ ButtonGroupIJKAxis->addButton( new QRadioButton (tr("J_RADIO_BTN"), GroupBoxIJKAxis), 1 ); // 1
+ ButtonGroupIJKAxis->addButton( new QRadioButton (tr("K_RADIO_BTN"), GroupBoxIJKAxis), 2 ); // 2
ButtonGroupIJKAxis->button(0)->setChecked(true);
aHBLay->addWidget( ButtonGroupIJKAxis->button(0) );
aHBLay->addWidget( ButtonGroupIJKAxis->button(1) );
CheckBoxIJKPlaneReverse = new QCheckBox (tr("REVERSE_NORMAL_CHK"), WidgetIJKTab);
CheckBoxIJKPlaneReverse->setChecked(false);
- IJKParametersLayout->addWidget(aGBGroupBoxIJKAxis, 0, 0, 1, 2);
+ IJKParametersLayout->addWidget(GroupBoxIJKAxis, 0, 0, 1, 2);
IJKParametersLayout->addWidget(TextLabelIJKIndex, 1, 0);
IJKParametersLayout->addWidget(SpinBoxIJKIndex, 1, 1);
IJKParametersLayout->addWidget(CheckBoxIJKPlaneReverse, 2, 0);