projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename "always zoom-to-fit" to "zoom-to-fit during acquisition"
[pulseview.git]
/
pv
/
views
/
trace
/
decodetrace.hpp
diff --git
a/pv/views/trace/decodetrace.hpp
b/pv/views/trace/decodetrace.hpp
index da9f56ccb76d5546e0fc4baccc6413c729b56ab1..26da3ace35ca01a4f291ff1026a1d29b173ba197 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>
@@
-50,7
+51,6
@@
namespace pv {
class Session;
namespace data {
class Session;
namespace data {
-class DecoderStack;
class SignalBase;
struct DecodeChannel;
class DecodeSignal;
class SignalBase;
struct DecodeChannel;
class DecodeSignal;
@@
-83,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];
@@
-181,6
+183,8
@@
public:
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();
@@
-215,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