private final QCheckBox showTrayIcon;\r
private final QCheckBox verifyDelete;\r
private final QCheckBox pdfPreview;\r
+ private final QCheckBox checkForUpdates;\r
private final QCheckBox newNoteWithTags;\r
private final QCheckBox mimicEvernote;\r
private final QCheckBox startMinimized;\r
verifyDelete = new QCheckBox(tr("Verify Deletes"));\r
startMinimized = new QCheckBox(tr("Start Minimized"));\r
pdfPreview = new QCheckBox(tr("Display PDF Documents Inline"));\r
+ checkForUpdates = new QCheckBox(tr("Check For Updates At Startup"));\r
newNoteWithTags = new QCheckBox(tr("Create New Notes With Selected Tags"));\r
\r
QHBoxLayout autoSaveLayout = new QHBoxLayout();\r
mainLayout.addWidget(verifyDelete);\r
mainLayout.addWidget(pdfPreview);\r
mainLayout.addWidget(newNoteWithTags);\r
+ mainLayout.addWidget(checkForUpdates);\r
mainLayout.addStretch(1);\r
setLayout(mainLayout);\r
\r
public boolean getPdfPreview() {\r
return pdfPreview.isChecked();\r
}\r
+ \r
+ //*******************************************\r
+ //* check for updates get/set\r
+ //*******************************************\r
+ public void setCheckForUpdates(boolean val) {\r
+ checkForUpdates.setChecked(val); \r
+ }\r
+ public boolean getCheckForUpdates() {\r
+ return checkForUpdates.isChecked();\r
+ }\r
\r
\r
//********************************************\r