projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
AnalogSignal: Use pv::data::SignalBase namespace
[pulseview.git]
/
pv
/
views
/
trace
/
decodetrace.hpp
diff --git
a/pv/views/trace/decodetrace.hpp
b/pv/views/trace/decodetrace.hpp
index 7edb30bde3c96b6591e1190d080a7b368e4862c4..fe3503b6008817b4d47b9fc0b10ffe47d3ab9d01 100644
(file)
--- a/
pv/views/trace/decodetrace.hpp
+++ b/
pv/views/trace/decodetrace.hpp
@@
-29,6
+29,7
@@
#include <QComboBox>
#include <QSignalMapper>
#include <QComboBox>
#include <QSignalMapper>
+#include <QTimer>
#include <pv/binding/decoder.hpp>
#include <pv/data/decode/row.hpp>
#include <pv/binding/decoder.hpp>
#include <pv/data/decode/row.hpp>
@@
-59,7
+60,7
@@
class Annotation;
class Decoder;
class Row;
}
class Decoder;
class Row;
}
-}
+}
// namespace data
namespace widgets {
class DecoderGroupBox;
namespace widgets {
class DecoderGroupBox;
@@
-82,6
+83,8
@@
private:
static const int RowTitleMargin;
static const int DrawPadding;
static const int RowTitleMargin;
static const int DrawPadding;
+ static const int MaxTraceUpdateRate;
+
static const QColor Colours[16];
static const QColor OutlineColours[16];
static const QColor Colours[16];
static const QColor OutlineColours[16];
@@
-176,10
+179,12
@@
private:
const data::DecodeChannel *ch);
public:
const data::DecodeChannel *ch);
public:
- void hover_point_changed();
+ void hover_point_changed(
const QPoint &hp
);
private Q_SLOTS:
void on_new_annotations();
private Q_SLOTS:
void on_new_annotations();
+ void on_delayed_trace_update();
+ void on_decode_finished();
void on_delete();
void on_delete();
@@
-214,6
+219,8
@@
private:
int min_useful_label_width_;
QSignalMapper delete_mapper_, show_hide_mapper_;
int min_useful_label_width_;
QSignalMapper delete_mapper_, show_hide_mapper_;
+
+ QTimer delayed_trace_updater_;
};
} // namespace trace
};
} // namespace trace