diff options
| author | Akshay Nair <phenax5@gmail.com> | 2025-07-25 20:27:44 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2025-07-25 20:28:05 +0530 |
| commit | 81dcf7de91c1866d565f7aa9eb38f7fbd1cd7ad7 (patch) | |
| tree | aa24bcea93d19ce6298ad6aed499d324fac2ceae /src/widgets/EdgeDecoration.hpp | |
| parent | 2c7d36b4aa53ffa638a7aa7046767f10e7a152bf (diff) | |
| download | null-browser-81dcf7de91c1866d565f7aa9eb38f7fbd1cd7ad7.tar.gz null-browser-81dcf7de91c1866d565f7aa9eb38f7fbd1cd7ad7.zip | |
Add decoration is_enabled api + allowed specifying win_id for enabled
Diffstat (limited to 'src/widgets/EdgeDecoration.hpp')
| -rw-r--r-- | src/widgets/EdgeDecoration.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/widgets/EdgeDecoration.hpp b/src/widgets/EdgeDecoration.hpp index 59390dc..3ee0ab5 100644 --- a/src/widgets/EdgeDecoration.hpp +++ b/src/widgets/EdgeDecoration.hpp @@ -7,6 +7,7 @@ #include <qwebengineprofile.h> #include <qwebengineview.h> +#include "utils.hpp" #include "widgets/WebView.hpp" class EdgeDecoration : public QWidget { @@ -19,6 +20,8 @@ public: void set_html(const QString &content); void set_enabled(bool enabled_value); + DEFINE_GETTER(is_enabled, enabled) + private: bool vertical; std::optional<WebView *> webview = std::nullopt; |
