csettingsview_moc.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. /*
  2. * csettingsview_moc.h, part of VCMI engine
  3. *
  4. * Authors: listed in file AUTHORS in main folder
  5. *
  6. * License: GNU General Public License v2.0 or later
  7. * Full text of license available in license.txt file, in main folder
  8. *
  9. */
  10. #pragma once
  11. #include "../StdInc.h"
  12. namespace Ui
  13. {
  14. class CSettingsView;
  15. }
  16. class CSettingsView : public QWidget
  17. {
  18. Q_OBJECT
  19. public:
  20. explicit CSettingsView(QWidget * parent = 0);
  21. ~CSettingsView();
  22. void loadSettings();
  23. void setDisplayList(const QStringList & displayList);
  24. private slots:
  25. void on_checkBoxFullScreen_stateChanged(int state);
  26. void on_comboBoxResolution_currentIndexChanged(const QString & arg1);
  27. void on_comboBoxFullScreen_currentIndexChanged(int index);
  28. void on_comboBoxPlayerAI_currentIndexChanged(const QString & arg1);
  29. void on_comboBoxFriendlyAI_currentIndexChanged(const QString & arg1);
  30. void on_comboBoxNeutralAI_currentIndexChanged(const QString & arg1);
  31. void on_comboBoxEnemyAI_currentIndexChanged(const QString & arg1);
  32. void on_spinBoxNetworkPort_valueChanged(int arg1);
  33. void on_plainTextEditRepos_textChanged();
  34. void on_comboBoxEncoding_currentIndexChanged(int index);
  35. void on_openTempDir_clicked();
  36. void on_openUserDataDir_clicked();
  37. void on_openGameDataDir_clicked();
  38. void on_comboBoxShowIntro_currentIndexChanged(int index);
  39. void on_changeGameDataDir_clicked();
  40. void on_comboBoxAutoCheck_currentIndexChanged(int index);
  41. void on_comboBoxDisplayIndex_currentIndexChanged(int index);
  42. private:
  43. Ui::CSettingsView * ui;
  44. };