Package com.trolltech.qt.gui

Examples of com.trolltech.qt.gui.QIntValidator


    unit.addItem(tr("Percent"),new Boolean(true));
    unit.addItem(tr("Pixels"),new Boolean(false));
   
   
    width = new QLineEdit("80");
    widthValidator = new QIntValidator(0,100, this);
    width.setValidator(widthValidator);
    width.textChanged.connect(this, "validateWidth()");
    rows = new QSpinBox();
    cols = new QSpinBox();
    rows.setMaximum(30);
View Full Code Here

TOP

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

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.