diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-04-16 17:07:36 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-04-16 17:07:36 +0200 |
commit | d796821f8304306dbe088701724243b39e8eb358 (patch) | |
tree | 836c85aa421db5c495e2b36f6a02cea924b6d919 /src/addressbar/urllineedit.h | |
parent | Branch of Qt5.11 features (diff) | |
download | smolbote-d796821f8304306dbe088701724243b39e8eb358.tar.xz |
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
Diffstat (limited to 'src/addressbar/urllineedit.h')
-rw-r--r-- | src/addressbar/urllineedit.h | 7 |
1 files changed, 5 insertions, 2 deletions
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 <QAction> #include <QLineEdit> #include <QTextLayout> -#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 |