X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdata%2Fdecode%2Frow.hpp;h=8e76dfa0b64d9a10ac555419cc752cbbbce16b88;hp=71945f2e0cf0899ffc911001ef5beff0e4f17bb4;hb=02078aa15a4747b8ab7a91d54e2e141c3acb5628;hpb=8997f62a4f87c822578aa5d835e1dd8109c6f5eb diff --git a/pv/data/decode/row.hpp b/pv/data/decode/row.hpp index 71945f2e..8e76dfa0 100644 --- a/pv/data/decode/row.hpp +++ b/pv/data/decode/row.hpp @@ -37,11 +37,13 @@ namespace decode { #define DECODE_COLOR_SATURATION (180) /* 0-255 */ #define DECODE_COLOR_VALUE (170) /* 0-255 */ -struct AnnotationClass; +class AnnotationClass; class Decoder; -class Row +class Row: public QObject { + Q_OBJECT + public: Row(); @@ -71,6 +73,9 @@ public: bool operator<(const Row& other) const; bool operator==(const Row& other) const; +Q_SIGNALS: + void visibility_changed(); + private: uint32_t index_; Decoder* decoder_;