settingswidget.h 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. #ifndef SETTINGSWIDGET_H
  2. #define SETTINGSWIDGET_H
  3. #include <QWidget>
  4. #include <QTimer>
  5. namespace Ui {
  6. class SettingsWidget;
  7. }
  8. class LegacyApp;
  9. class SettingsWidget : public QWidget
  10. {
  11. Q_OBJECT
  12. public:
  13. explicit SettingsWidget(LegacyApp *_app, QWidget *parent = 0);
  14. ~SettingsWidget();
  15. private slots:
  16. void updateUI();
  17. void on_download_restrict_slider_valueChanged(int value);
  18. void on_interface_scale_combobox_common_currentIndexChanged(const QString &arg1);
  19. void on_change_folder_button_clicked();
  20. void on_data_protection_checkbox_common_stateChanged(int arg1);
  21. void on_restore_checkbox_common_stateChanged(int arg1);
  22. void on_download_updates_checkbox_common_stateChanged(int arg1);
  23. void on_expert_tabs_checkbox_common_stateChanged(int arg1);
  24. void on_restrict_download_speed_checkbox_common_stateChanged(int arg1);
  25. void on_lotro_patch_language_combobox_common_activated(int index);
  26. private:
  27. Ui::SettingsWidget *ui;
  28. LegacyApp *app;
  29. QTimer ui_update_timer;
  30. };
  31. #endif // SETTINGSWIDGET_H