Examples of QComboBox


Examples of com.trolltech.qt.gui.QComboBox

    textEditLayout.addLayout(urlLayout);
    textEditLayout.addWidget(new QLabel(tr("Description")));
    description = new QTextEdit();
    textEditLayout.addWidget(description);
   
    sortedBy = new QComboBox(this);
    sortOrder = new QComboBox(this);
    QHBoxLayout orderLayout = new QHBoxLayout();
    orderLayout.addWidget(new QLabel(tr("Sort By")));
    Qt.Alignment right = new Qt.Alignment();
    right.set(Qt.AlignmentFlag.AlignRight);
    orderLayout.setAlignment(right);
View Full Code Here

Examples of com.trolltech.qt.gui.QComboBox

    setWindowTitle(tr("Stack Notebook"));
    QGridLayout grid = new QGridLayout();
    setLayout(grid);
   
    QGridLayout textGrid = new QGridLayout();
    stack = new QComboBox();
    stack.setEditable(true);
    textGrid.addWidget(new QLabel(tr("Stack Name")), 1,1);
    textGrid.addWidget(stack, 1, 2);
    textGrid.setContentsMargins(10, 10,-10, -10);
    grid.addLayout(textGrid,1,1);
View Full Code Here

Examples of com.trolltech.qt.gui.QComboBox

  public OnlineNoteHistory(ApplicationLogger l, DatabaseConnection c) {
    setWindowTitle(tr("Online Note History"));
    setWindowIcon(new QIcon(iconPath+"notebook-green.png"));
    QVBoxLayout main = new QVBoxLayout();
    setLayout(main);
    historyCombo = new QComboBox(this);
   
    QHBoxLayout comboLayout = new QHBoxLayout();
    comboLayout.addWidget(new QLabel(tr("History Date:")));
    comboLayout.addWidget(historyCombo);
    comboLayout.addStretch(100);
View Full Code Here

Examples of com.trolltech.qt.gui.QComboBox

    middleLayout.addSpacerItem(new QSpacerItem(1,1));
    middleLayout.addSpacerItem(new QSpacerItem(1,1));

    QVBoxLayout closeLayout = new QVBoxLayout();
    closeLayout.addWidget(new QLabel(tr("Merge Into")));
    newTag = new QComboBox();
    closeLayout.addWidget(newTag);
   
    QHBoxLayout buttonLayout = new QHBoxLayout();
    buttonLayout.addStretch(1);
    buttonLayout.addWidget(okButton);
View Full Code Here

Examples of com.trolltech.qt.gui.QComboBox

    okPressed = false;
    setWindowTitle(tr("Quick Link Notes"));
    setWindowIcon(new QIcon(iconPath+"notebook-green.png"));
    QVBoxLayout main = new QVBoxLayout();
    setLayout(main);
    titleCombo = new QComboBox(this);
   
    QHBoxLayout comboLayout = new QHBoxLayout();
    comboLayout.addWidget(new QLabel(tr("Matching Notes:")));
    comboLayout.addWidget(titleCombo);
    comboLayout.addStretch(100);
View Full Code Here

Examples of com.trolltech.qt.gui.QComboBox

    QGridLayout input = new QGridLayout();
    QGridLayout msgGrid = new QGridLayout();
    QGridLayout button = new QGridLayout();
    setLayout(grid);
   
    unit = new QComboBox(this);
    unit.addItem(tr("Percent"),new Boolean(true));
    unit.addItem(tr("Pixels"),new Boolean(false));
   
   
    width = new QLineEdit("80");
View Full Code Here

Examples of com.trolltech.qt.gui.QComboBox

   
    password1.textChanged.connect(this, "validateInput()");
    password2.textChanged.connect(this, "validateInput()");
   
    encryptionLabel = new QLabel(tr("Encryption Method"));
    encryptionType = new QComboBox();
    encryptionType.addItem(tr("AES"), "AES");
    encryptionType.addItem(tr("XTEA"), "XTEA");
   
    passwordGrid.addWidget(new QLabel(tr("Password")), 1,1);
    passwordGrid.addWidget(password1, 1, 2);
View Full Code Here

Examples of com.trolltech.qt.gui.QComboBox

  public ConfigDebugPage(QWidget parent) {
    super(parent);
    // Server settings
    QGroupBox serverGroup =  new QGroupBox(tr("Server Configuration"));
    QLabel serverLabel = new QLabel(tr("Server"));
    serverCombo = new QComboBox();
    serverCombo.addItem("www.evernote.com");
    serverCombo.addItem("sandbox.evernote.com");
    disableUploads = new QCheckBox();
    disableUploads.setText(tr("Disable uploads to server"));

    QHBoxLayout serverLayout = new QHBoxLayout();
    serverLayout.addWidget(serverLabel);
    serverLayout.addWidget(serverCombo);
    serverLayout.addWidget(disableUploads);
    serverGroup.setLayout(serverLayout);

    QLabel messageLevelLabel = new QLabel(tr("Message Level"));
    messageCombo = new QComboBox();
    messageCombo.addItem(tr("Low"),"Low");
    messageCombo.addItem(tr("Medium"),"Medium");
    messageCombo.addItem(tr("High"),"High");
    messageCombo.addItem(tr("Extreme"),"Extreme");
   
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.