Package com.trolltech.qt.gui

Examples of com.trolltech.qt.gui.QCheckBox


        filterSyntaxComboBox.addItem(tr("Wildcard"),
                                     QRegExp.PatternSyntax.Wildcard);
        filterSyntaxComboBox.addItem(tr("Fixed string"),
                                     QRegExp.PatternSyntax.FixedString);
       
        filterCaseSensitivityCheckBox = new QCheckBox(tr("Case sensitive"));
        filterCaseSensitivityCheckBox.setChecked(true);
       
        filterPatternLineEdit.textChanged.connect(this, "textFilterChanged()");
        filterSyntaxComboBox.currentIndexChanged.connect(this, "textFilterChanged()");
        filterCaseSensitivityCheckBox.toggled.connect(this, "textFilterChanged()");
View Full Code Here


    QGroupBox styleGroup = new QGroupBox(tr("GUI Style"));
    styleFormat = new QComboBox();       
    styleFormat.addItems(styles);
    styleFormat.activated.connect(this, "styleSelected(String)");
   
    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"));
    minimizeOnClose = new QCheckBox(tr("Close To Tray"));
    if (!QSystemTrayIcon.isSystemTrayAvailable()) {
      showTrayIcon.setEnabled(false);
      minimizeOnClose.setEnabled(false);
    }
    verifyDelete = new QCheckBox(tr("Verify Deletes"));
    startMinimized = new QCheckBox(tr("Start Minimized"));
    pdfPreview = new QCheckBox(tr("Display PDF Documents Inline"));
    checkForUpdates = new QCheckBox(tr("Check For Updates At Startup"));
    newNoteWithTags = new QCheckBox(tr("Create New Notes With Selected Tags"));
    anyTagSelection = new QCheckBox(tr("Display Notes Matching Any Selected Tags"));
    includeTagChildren = new QCheckBox(tr("Include Children In Tag Selection"));
    displayRightToLeft = new QCheckBox(tr("Display Notes Right-To-Left"));
   
    QHBoxLayout startupNotebookLayout = new QHBoxLayout();
    startupNotebook = new QComboBox();
    startupNotebook.addItem(tr("All Notebooks"), "AllNotebooks");
    startupNotebook.addItem(tr("Default Notebook"), "DefaultNotebook");
View Full Code Here

    fontSize = Global.getDefaultFontSize();
   
    // Group Box
    QGroupBox fontGroup = new QGroupBox(tr("New Note Defaults"));
    QGridLayout fontLayout = new QGridLayout();
    overrideFonts = new QCheckBox(tr("Override Defaults"));
    overrideFonts.setCheckable(true);
    overrideFonts.setChecked(Global.overrideDefaultFont());
    overrideFonts.clicked.connect(this, "toggleFontOverride(Boolean)");
    fontLayout.addWidget(overrideFonts,1,2);
   
View Full Code Here

   
    syncInterval = new QComboBox(this);
    syncTimes = new SyncTimes();
    syncInterval.addItems(syncTimes.stringValues());
   
    autoLogin = new QCheckBox("Automatic Connect");
    synchronizeDeletedContents = new QCheckBox("Synchronze Deleted Note Content");
    synchronizeOnClose = new QCheckBox("Synchronize On Shutdown (only if connected)");
   
    QGroupBox proxyGroup = new QGroupBox("Proxy Settings");
    QLabel proxyHostLabel = new QLabel(tr("Host"));
    QLabel proxyPortLabel = new QLabel(tr("Port"));
    QLabel proxyUseridLabel = new QLabel(tr("Userid"));
View Full Code Here

    setLayout(grid);   
     
    QWebView page = new QWebView(this);
    page.setUrl(new QUrl(Global.getUpdateAnnounceUrl()));
   
    doNotRemindeMe = new QCheckBox();
    doNotRemindeMe.setText(tr("Automatically check for updates at startup"));
    input.addWidget(page,1,1);
    doNotRemindeMe.setChecked(true);
    input.addWidget(doNotRemindeMe,2,1);
   
View Full Code Here

    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();

    QGridLayout textGrid = new QGridLayout();
    textGrid.addWidget(new QLabel(tr("Text")), 1,1);
    textGrid.addWidget(text, 1, 2);
    grid.addLayout(textGrid, 1, 1);
View Full Code Here

  private final QCheckBox ignoreUpperCase;
  private final QCheckBox  ignoreSentenceCapitalization;

 
  public ConfigSpellPage(QWidget parent) { 
    ignoreDigitWords = new QCheckBox(tr("Ignore words with numbers in them"));
    ignoreInternetAddresses = new QCheckBox(tr("Ignore internet addresses (i.e. http:// ftp://)"));
    ignoreMixedCase = new QCheckBox(tr("Ignore words with upper and lower cased letters"));
    ignoreUpperCase = new QCheckBox(tr("Ignore upper cased words"));
    ignoreSentenceCapitalization = new QCheckBox(tr("Ignore that sentences should begin with a capital letter"));
   
    setIgnoreDigitWords(Global.getSpellSetting(Configuration.SPELL_IGNOREDIGITWORDS));
    setIgnoreInternetAddresses(Global.getSpellSetting(Configuration.SPELL_IGNOREINTERNETADDRESSES));
    setIgnoreMixedCase(Global.getSpellSetting(Configuration.SPELL_IGNOREMIXEDCASE));
    setIgnoreUpperCase(Global.getSpellSetting(Configuration.SPELL_IGNOREUPPERCASE));
View Full Code Here

    setWindowIcon(new QIcon(iconPath+"nevernote.png"));
    setLayout(grid);
   
    QGridLayout textGrid = new QGridLayout();
    textGrid.setContentsMargins(10, 10,-10, -10);
    useDefault = new QCheckBox();
    iconButton = new QPushButton();
    iconButton.setSizePolicy(Policy.Fixed, Policy.Fixed);
    iconButton.clicked.connect(this, "iconButtonPressed()");
    useDefault.setText(tr("Use Default"));
    iconButton.setIcon(i);
View Full Code Here

    input.addWidget(new QLabel(tr("Password")), 1,1);
    input.addWidget(password, 1, 2);
    input.addWidget(new QLabel(tr("Verify")), 2,1);
    input.addWidget(password2, 2, 2);
   
    permanent = new QCheckBox();
    permanent.setText(tr("Permanently Decrypt"));
    input.addWidget(permanent,3,2);

    remember = new QCheckBox();
    remember.setText(tr("Remember For This Session"));
    input.addWidget(remember,4,2);
   
    input.setContentsMargins(10, 10,  -10, -10);
    grid.addLayout(input, 1,1);
View Full Code Here

    textLayout.addWidget(notebookLabel, 1,1);
    textLayout.addWidget(notebook, 1, 2);
    textLayout.setContentsMargins(10, 10,-10, -10);
    grid.addLayout(textLayout,1,1);
   
    localRemote = new QCheckBox();
    localRemote.setText(tr("Local Notebook"));
    localRemote.setChecked(false);
    grid.addWidget(localRemote, 2,1);

    isDefault = new QCheckBox();
    isDefault.setText(tr("Default Notebook"));
    isDefault.setChecked(false);
    isDefault.toggled.connect(this, "defaultNotebookChecked(Boolean)");
    grid.addWidget(isDefault, 3,1);
View Full Code Here

TOP

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

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.