]> sigrok.org Git - pulseview.git/blobdiff - pv/view/logicsignal.h
Added trigger selection handlers
[pulseview.git] / pv / view / logicsignal.h
index 40babbcaf69a4d6a524101cc6f1e445c78fcca6d..81a6e7c0c2b3e735c2725c05bb6cd82cda780ad1 100644 (file)
@@ -35,6 +35,8 @@ namespace view {
 
 class LogicSignal : public Signal
 {
+       Q_OBJECT
+
 private:
        static const float Oversampling;
 
@@ -75,6 +77,16 @@ private:
        static void add_trigger_action(const char *trig_types, char type,
                QAction *action, std::list<QAction*> &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<pv::data::Logic> _data;