summaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2014-06-30 17:45:52 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-30 16:04:24 -0700
commit927bc5d60135f97f7241fbe9f77d745c6fceb517 (patch)
treefb9612a8b94803ed2d0685275ef141e9eee9edab /qt-ui/mainwindow.h
parent4c7ea24921ddf44b4250cf65209f96a4ff121620 (diff)
downloadsubsurface-927bc5d60135f97f7241fbe9f77d745c6fceb517.tar.gz
Fixed SearchBar layout and icons
This is almost a rewrite of the Search function on the WebView the old code had a few uneeded things, mostly being a subclass of QMainWindow instead of the QWebView - this makes the code use a tiny bit less ram. The SearchBox was also moved to an own class ( we can use it later to filter the contents of the DiveList for instance ) and a forced use of the pixmaps for the Mac and Windows platform was added. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.h')
-rw-r--r--qt-ui/mainwindow.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-ui/mainwindow.h b/qt-ui/mainwindow.h
index cfac072d2..8bdb47e99 100644
--- a/qt-ui/mainwindow.h
+++ b/qt-ui/mainwindow.h
@@ -29,6 +29,7 @@ class ProfileGraphicsView;
class QWebView;
class QSettings;
class UpdateManager;
+class UserManual;
enum MainWindowTitleFormat {
MWTF_DEFAULT,
@@ -163,7 +164,7 @@ private:
Ui::MainWindow ui;
QAction *actionNextDive;
QAction *actionPreviousDive;
- QMainWindow *helpView;
+ UserManual *helpView;
QTreeView *yearlyStats;
QAbstractItemModel *yearlyStatsModel;
CurrentState state;