X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fviews%2Ftrace%2Flogicsignal.hpp;h=9899260a8cfc503f342802020a17e6db56d11a8e;hb=572c3bb71a824b15442ed63c600e77517c6ae411;hp=2f5c66baa219fb69dcb8e9e42e08de1c01ad1849;hpb=1573bf16ba50d1c023ad3a9ce596f0ab6eaeacff;p=pulseview.git diff --git a/pv/views/trace/logicsignal.hpp b/pv/views/trace/logicsignal.hpp index 2f5c66ba..9899260a 100644 --- a/pv/views/trace/logicsignal.hpp +++ b/pv/views/trace/logicsignal.hpp @@ -21,6 +21,8 @@ #define PULSEVIEW_PV_VIEWS_TRACEVIEW_LOGICSIGNAL_HPP #include +#include +#include #include "signal.hpp" @@ -78,6 +80,9 @@ public: shared_ptr logic_data() const; + virtual void save_settings(QSettings &settings) const; + virtual void restore_settings(QSettings &settings); + /** * Computes the vertical extents of the contents of this row item. * @return A pair containing the minimum and maximum y-values. @@ -130,11 +135,15 @@ private: private Q_SLOTS: void on_trigger(); + void on_signal_height_changed(int height); + private: int signal_height_; shared_ptr device_; + QSpinBox *signal_height_sb_; + const sigrok::TriggerMatchType *trigger_match_; QToolBar *trigger_bar_; QAction *trigger_none_;