Package com.trolltech.qt.gui

Examples of com.trolltech.qt.gui.QButtonGroup.addButton()


    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);
   
View Full Code Here


    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);
   
    edgesWidget = new QListWidget();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.