Package com.trolltech.qt.gui

Examples of com.trolltech.qt.gui.QCheckBox


 
  public SynchronizationRequiredWarning(QWidget parent) { 
    setWindowTitle(tr("Synchronization Required"));
      String iconPath = new String("classpath:cx/fbn/nevernote/icons/");
      setWindowIcon(new QIcon(new QIcon(iconPath+"synchronize.png")));
    neverSynchronize = new QCheckBox(tr("I never want to synchronize with Evernote so quit bothering me."));
    okButton = new QPushButton(tr("Ok"));
    QTextBrowser warning = new QTextBrowser();
    warning.setText(tr("Please synchronize with Evernote before proceeding.\n\n" +
        "In order to use this feature you need to synchronize with Evernote.  After synchronizing" +
        " the necessary information will be saved so you won't need to do it again.  \n\n"
View Full Code Here


    textGrid.addWidget(tag, 1, 2);
   
    textGrid.setContentsMargins(10, 10,-10, -10);
    grid.addLayout(textGrid,1,1);

    useParentTag = new QCheckBox();
    useParentTag.setVisible(false);
    useParentTag.setChecked(false);
    grid.addWidget(useParentTag,2,1);
   
    QGridLayout buttonGrid = new QGridLayout();
View Full Code Here

    weightLayout.addWidget(weightSpinner);
    weightGroup.setLayout(weightLayout);
   
    // Local attachment indexing
    QGroupBox attachmentGroup = new QGroupBox(tr("Content"));
    indexBody = new QCheckBox(tr("Index Note Body"));
    indexBody.setChecked(Global.indexNoteBody());
    indexTitle = new QCheckBox(tr("Index Note Title"));
    indexTitle.setChecked(Global.indexNoteTitle());
    indexAttachmentsLocally = new QCheckBox(tr("Index Attachments Locally"));
    indexAttachmentsLocally.setChecked(Global.indexAttachmentsLocally());
    indexImageRecognition = new QCheckBox(tr("Index Image Recognition"));
    indexImageRecognition.setChecked(Global.indexImageRecognition());
   
    automaticWildcard = new QCheckBox(tr("Automatically Wildcard All Searches"));
    automaticWildcard.setChecked(Global.automaticWildcardSearches());
   
    specialStrip = new QLineEdit();
    specialStrip.setText(Global.getSpecialIndexCharacters());
   
View Full Code Here

    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);
   
    mainLayout.addWidget(serverGroup);
   
    QGroupBox crlfGroup = new QGroupBox(tr("Carriage Return Fix"));
    String crlfMessage = new String(tr("Note: The carriage return is a test fix.  If you " +
    "enable it, it will do some modifications to the notes you view to try and" +
    " get the carriage returns to look correct.  This is due to the way that " +
    "the way Evernote 3.1 Windows client is dealing with carriage returns.  This fix"+
    "will try and correct this problem.  This fix is not permanent unless you edit a note.  If" +
    "you edit a note, this fix is PERMANENT and will be sent to Evernote on the next sync.  I haven't" +
    "had any issues with this, but please be aware of this condition."));
    carriageReturnFix = new QCheckBox(this);
    QVBoxLayout crlfLayout = new QVBoxLayout();
    carriageReturnFix.setText(tr("Enable Carriage Return Fix"));
    crlfLayout.addWidget(carriageReturnFix);
    crlfGroup.setLayout(crlfLayout);

    QGroupBox htmlGroup = new QGroupBox(tr("Android Note Fix"));
    String entitiesMessage = new String(tr("Note: This is an experimental fix to correct Unicode" +
        " notes created on Android Evernote clients."));
    htmlEntitiesFix = new QCheckBox(this);
    QVBoxLayout htmlLayout = new QVBoxLayout();
    htmlEntitiesFix.setText(tr("Enable Android Fix"));
    htmlLayout.addWidget(htmlEntitiesFix);
    htmlGroup.setLayout(htmlLayout);
   
    reloadSharedNotebooks = new QCheckBox(tr("Shared Notebooks"));
    QGroupBox refresh = new QGroupBox(tr("Special Refresh (WARNING - This can cause unsynchronized data loss)."));
    QVBoxLayout refreshLayout = new QVBoxLayout();
    refreshLayout.addWidget(reloadSharedNotebooks);
    refresh.setLayout(refreshLayout);
   
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.