QRadioButton waySelection = new QRadioButton("Way");
waySelection.setChecked(true);
waySelection.toggled.connect(this,"waySelectionToggled(boolean)");
QRadioButton edgeSelection = new QRadioButton("Edge");
edgeSelection.toggled.connect(this,"edgeSelectionToggled(boolean)");
bGroup.addButton(waySelection);
bGroup.addButton(edgeSelection);
QBoxLayout selBox = new QBoxLayout(Direction.LeftToRight);
selBox.addWidget(waySelection);
selBox.addWidget(edgeSelection);