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