X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fviews%2Ftrace%2Fdecodetrace.hpp;h=6ba48455fe88a964cf7268ae1fbf021523d23404;hp=7edb30bde3c96b6591e1190d080a7b368e4862c4;hb=5b6ae10391736ab2f81de851686dee15bbcbf9f9;hpb=1ec191ed5406f1a6a7acb54472c66e7dc0554c20 diff --git a/pv/views/trace/decodetrace.hpp b/pv/views/trace/decodetrace.hpp index 7edb30b..6ba4845 100644 --- a/pv/views/trace/decodetrace.hpp +++ b/pv/views/trace/decodetrace.hpp @@ -29,6 +29,7 @@ #include #include +#include #include #include @@ -82,6 +83,8 @@ private: static const int RowTitleMargin; static const int DrawPadding; + static const int MaxTraceUpdateRate; + static const QColor Colours[16]; static const QColor OutlineColours[16]; @@ -180,6 +183,7 @@ public: private Q_SLOTS: void on_new_annotations(); + void on_delayed_trace_update(); void on_delete(); @@ -214,6 +218,8 @@ private: int min_useful_label_width_; QSignalMapper delete_mapper_, show_hide_mapper_; + + QTimer delayed_trace_updater_; }; } // namespace trace