Package com.trolltech.qt.gui

Examples of com.trolltech.qt.gui.QScrollArea


   
    QWidget checkBoxGroup = new QWidget();
    checkBoxGroup.setLayout(checkboxLayout);

    QScrollArea scrollArea = new QScrollArea();
    scrollArea.setHorizontalScrollBarPolicy(Qt.ScrollBarPolicy.ScrollBarAsNeeded);
    scrollArea.setVerticalScrollBarPolicy(Qt.ScrollBarPolicy.ScrollBarAsNeeded);
    scrollArea.setWidgetResizable(true);
    scrollArea.setWidget(checkBoxGroup);

    mainLayout.addWidget(scrollArea);
    setLayout(mainLayout);
   
    showTrayIcon.clicked.connect(this, "showTrayIconClicked(Boolean)");
View Full Code Here


    QImage image2 = new QImage(Global.getFileManager().getResDirPath("thumbnail.png"));
        imageLabel2.setPixmap(QPixmap.fromImage(image2).scaled(400,400));
        subLayout.addWidget(imageLabel2);
        masterLabel.setLayout(subLayout);

        QScrollArea scrollArea = new QScrollArea();
        scrollArea.setWidget(masterLabel);
   
    QPushButton okButton = new QPushButton(tr("OK"));
    okButton.clicked.connect(this, "okPushed()");
    ;
   
View Full Code Here

TOP

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

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.