diff --git a/ui/widgets/checkbox.h b/ui/widgets/checkbox.h index 5ec517f..af6e7d7 100644 --- a/ui/widgets/checkbox.h +++ b/ui/widgets/checkbox.h @@ -123,6 +123,9 @@ public: QImage prepareRippleMask() const override; bool checkRippleStartPosition(QPoint position) const override; void setLocked(bool locked); + bool isLocked() { + return _locked; + } private: void paintXV(QPainter &p, int left, int top, int outerWidth, float64 toggled, const QBrush &brush);