Le Tan 52702a32e9 hard days for VNoteX project
Never say "refactor" again!!!
2020-11-28 23:10:43 +08:00

34 lines
642 B
C++

#ifndef EDITORPAGE_H
#define EDITORPAGE_H
#include "settingspage.h"
class QComboBox;
namespace vnotex
{
class EditorPage : public SettingsPage
{
Q_OBJECT
public:
explicit EditorPage(QWidget *p_parent = nullptr);
QString title() const Q_DECL_OVERRIDE;
// Should be called by all editors setting page when saved.
static void notifyEditorConfigChange();
protected:
void loadInternal() Q_DECL_OVERRIDE;
void saveInternal() Q_DECL_OVERRIDE;
private:
void setupUI();
QComboBox *m_autoSavePolicyComboBox = nullptr;
};
}
#endif // EDITORPAGE_H