X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fviews%2Ftrace%2Flogicsignal.hpp;h=cf2f68d82cb90a2bed14560e72927202f100b47a;hp=2f5c66baa219fb69dcb8e9e42e08de1c01ad1849;hb=2601ce965fc455d23f5a964b84ddd74eb93705c4;hpb=1573bf16ba50d1c023ad3a9ce596f0ab6eaeacff diff --git a/pv/views/trace/logicsignal.hpp b/pv/views/trace/logicsignal.hpp index 2f5c66ba..cf2f68d8 100644 --- a/pv/views/trace/logicsignal.hpp +++ b/pv/views/trace/logicsignal.hpp @@ -21,6 +21,7 @@ #define PULSEVIEW_PV_VIEWS_TRACEVIEW_LOGICSIGNAL_HPP #include +#include #include "signal.hpp" @@ -78,6 +79,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 +134,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_;