summaryrefslogtreecommitdiffstats
path: root/qt-ui/usermanual.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/usermanual.h')
-rw-r--r--qt-ui/usermanual.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/qt-ui/usermanual.h b/qt-ui/usermanual.h
new file mode 100644
index 000000000..f915f4c1e
--- /dev/null
+++ b/qt-ui/usermanual.h
@@ -0,0 +1,32 @@
+#ifndef USERMANUAL_H
+#define USERMANUAL_H
+
+#include <QMainWindow>
+#include <QWebPage>
+
+namespace Ui {
+class UserManual;
+}
+
+class UserManual : public QWidget
+{
+ Q_OBJECT
+
+public:
+ explicit UserManual(QWidget *parent = 0);
+ ~UserManual();
+
+private slots:
+ void showSearchPanel();
+ void hideSearchPanel();
+ void searchTextChanged(QString);
+ void searchNext();
+ void searchPrev();
+ void linkClickedSlot(QUrl url);
+
+private:
+ Ui::UserManual *ui;
+ void search(QString, QWebPage::FindFlags);
+};
+
+#endif // USERMANUAL_H