Add new UI settings to control automatic library updates

This commit is contained in:
Luis Ángel San Martín
2023-08-13 10:37:29 +02:00
parent afa9763499
commit 6cef156893
2 changed files with 295 additions and 172 deletions

View File

@ -28,6 +28,24 @@ private slots:
void resetToDefaults();
private:
// General tabss
QCheckBox *displayContinueReadingBannerCheck;
QCheckBox *trayIconCheckbox;
QCheckBox *startToTrayCheckbox;
QCheckBox *comicInfoXMLCheckbox;
QSlider *recentIntervalSlider;
QLabel *numDaysLabel;
// Libraries tab
QCheckBox *updateLibrariesAtStartupCheck;
QCheckBox *detectChangesAutomaticallyCheck;
QCheckBox *updateLibrariesPeriodicallyCheck;
QComboBox *intervalComboBox;
QCheckBox *updateLibrariesAtCertainTimeCheck;
QTimeEdit *updateLibrariesTimeEdit;
QCheckBox *compareModifiedDateWhenUpdatingLibrariesCheck;
// Grid tab
QCheckBox *useBackgroundImageCheck;
QCheckBox *useCurrentComicCoverCheck;
QSlider *backgroundImageOpacitySlider;
@ -35,13 +53,11 @@ private:
QLabel *opacityLabel;
QLabel *blurLabel;
QPushButton *resetButton;
QCheckBox *displayContinueReadingBannerCheck;
QCheckBox *trayIconCheckbox;
QCheckBox *startToTrayCheckbox;
QCheckBox *comicInfoXMLCheckbox;
QSlider *recentIntervalSlider;
QLabel *numDaysLabel;
QCheckBox *compareModifiedDateWhenUpdatingLibrariesCheck;
QWidget *createGeneralTab();
QWidget *createLibrariesTab();
QWidget *createFlowTab();
QWidget *createGridTab();
};
#endif