projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added trigger selection handlers
[pulseview.git]
/
pv
/
view
/
logicsignal.h
diff --git
a/pv/view/logicsignal.h
b/pv/view/logicsignal.h
index 40babbcaf69a4d6a524101cc6f1e445c78fcca6d..81a6e7c0c2b3e735c2725c05bb6cd82cda780ad1 100644
(file)
--- a/
pv/view/logicsignal.h
+++ b/
pv/view/logicsignal.h
@@
-35,6
+35,8
@@
namespace view {
class LogicSignal : public Signal
{
class LogicSignal : public Signal
{
+ Q_OBJECT
+
private:
static const float Oversampling;
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);
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;
private:
boost::shared_ptr<pv::data::Logic> _data;