From 81dcf7de91c1866d565f7aa9eb38f7fbd1cd7ad7 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Fri, 25 Jul 2025 20:27:44 +0530 Subject: Add decoration is_enabled api + allowed specifying win_id for enabled --- src/widgets/EdgeDecoration.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/widgets/EdgeDecoration.hpp') 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 #include +#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 = std::nullopt; -- cgit v1.3.1