aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.h
diff options
context:
space:
mode:
authorGravatar Sergey Starosek <sergey.starosek@gmail.com>2014-01-09 19:21:30 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-01-10 16:07:54 +0700
commit8ded16fd1b1bda46ff20eadd9bd596c45afc96d6 (patch)
tree84ed1068f4cb4f5dd3549bd439515c6777c46152 /qt-ui/mainwindow.h
parent8b00f8ffe6597a233814708d19b286e5dc0c65d8 (diff)
downloadsubsurface-8ded16fd1b1bda46ff20eadd9bd596c45afc96d6.tar.gz
Switch to new UserManual implementation
This enables search within user manual by pressing Ctrl-F. Esc key closes search panel. Signed-off-by: Sergey Starosek <sergey.starosek@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.h')
-rw-r--r--qt-ui/mainwindow.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-ui/mainwindow.h b/qt-ui/mainwindow.h
index 83672eafa..7d14fc7fe 100644
--- a/qt-ui/mainwindow.h
+++ b/qt-ui/mainwindow.h
@@ -12,6 +12,7 @@
#include <QUrl>
#include "ui_mainwindow.h"
+#include "usermanual.h"
struct DiveList;
class QSortFilterProxyModel;
@@ -102,7 +103,6 @@ private slots:
void initialUiSetup();
void on_actionImportDiveLog_triggered();
- void linkClickedSlot(QUrl url);
protected:
void closeEvent(QCloseEvent *);
@@ -117,7 +117,7 @@ private:
Ui::MainWindow ui;
QAction *actionNextDive;
QAction *actionPreviousDive;
- QWebView *helpView;
+ UserManual *helpView;
CurrentState state;
QString filter();
bool askSaveChanges();