Package com.trolltech.qt.gui

Examples of com.trolltech.qt.gui.QLineEdit


    unit = new QComboBox(this);
    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();
View Full Code Here


    QGridLayout grid = new QGridLayout();
    setLayout(grid);
    QGridLayout passwordGrid = new QGridLayout();
    QGridLayout buttonGrid = new QGridLayout();
       
    password1 = new QLineEdit();
    password1.setEchoMode(QLineEdit.EchoMode.Password);
    password2 = new QLineEdit();
    password2.setEchoMode(QLineEdit.EchoMode.Password);
   
    password1.textChanged.connect(this, "validateInput()");
    password2.textChanged.connect(this, "validateInput()");
   
View Full Code Here

TOP

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

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.