generalpage.h 699 B

12345678910111213141516171819202122232425262728293031323334353637
  1. #ifndef GENERALPAGE_H
  2. #define GENERALPAGE_H
  3. #include "settingspage.h"
  4. class QComboBox;
  5. class QCheckBox;
  6. namespace vnotex
  7. {
  8. class GeneralPage : public SettingsPage
  9. {
  10. Q_OBJECT
  11. public:
  12. explicit GeneralPage(QWidget *p_parent = nullptr);
  13. QString title() const Q_DECL_OVERRIDE;
  14. protected:
  15. void loadInternal() Q_DECL_OVERRIDE;
  16. bool saveInternal() Q_DECL_OVERRIDE;
  17. private:
  18. void setupUI();
  19. QComboBox *m_localeComboBox = nullptr;
  20. QComboBox *m_openGLComboBox = nullptr;
  21. QCheckBox *m_systemTrayCheckBox = nullptr;
  22. QCheckBox *m_recoverLastSessionCheckBox = nullptr;
  23. };
  24. }
  25. #endif // GENERALPAGE_H