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>
This commit is contained in:
Sergey Starosek 2014-01-09 19:21:30 +02:00 committed by Dirk Hohndel
parent 8b00f8ffe6
commit 8ded16fd1b
2 changed files with 3 additions and 19 deletions

View file

@ -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();