From 927bc5d60135f97f7241fbe9f77d745c6fceb517 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Mon, 30 Jun 2014 17:45:52 -0300 Subject: 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 Signed-off-by: Dirk Hohndel --- qt-ui/mainwindow.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'qt-ui/mainwindow.h') 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; -- cgit v1.2.3-70-g09d2