X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;ds=sidebyside;f=pv%2Fview%2Fview.hpp;h=b64c09d2c019ab00ee3c56b0a8ef0732b1af2c92;hb=1a2288a1b2479be9001fab6ced8385cfc86c3f69;hp=95e518a274db8c11314ca22808bbea6fd0831108;hpb=af503b104d890a357c736c678bb00296d889c090;p=pulseview.git diff --git a/pv/view/view.hpp b/pv/view/view.hpp index 95e518a..b64c09d 100644 --- a/pv/view/view.hpp +++ b/pv/view/view.hpp @@ -55,6 +55,7 @@ class Header; class Ruler; class Trace; class Viewport; +class TriggerMarker; class View : public QAbstractScrollArea, public TraceTreeItemOwner { Q_OBJECT @@ -238,6 +239,9 @@ Q_SIGNALS: /// Emitted when the time_unit changed. void time_unit_changed(); +public Q_SLOTS: + void trigger_event(util::Timestamp location); + private: void get_scroll_layout(double &length, pv::util::Timestamp &offset) const; @@ -380,6 +384,8 @@ private: std::list< std::shared_ptr > flags_; char next_flag_text_; + std::shared_ptr trigger_marker_; + QPoint hover_point_; unsigned int sticky_events_;