#include <pv/data/decodesignal.hpp>
+using std::pair;
using std::size_t;
using pv::data::DecodeBinaryClass;
using pv::data::DecodeBinaryDataChunk;
void clear();
void showFromOffset(size_t offset);
+ virtual QSizePolicy sizePolicy() const;
+
+ pair<size_t, size_t> get_selection() const;
protected:
void initialize_byte_iterator(size_t offset);
size_t selectBegin_, selectEnd_, selectInit_, cursorPos_;
size_t current_chunk_id_, current_chunk_offset_, current_offset_;
- const DecodeBinaryDataChunk* current_chunk_;
+ DecodeBinaryDataChunk current_chunk_; // Cache locally so that we're not messed up when the vector is re-allocating its data
vector<QColor> chunk_colors_;
};