From 7d9c442ca9b23536bbd62c39c2f6e474ccb654a8 Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Thu, 3 Feb 2022 00:59:55 +0300 Subject: [PATCH] Added access to AbstractCheckView from Checkbox. --- ui/widgets/checkbox.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ui/widgets/checkbox.h b/ui/widgets/checkbox.h index eeb5bf5..03a2b2b 100644 --- a/ui/widgets/checkbox.h +++ b/ui/widgets/checkbox.h @@ -203,6 +203,10 @@ public: } QRect checkRect() const; + not_null checkView() const { + return _check.get(); + } + protected: void paintEvent(QPaintEvent *e) override;