X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Fselectableitem.hpp;h=29a5c9557973b852504e4a1ff7d7ca7bdcdad80e;hp=1f5944900bafa8d5ed9adafb482c3f77b32c8395;hb=096fb584db59a7b95ea57a6accf6c282a43497f6;hpb=3b84fd6d59b10053d5ffba90f8e66324f49841a3 diff --git a/pv/view/selectableitem.hpp b/pv/view/selectableitem.hpp index 1f594490..29a5c955 100644 --- a/pv/view/selectableitem.hpp +++ b/pv/view/selectableitem.hpp @@ -48,6 +48,11 @@ public: SelectableItem(); public: + /** + * Returns true if the item is visible and enabled. + */ + virtual bool enabled() const = 0; + /** * Returns true if the item has been selected by the user. */