- /**
- * When painting into the rectangle, calculate the y
- * offset of the zero point.
- **/
- int get_nominal_offset(const QRect &rect) const;
+ void init_trigger_actions(QWidget *parent);
+
+ void populate_popup_form(QWidget *parent, QFormLayout *form);
+
+ void add_trigger_action(const char *trig_types, char type,
+ QAction *action);
+
+ 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();