summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVlad Voicu <vladv@rosedu.org>2012-03-04 14:30:51 (GMT)
committerKevin Smith <git@kismith.co.uk>2012-03-09 15:04:06 (GMT)
commit424d19ec5f9c7ab6ca28a532540d140a22fafeb9 (patch)
treeb95864555d98c39bf8ee1fcd540bb2eaaccaba2a /Swift/QtUI/QtSpellCheckerWindow.h
parent1c8cd160b79b6bbcec72042bdb104ba530508a93 (diff)
downloadswift-contrib-424d19ec5f9c7ab6ca28a532540d140a22fafeb9.zip
swift-contrib-424d19ec5f9c7ab6ca28a532540d140a22fafeb9.tar.bz2
Added minimal SpellChecker Ui Options
Diffstat (limited to 'Swift/QtUI/QtSpellCheckerWindow.h')
-rw-r--r--Swift/QtUI/QtSpellCheckerWindow.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/Swift/QtUI/QtSpellCheckerWindow.h b/Swift/QtUI/QtSpellCheckerWindow.h
new file mode 100644
index 0000000..0d6ac60
--- /dev/null
+++ b/Swift/QtUI/QtSpellCheckerWindow.h
@@ -0,0 +1,26 @@
+/*
+ * Copyright (c) 2011 Vlad Voicu
+ * Licensed under the Simplified BSD license.
+ * See Documentation/Licenses/BSD-simplified.txt for more information.
+ */
+
+#pragma once
+
+#include "ui_QtSpellCheckerWindow.h"
+
+#include <QDialog>
+
+namespace Swift {
+ class SettingsProvider;
+ class QtSpellCheckerWindow : public QDialog, protected Ui::QtSpellCheckerWindow {
+ Q_OBJECT
+ public:
+ QtSpellCheckerWindow(SettingsProvider* settings, QWidget* parent = NULL);
+ public slots:
+ void handleChecker(bool state);
+
+ private:
+ SettingsProvider* settings_;
+ Ui::QtSpellCheckerWindow ui_;
+ };
+}