From 19c8bf98885074617f9cc0a0b2f60ebf47ddf714 Mon Sep 17 00:00:00 2001 From: Mike Skec Date: Fri, 1 Jan 2021 19:26:15 +1100 Subject: Added UI density option. 'Compact' is the default - saves screen space a bit. The old layout is available in the 'Classic' option --- src/browsertab.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/browsertab.hpp') diff --git a/src/browsertab.hpp b/src/browsertab.hpp index 50902c9..cbb21c4 100644 --- a/src/browsertab.hpp +++ b/src/browsertab.hpp @@ -27,6 +27,8 @@ class BrowserTab; class MainWindow; +enum class UIDensity : int; + struct DocumentStats { int loading_time = 0; // in ms @@ -83,6 +85,8 @@ public: void updateUrlBarStyle(); + void setUiDensity(UIDensity density); + signals: void titleChanged(QString const & title); void locationChanged(QUrl const & url); -- cgit v1.2.3