Examples of QLabel


Examples of com.trolltech.qt.gui.QLabel

    cancelButton = new QPushButton();
    cancelButton.setText(tr("Cancel"));
    cancelButton.pressed.connect(this, "onCancel()");
   
    QVBoxLayout openLayout = new QVBoxLayout();
    openLayout.addWidget(new QLabel(tr("Open Notebooks")));
    openLayout.addWidget(openBookList);
   
    rightButton = new QPushButton(this);
    rightButton.setIcon(new QIcon(iconPath+"forward.png"));
    leftButton = new QPushButton(this);
    leftButton.setIcon(new QIcon(iconPath+"back.png"));
    leftButton.setEnabled(false);
    rightButton.setEnabled(false);
   
    QVBoxLayout middleLayout = new QVBoxLayout();
    middleLayout.addSpacerItem(new QSpacerItem(1,1));
    middleLayout.addWidget(rightButton);
    middleLayout.addWidget(leftButton);
    middleLayout.addSpacerItem(new QSpacerItem(1,1));

    QVBoxLayout closeLayout = new QVBoxLayout();
    closeLayout.addWidget(new QLabel(tr("Closed Notebooks")));
    closedBookList = new QListWidget();
    closedBookList.setSortingEnabled(true);
    closedBookList.setSelectionMode(QAbstractItemView.SelectionMode.MultiSelection);
    closeLayout.addWidget(closedBookList);
View Full Code Here

Examples of com.trolltech.qt.gui.QLabel

    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);
   
    main.addLayout(comboLayout);
       
View Full Code Here

Examples of com.trolltech.qt.gui.QLabel

    QVBoxLayout middleLayout = new QVBoxLayout();
    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);
View Full Code Here

Examples of com.trolltech.qt.gui.QLabel

    password = new QLineEdit(passwordValue);
    password.setEchoMode(QLineEdit.EchoMode.Password);
   
    password.textChanged.connect(this, "validateInput()");
   
    passwordGrid.addWidget(new QLabel(tr("Password")), 2,1);
    passwordGrid.addWidget(password, 2, 2);
    passwordGrid.setContentsMargins(10, 10,  -10, -10);
    grid.addLayout(passwordGrid,1,1);
   
    ok = new QPushButton(tr("OK"));
View Full Code Here

Examples of com.trolltech.qt.gui.QLabel

    cols.setMaximum(30);
    cols.setMinimum(1);
   
    unit.activated.connect(this, "unitChanged()");
   
    input.addWidget(new QLabel(tr("Rows")), 1,1);
    input.addWidget(rows, 1, 2);
    input.addWidget(new QLabel(tr("Columns")), 2,1);
    input.addWidget(cols, 2, 2);
    input.addWidget(new QLabel(tr("Width")), 3,1);
    input.addWidget(width, 3, 2);
    input.addWidget(new QLabel(tr("Unit")),4,1);
    input.addWidget(unit,4,2);
     input.setContentsMargins(10, 10,  -10, -10);
    grid.addLayout(input, 1,1);
   
    error = new QLabel();
    msgGrid.addWidget(error, 1, 1);
    grid.addLayout(msgGrid, 2, 1);
   
    ok = new QPushButton(tr("OK"));
    ok.clicked.connect(this, "okButtonPressed()");
View Full Code Here

Examples of com.trolltech.qt.gui.QLabel

    password2.setEchoMode(QLineEdit.EchoMode.Password);
   
    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);
    passwordGrid.addWidget(new QLabel(tr("Verify Password")), 2,1);
    passwordGrid.addWidget(password2, 2, 2);
    passwordGrid.addWidget(encryptionLabel, 3,1);
    passwordGrid.addWidget(encryptionType, 3,2);
    passwordGrid.setContentsMargins(10, 10,  -10, -10);
    grid.addLayout(passwordGrid,1,1);
View Full Code Here

Examples of com.trolltech.qt.gui.QLabel

 
  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");
   
    QHBoxLayout messageLayout = new QHBoxLayout();
    messageLayout.addWidget(messageLevelLabel);
    messageLayout.addWidget(messageCombo);
    messageLayout.setStretch(1, 100);
   
   
    QHBoxLayout databaseCacheLayout = new QHBoxLayout();
    databaseCache = new QSpinBox();
    databaseCacheLayout.addWidget(new QLabel(tr("Database Cache (MB) - Requires restart")));
    databaseCache.setMinimum(4);
    databaseCache.setMaximum(128);
    databaseCache.setValue(new Integer(Global.databaseCache)/1024);
    databaseCacheLayout.addWidget(databaseCache);
    databaseCacheLayout.setStretch(1, 100);
   
    QVBoxLayout mainLayout = new QVBoxLayout();
    mainLayout.addLayout(messageLayout);
    mainLayout.addLayout(databaseCacheLayout);
   
    QHBoxLayout thumbnailLayout = new QHBoxLayout();
    QLabel thumbnailLabel = new QLabel(tr("Enable Thumbnails (experimental)"));
    thumbnailLayout.addWidget(thumbnailLabel);
    enableThumbnails = new QCheckBox(this);
    thumbnailLayout.addWidget(enableThumbnails);
    mainLayout.addLayout(thumbnailLayout);
   
View Full Code Here

Examples of org.kde.qt.QLabel

    this(null, null);
   
  }

  private void createStatusBar() {
    msg = new QLabel(statusBar(), "message");
    msg.setAlignment(AlignCenter);
    QFont boldfont = new QFont();
    boldfont.setWeight(QFont.Bold);
    msg.setFont(boldfont);
    statusBar().addWidget(msg, 4);
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.