QColor row_color;
map<uint32_t, QColor> ann_class_color;
+ map<uint32_t, QColor> ann_class_dark_color;
};
class ContainerWidget : public QWidget
virtual void mouse_left_press_event(const QMouseEvent* event);
private:
- void draw_annotations(vector<const Annotation*> annotations, QPainter &p,
+ void draw_annotations(deque<const Annotation*>& annotations, QPainter &p,
const ViewItemPaintParams &pp, int y, const DecodeTraceRow& row);
void draw_annotation(const Annotation* a, QPainter &p,
QComboBox* create_channel_selector_init_state(QWidget *parent,
const data::decode::DecodeChannel *ch);
- void export_annotations(vector<const Annotation*> *annotations) const;
+ void export_annotations(deque<const Annotation*>& annotations) const;
void initialize_row_widgets(DecodeTraceRow* r, unsigned int row_id);
void update_rows();
void on_show_hide_decoder(int index);
void on_show_hide_row(int row_id);
void on_show_hide_class(QWidget* sender);
+ void on_show_all_classes();
+ void on_hide_all_classes();
void on_row_container_resized(QWidget* sender);
void on_copy_annotation_to_clipboard();