diff options
Diffstat (limited to 'widgets/colorhighlighting.h')
| -rw-r--r-- | widgets/colorhighlighting.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/widgets/colorhighlighting.h b/widgets/colorhighlighting.h new file mode 100644 index 00000000..69e0391c --- /dev/null +++ b/widgets/colorhighlighting.h @@ -0,0 +1,33 @@ +#ifndef COLORHIGHLIGHTING_H_ +#define COLORHIGHLIGHTING_H_ + +#include <QDialog> +#include <QScopedPointer> + +class QSettings; +class DecodeHighlightingModel; + +namespace Ui { + class ColorHighlighting; +} + +class ColorHighlighting final +: public QDialog +{ + Q_OBJECT; + + public: + explicit ColorHighlighting(QSettings *, DecodeHighlightingModel const&, QWidget * parent = nullptr); + ~ColorHighlighting (); + + Q_SLOT void set_items (DecodeHighlightingModel const&); + + private: + void read_settings (); + void write_settings (); + + QScopedPointer<Ui::ColorHighlighting> ui; + QSettings * settings_; +}; + +#endif |
