Examples of QFormLayout


Examples of com.trolltech.qt.gui.QFormLayout

    sourceEdit.setFont(font);
    syntaxHighlighter = new Highlighter(sourceEdit.document());
    sourceEdit.textChanged.connect(this, "sourceEdited()");

    QVBoxLayout v = new QVBoxLayout();
    QFormLayout notebookLayout = new QFormLayout();
    QGridLayout dateLayout = new QGridLayout();
    titleLabel.setReadOnly(false);
    titleLabel.editingFinished.connect(this, "titleEdited()");
    browser.page().contentsChanged.connect(this, "contentChanged()");
    browser.page().selectionChanged.connect(this, "selectionChanged()");
    browser.page().mainFrame().javaScriptWindowObjectCleared.connect(this,
        "exposeToJavascript()");

    notebookBox.activated.connect(this, "notebookChanged()");
    resourceSignal = new NoteResourceSignal();
   
    QHBoxLayout tagLayout = new QHBoxLayout();
    v.addWidget(titleLabel, 0);
    notebookLayout.addRow(notebookLabel, notebookBox);
    tagLayout.addLayout(notebookLayout, 0);
    tagLayout.stretch(4);
    tagLayout.addWidget(tagLabel, 0);
    tagLayout.addWidget(tagEdit, 1);
    v.addLayout(tagLayout);
View Full Code Here

Examples of com.trolltech.qt.gui.QFormLayout

   
    standardPalette = new QCheckBox();
    standardPalette.setText(tr("Use standard palette"));
    standardPalette.clicked.connect(this, "standardPaletteChanged()");

    QFormLayout styleLayout = new QFormLayout();
    styleLayout.addWidget(styleFormat);
    styleLayout.addWidget(standardPalette);
   
    styleGroup.setLayout(styleLayout);

    QGroupBox tagBehaviorGroup = new QGroupBox(tr("Tag Behavior"));
    tagBehavior = new QComboBox();
    tagBehavior.addItem(tr("Do nothing"),"DoNothing");
    tagBehavior.addItem(tr("Count tags & do not hide inactive"),"NoHideInactiveCount");
    tagBehavior.addItem(tr("Count tags & hide inactive"),"HideInactiveCount");
    tagBehavior.addItem(tr("Color active tags"),"ColorActive");
   
    QFormLayout tagLayout = new QFormLayout();
    tagLayout.addWidget(tagBehavior);
    tagBehaviorGroup.setLayout(tagLayout);
   
   
   
    // Date/Time settings
    QGroupBox datetimeGroup = new QGroupBox(tr("Date/Time Format"));
    dateFormat = new QComboBox();       
    for (int i=0; i<dformats.size(); i++) {
      dateFormat.addItem(tr(dformats.get(i)));
    }
   
    timeFormat = new QComboBox();   
    for (int i=0; i<tformats.size(); i++) {
      timeFormat.addItem(tr(tformats.get(i)));
    }

    QFormLayout formatLayout = new QFormLayout();
    formatLayout.addWidget(dateFormat);
    formatLayout.addWidget(timeFormat);
    datetimeGroup.setLayout(formatLayout);
   
    mimicEvernote = new QCheckBox(tr("Mimic Evernote Selection Behavior (Requires Restart)"));
    showSplashScreen = new QCheckBox(tr("Show Splash Screen on Startup"));
    showTrayIcon = new QCheckBox(tr("Minimize To Tray"));
View Full Code Here

Examples of com.trolltech.qt.gui.QFormLayout

   
    if (!proxyHost.text().trim().equals("") && proxyPort.text().trim().equals(""))
      proxyPort.setValue(80);
   
   
    QFormLayout useridLayout = new QFormLayout();
    useridLayout.addWidget(new QLabel(tr("Syncronization Interval")));
    useridLayout.addWidget(syncInterval);
    useridLayout.addWidget(autoLogin);
    useridLayout.addWidget(synchronizeOnClose);
    useridLayout.addWidget(synchronizeDeletedContents);
   
    QGridLayout proxyLayout = new QGridLayout();
    proxyLayout.addWidget(proxyHostLabel,1,1);
    proxyLayout.addWidget(proxyHost,1,2);
    proxyLayout.addWidget(proxyPortLabel,2,1);
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.