20 #ifndef PULSEVIEW_PV_DATA_DECODE_ROW_HPP 21 #define PULSEVIEW_PV_DATA_DECODE_ROW_HPP 30 struct srd_decoder_annotation_row;
39 #define DECODE_COLOR_SATURATION (180) 40 #define DECODE_COLOR_VALUE (170) 42 class AnnotationClass;
53 const srd_decoder_annotation_row* srd_row =
nullptr);
56 const srd_decoder_annotation_row*
get_srd_row()
const;
58 const QString
title()
const;
61 uint32_t
index()
const;
67 const QColor
color()
const;
97 #endif // PULSEVIEW_PV_DATA_DECODE_ROW_HPP
void set_visible(bool visible)
bool operator<(const Row &other) const
map< uint32_t, QColor > ann_dark_class_color_
const srd_decoder_annotation_row * srd_row_
bool has_hidden_classes() const
const QColor get_bright_class_color(uint32_t ann_class_id) const
map< uint32_t, QColor > ann_bright_class_color_
const QColor color() const
const srd_decoder_annotation_row * get_srd_row() const
bool operator==(const Row &other) const
const QString description() const
const Decoder * decoder() const
map< uint32_t, QColor > ann_class_color_
const QString title() const
void visibility_changed()
vector< AnnotationClass * > ann_classes() const
const QColor get_dark_class_color(uint32_t ann_class_id) const
const QColor get_class_color(uint32_t ann_class_id) const
void set_base_color(QColor base_color)
bool class_is_visible(uint32_t ann_class_id) const