summaryrefslogtreecommitdiff
path: root/widgets/colorhighlighting.h
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2018-12-19 22:58:32 +0100
committerChristoph Berg <myon@debian.org>2018-12-19 22:58:32 +0100
commite0737c56c1e384e05064a0c6e1ac46979371041b (patch)
treea0123d694a2d36c43dabdf0a3907392fce11d457 /widgets/colorhighlighting.h
parentb4aebf2d137b892f53503b13785ecae900062ff7 (diff)
New upstream version 2.0.0+repackupstream/2.0.0+repack
Diffstat (limited to 'widgets/colorhighlighting.h')
-rw-r--r--widgets/colorhighlighting.h33
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