Le Tan 3cc882829a
fix PR #1601 (#1610)
* fix PR #1601

* use mono icon on macOS
2020-12-19 20:26:43 +08:00

37 lines
713 B
C++

#ifndef EDITORPAGE_H
#define EDITORPAGE_H
#include "settingspage.h"
class QComboBox;
class QSpinBox;
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;
QSpinBox *m_toolBarIconSizeSpinBox = nullptr;
};
}
#endif // EDITORPAGE_H