X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fviews%2Ftrace%2Fsignal.hpp;h=1c53d8b2260a960669261c056f069a9e35883bfb;hb=119c5c232ef47e92ef6a5cc9f8b7c4c31dc2f387;hp=d763609d972abc322dc796e9aca32a2add66269f;hpb=2d458a761b9fb184cd1c903485293f86fd552637;p=pulseview.git diff --git a/pv/views/trace/signal.hpp b/pv/views/trace/signal.hpp index d763609..1c53d8b 100644 --- a/pv/views/trace/signal.hpp +++ b/pv/views/trace/signal.hpp @@ -44,6 +44,15 @@ class SignalData; namespace views { namespace trace { +/** + * The Signal class represents a series of numeric values that can be drawn. + * This is the main difference to the more generic @ref Trace class. + * + * It is generally accepted that Signal instances consider themselves to be + * individual channels on e.g. an oscilloscope, though it should be kept in + * mind that virtual signals (e.g. math) will also be served by the Signal + * class. + */ class Signal : public Trace, public ViewItemOwner { Q_OBJECT @@ -74,7 +83,7 @@ public: virtual void populate_popup_form(QWidget *parent, QFormLayout *form); - QMenu* create_context_menu(QWidget *parent); + QMenu* create_header_context_menu(QWidget *parent); void delete_pressed();