#include <QHBoxLayout>
#include <QVBoxLayout>
#include <QGridLayout>
-#include <qvariant.h>
+#include <QVariant>
#include <QCheckBox>
#include <QKeyEvent>
+#include <QButtonGroup>
#define SPACING 6
#define MARGIN 11
/***************************************************************/
GroupConstructors = new QGroupBox(buttonGrTitle, this);
+ QButtonGroup* ButtonGroup = new QButtonGroup(this);
QHBoxLayout* GroupConstructorsLayout = new QHBoxLayout(GroupConstructors);
GroupConstructorsLayout->setSpacing(SPACING);
GroupConstructorsLayout->setMargin(MARGIN);
Constructor1->setChecked(true);
GroupConstructorsLayout->addWidget(Constructor1);
- GroupConstructorsLayout->addStretch();
+ ButtonGroup->addButton( Constructor1, 0 );
/***************************************************************/
GroupC1 = new QGroupBox(grBoxTitle, this);