Package com.trolltech.qt.gui

Examples of com.trolltech.qt.gui.QLineEdit


    layout = new QGridLayout();

    // Side bar setup
    QGridLayout sidebarLayout = new QGridLayout();
    sidebarScene = new QGraphicsScene(this);   
    QLineEdit textBox = new QLineEdit();
    sidebarView = new QGraphicsView(sidebarScene);
    slider = new TimingSlider(scene, textBox);
    slider.setFixedHeight(200);
    sidebarLayout.addWidget(new QLabel("Choose\nConstraint:"), 0, 0);
    sidebarLayout.addWidget(slider, 1, 0);
View Full Code Here


   
    hyperlink.setUnderline(true);
   
    loadCurrentDesignData();
   
        filterPatternLineEdit = new QLineEdit();
        filterPatternLabel = new QLabel(tr("&Filter pattern:"));
        filterPatternLabel.setBuddy(filterPatternLineEdit);

        filterSyntaxComboBox = new QComboBox();
        filterSyntaxComboBox.addItem(tr("Regular expression"),
View Full Code Here

   
    QLabel label = new QLabel("Please select edges that shall be part of the route.\n " +
        "Note: Routes have to consist of connected edges only! \n" +
        "Click Finish if you added all routes.");
   
    routeId = new QLineEdit();
    routeId.setText("Route" + new Random().nextInt());
    errorLabel = new QLabel("The edge you selected is not connected with the previous edge!");
    errorLabel.setVisible(false);
    errorLabel.setStyleSheet("background-color: red;");
   
View Full Code Here

    QLabel label = new QLabel(
        "Create a new vehicle with the following properties:");
    gridLayout.addWidget(label, 0, 0, 1, 2, AlignmentFlag.AlignHCenter);

    QLabel idLabel = new QLabel("Id:");
    edit_id = new QLineEdit();
    edit_id.setText("Vehicle" + new Random().nextInt());
    gridLayout.addWidget(idLabel, 1, 0, 1, 1, AlignmentFlag.AlignLeft);
    gridLayout.addWidget(edit_id, 1, 1, 1, 1, AlignmentFlag.AlignRight);

    QLabel routeLabel = new QLabel("Route: ");
View Full Code Here

    QLabel toNodeLabel = new QLabel("To Edge:");
    QLabel vTypeLabel = new QLabel("Vehicle Type:");
    QLabel periodLabel = new QLabel("Emit interval:");
    QLabel repnoLabel = new QLabel("Replication number:");

    idText = new QLineEdit("Trip" + new Random().nextInt());
    depTimeSpin = new QSpinBox();
    ModelManager mm = ModelManager.getInstance();
    depTimeSpin.setMinimum(mm.getSimulationStartTime());
    depTimeSpin.setMaximum(mm.getSimulationEndTime());
    fromEdgeEdit = new QLineEdit();
    fromEdgeEdit.setEnabled(false);
    fromEdgeSelectButton = new QPushButton("Select");
    fromEdgeSelectButton.pressed.connect(this, "onFromNodeSelect()");
    toEdgeEdit = new QLineEdit();
    toEdgeEdit.setEnabled(false);
    toEdgeSelectButton = new QPushButton("Select");
    toEdgeSelectButton.pressed.connect(this, "onToNodeSelect()");
    typeCombo = new QComboBox();
    SumoManager sm = SumoManager.getInstance();
View Full Code Here

    insideEncryption = false;
   
    fileWatcher = new QFileSystemWatcher();
//    fileWatcher.fileChanged.connect(this, "fileChanged(String)");
    noteSignal = new NoteSignal();
    titleLabel = new QLineEdit();
    evernoteLinkClicked = new Signal2<String,String>();
    titleLabel.setMaxLength(Constants.EDAM_NOTE_TITLE_LEN_MAX);
    urlText = new QLineEdit();
    authorText = new QLineEdit();
    geoBox = new QComboBox();
    urlLabel = new QPushButton();
    urlLabel.clicked.connect(this, "sourceUrlClicked()");
    authorLabel = new QLabel();
    conn = c;
View Full Code Here

    setWindowIcon(new QIcon(iconPath+"search.png"));
    QGridLayout grid = new QGridLayout();
    setLayout(grid);
   
    QGridLayout textLayout = new QGridLayout();
    searchName = new QLineEdit();
    textLayout.addWidget(new QLabel(tr("Name")), 1,1);
    textLayout.addWidget(searchName, 1, 2);
    query = new QLineEdit();
    textLayout.addWidget(new QLabel(tr("String")), 2,1);
    textLayout.addWidget(query, 2, 2);
    textLayout.setContentsMargins(10, 10,-10, -10);
    grid.addLayout(textLayout, 1, 1);
   
View Full Code Here

    QGroupBox proxyGroup = new QGroupBox("Proxy Settings");
    QLabel proxyHostLabel = new QLabel(tr("Host"));
    QLabel proxyPortLabel = new QLabel(tr("Port"));
    QLabel proxyUseridLabel = new QLabel(tr("Userid"));
    QLabel proxyPasswordLabel = new QLabel(tr("Password"));
    proxyHost = new QLineEdit();
    proxyPort = new QSpinBox();
    proxyUserid = new QLineEdit();
    proxyPassword = new QLineEdit();
    proxyPassword.setEchoMode(QLineEdit.EchoMode.Password);
   
    proxyHost.setText(Global.getProxyValue("url"));
    String portString = Global.getProxyValue("port");
    Integer port = new Integer(80);
View Full Code Here

    setWindowTitle(tr("Find"));
    setWindowIcon(new QIcon(iconPath+"search.png"));
    QGridLayout grid = new QGridLayout();
    setLayout(grid);

    text = new QLineEdit();
    wrap = new QCheckBox();
    forward = new QCheckBox();
    backward = new QCheckBox();
    caseSensitive = new QCheckBox();
View Full Code Here

    userid = "sysrabt";
   
    urlLabel = new QLabel("http://"+url +tr("/pub/") +userid + tr("/"));
    QHBoxLayout urlLayout = new QHBoxLayout();
    urlLayout.addWidget(urlLabel);
    this.url = new QLineEdit();
    this.url.textChanged.connect(this, "urlEdited()");
    urlLayout.addWidget(this.url);
   
    QVBoxLayout textEditLayout = new QVBoxLayout();
    textEditLayout.addWidget(new QLabel(tr("Notebook: ") +n.getName()));
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.