settingswidget.h 596 B

12345678910111213141516171819202122232425262728293031323334
  1. #ifndef SETTINGSWIDGET_H
  2. #define SETTINGSWIDGET_H
  3. #include <QWidget>
  4. namespace Ui {
  5. class SettingsWidget;
  6. }
  7. class LegacyApp;
  8. class SettingsWidget : public QWidget
  9. {
  10. Q_OBJECT
  11. public:
  12. explicit SettingsWidget(LegacyApp *_app, QWidget *parent = 0);
  13. ~SettingsWidget();
  14. private slots:
  15. void UpdateFolderPath();
  16. void on_download_restrict_slider_valueChanged(int value);
  17. void on_interface_scale_slider_valueChanged(int value);
  18. void on_fonts_scale_slider_valueChanged(int value);
  19. private:
  20. Ui::SettingsWidget *ui;
  21. LegacyApp *app;
  22. };
  23. #endif // SETTINGSWIDGET_H