X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fview%2Ftrace.hpp;h=b6b15198451e74bbfd014e5591f8d451da531dfc;hb=4c7a19d3d7049bcc9fb3185ce2bc91333a7ca9e1;hp=f911985023b9f8e26af823d3ad9b11a59507db28;hpb=60938e0430a0d08792ba53b86ca94153baaed74d;p=pulseview.git diff --git a/pv/view/trace.hpp b/pv/view/trace.hpp index f911985..b6b1519 100644 --- a/pv/view/trace.hpp +++ b/pv/view/trace.hpp @@ -38,6 +38,10 @@ class QFormLayout; namespace pv { +namespace data { +class SignalBase; +} + namespace widgets { class Popup; } @@ -60,6 +64,11 @@ protected: Trace(shared_ptr channel); public: + /** + * Returns the underlying SignalBase instance. + */ + shared_ptr base() const; + /** * Sets the name of the signal. */ @@ -125,7 +134,6 @@ private Q_SLOTS: protected: shared_ptr base_; - bool coloured_bg_state_; private: pv::widgets::Popup *popup_;