Package com.trolltech.qt.gui

Examples of com.trolltech.qt.gui.QTabWidget


   
    setupFileActions();
    setWindowTitle(title);

    // Setup Windows
    tabs = new QTabWidget();
    setCentralWidget(tabs);
   
    setupTileWindow();
    statusLabel = new QLabel("Status Bar");
    statusLabel.setText("Status Bar");
View Full Code Here


        getClass().getClassLoader(), "route.png"));

    QLabel selectLabel = new QLabel(
        "Please select whether you want to create Routes or Trips for Sumo:");

    QTabWidget tabWidget = new QTabWidget();
    QTabBar routeBar = new QTabBar();
    routeBar.setTabText(0, "Test");

    QBoxLayout layout = new QBoxLayout(Direction.TopToBottom);

    routeGenerationWidget = createRouteWidget();
    tripGenerationWidget = createTripWidget();

    tabWidget.addTab(tripGenerationWidget, "Trips");
    tabWidget.addTab(routeGenerationWidget, "Routes");

    QPushButton okButton = new QPushButton("OK");
    okButton.pressed.connect(this, "onDialogOk()");

    layout.addWidget(selectLabel);
View Full Code Here

TOP

Related Classes of com.trolltech.qt.gui.QTabWidget

Copyright © 2018 www.massapicom. 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.