#include <QComboBox>
#include <QSignalMapper>
+#include <QTimer>
#include <pv/binding/decoder.hpp>
#include <pv/data/decode/row.hpp>
class Decoder;
class Row;
}
-}
+} // namespace data
namespace widgets {
class DecoderGroupBox;
static const int RowTitleMargin;
static const int DrawPadding;
+ static const int MaxTraceUpdateRate;
+
static const QColor Colours[16];
static const QColor OutlineColours[16];
const data::DecodeChannel *ch);
public:
- void hover_point_changed();
+ void hover_point_changed(const QPoint &hp);
private Q_SLOTS:
void on_new_annotations();
+ void on_delayed_trace_update();
+ void on_decode_reset();
+ void on_decode_finished();
void on_delete();
int min_useful_label_width_;
QSignalMapper delete_mapper_, show_hide_mapper_;
+
+ QTimer delayed_trace_updater_;
};
} // namespace trace