mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-06 06:19:52 +08:00
36 lines
639 B
C++
36 lines
639 B
C++
#ifndef GENERALPAGE_H
|
|
#define GENERALPAGE_H
|
|
|
|
#include "settingspage.h"
|
|
|
|
class QComboBox;
|
|
class QCheckBox;
|
|
|
|
namespace vnotex
|
|
{
|
|
class GeneralPage : public SettingsPage
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit GeneralPage(QWidget *p_parent = nullptr);
|
|
|
|
QString title() const Q_DECL_OVERRIDE;
|
|
|
|
protected:
|
|
void loadInternal() Q_DECL_OVERRIDE;
|
|
|
|
void saveInternal() Q_DECL_OVERRIDE;
|
|
|
|
private:
|
|
void setupUI();
|
|
|
|
QComboBox *m_localeComboBox = nullptr;
|
|
|
|
QComboBox *m_openGLComboBox = nullptr;
|
|
|
|
QCheckBox *m_systemTrayCheckBox = nullptr;
|
|
};
|
|
}
|
|
|
|
#endif // GENERALPAGE_H
|