* @return Returns a pair containing the start sample and the end
* sample that correspond to the start and end coordinates.
*/
* @return Returns a pair containing the start sample and the end
* sample that correspond to the start and end coordinates.
*/
QColor get_row_color(int row_index) const;
QColor get_annotation_color(QColor row_color, int annotation_index) const;
QColor get_row_color(int row_index) const;
QColor get_annotation_color(QColor row_color, int annotation_index) const;
void create_decoder_form(int index,
shared_ptr<pv::data::decode::Decoder> &dec,
QWidget *parent, QFormLayout *form);
void create_decoder_form(int index,
shared_ptr<pv::data::decode::Decoder> &dec,
QWidget *parent, QFormLayout *form);
map<QComboBox*, uint16_t> channel_id_map_; // channel selector -> decode channel ID
map<QComboBox*, uint16_t> init_state_map_; // init state selector -> decode channel ID
map<QComboBox*, uint16_t> channel_id_map_; // channel selector -> decode channel ID
map<QComboBox*, uint16_t> init_state_map_; // init state selector -> decode channel ID
pair<uint64_t, uint64_t> selected_sample_range_;
vector<pv::widgets::DecoderGroupBox*> decoder_forms_;
pair<uint64_t, uint64_t> selected_sample_range_;
vector<pv::widgets::DecoderGroupBox*> decoder_forms_;
map<data::decode::Row, int> row_title_widths_;
int row_height_, max_visible_rows_;
map<data::decode::Row, int> row_title_widths_;
int row_height_, max_visible_rows_;