From a93db66d7809b927df021d85ba3c90f86790bf0b Mon Sep 17 00:00:00 2001 From: peri4 Date: Thu, 18 Jan 2024 18:06:40 +0300 Subject: [PATCH] isDarkTheme getter --- libs/widgets/qcodeedit.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/widgets/qcodeedit.h b/libs/widgets/qcodeedit.h index 1946bbc..b7e3fe0 100644 --- a/libs/widgets/qcodeedit.h +++ b/libs/widgets/qcodeedit.h @@ -110,6 +110,7 @@ public: void registerAutoCompletitionClass(int id, ACClassType ac_class, const QString & name, const QIcon & icon = QIcon()); bool wordCompletitionEnabled() const { return word_complete; } + bool isDarkTheme() const { return is_dark_theme; } static QBrush invertedBrush(const QBrush & b); static QTextCharFormat invertedFormat(const QTextCharFormat & f);