From d796821f8304306dbe088701724243b39e8eb358 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Mon, 16 Apr 2018 17:07:36 +0200 Subject: Multiple subwindows interface Subwindows are similar to tab groups. - Rewrote Browser and MainWindow, so they should be somewhat cleaner now - Moved AboutDialog to lib/about What's broken: - loading bar - search box - address bar bookmark suggestions - plugins --- src/addressbar/urllineedit.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/addressbar/urllineedit.h') diff --git a/src/addressbar/urllineedit.h b/src/addressbar/urllineedit.h index 17465bc..24ad403 100644 --- a/src/addressbar/urllineedit.h +++ b/src/addressbar/urllineedit.h @@ -9,15 +9,16 @@ #ifndef SMOLBOTE_URLLINEEDIT_H #define SMOLBOTE_URLLINEEDIT_H +#include "completer.h" +#include "webengine/webview.h" #include #include #include -#include "webengine/webview.h" -#include "completer.h" class BookmarksView; class QMenu; class QLabel; +class WebView; class UrlLineEdit : public QLineEdit { Q_OBJECT @@ -45,6 +46,8 @@ private: void setTextFormat(const QTextLayout::FormatRange &format); void clearTextFormat(); + WebView *m_view = nullptr; + QTextLayout::FormatRange m_hostFormat; // pageMenu action: zoom, print -- cgit v1.2.1