X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fview%2Flogicsignal.h;h=37870be6ed23928115f1462802d51057e05e3b31;hb=139fef92964a91cbdd1f7c4c280485c0fb02f9c7;hp=62b7c9ab1f9b085f02ed7dcaa43f2f59abb58acf;hpb=c0f868521a211747f89ef217ae63404f373d952b;p=pulseview.git diff --git a/pv/view/logicsignal.h b/pv/view/logicsignal.h index 62b7c9a..37870be 100644 --- a/pv/view/logicsignal.h +++ b/pv/view/logicsignal.h @@ -35,6 +35,8 @@ namespace view { class LogicSignal : public Signal { + Q_OBJECT + private: static const float Oversampling; @@ -72,6 +74,21 @@ private: bool level, double samples_per_pixel, double pixels_offset, float x_offset, float y_offset); + static void add_trigger_action(const char *trig_types, char type, + QAction *action, std::list &actions); + + void update_trigger_actions(); + + void set_trigger(char type); + +private slots: + void on_trigger_none(); + void on_trigger_rising(); + void on_trigger_high(); + void on_trigger_falling(); + void on_trigger_low(); + void on_trigger_change(); + private: boost::shared_ptr _data;