mirror of
https://github.com/epasveer/seer.git
synced 2026-08-30 00:50:42 +08:00
34 lines
1.2 KiB
C++
34 lines
1.2 KiB
C++
#pragma once
|
|
|
|
#include "SeerHighlighterSettings.h"
|
|
#include <QtGui/QFont>
|
|
#include <QtWidgets/QWidget>
|
|
|
|
#include "ui_SeerEditorConfigPage.h"
|
|
|
|
class SeerEditorConfigPage : public QWidget, public Ui::SeerEditorConfigPage {
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit SeerEditorConfigPage (QWidget* parent = 0);
|
|
~SeerEditorConfigPage ();
|
|
|
|
void setEditorFont (const QFont& font);
|
|
const QFont& editorFont () const;
|
|
|
|
void setHighlighterSettings (const SeerHighlighterSettings& settings);
|
|
const SeerHighlighterSettings& highlighterSettings () const;
|
|
|
|
protected slots:
|
|
void handleFontSizeChanged (const QString& text);
|
|
void handleFontChanged (const QFont& font);
|
|
void handleFontDialog ();
|
|
void handleHighlighterChanged ();
|
|
|
|
private:
|
|
QFont _font;
|
|
SeerHighlighterSettings _highlighterSettings;
|
|
};
|
|
|