projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Wait until SDI is set before updating sweep timing widgets.
[pulseview.git]
/
pv
/
view
/
signal.h
diff --git
a/pv/view/signal.h
b/pv/view/signal.h
index 86d2f38007a5b14455c95caca358aec759f89c12..bdbd27a35f1b9554cde55dd75b1a441f0b1619b8 100644
(file)
--- a/
pv/view/signal.h
+++ b/
pv/view/signal.h
@@
-21,6
+21,8
@@
#ifndef PULSEVIEW_PV_VIEW_SIGNAL_H
#define PULSEVIEW_PV_VIEW_SIGNAL_H
#ifndef PULSEVIEW_PV_VIEW_SIGNAL_H
#define PULSEVIEW_PV_VIEW_SIGNAL_H
+#include <boost/shared_ptr.hpp>
+
#include <QComboBox>
#include <QWidgetAction>
#include <QComboBox>
#include <QWidgetAction>
@@
-51,6
+53,8
@@
public:
*/
void set_name(QString name);
*/
void set_name(QString name);
+ virtual boost::shared_ptr<pv::data::SignalData> data() const = 0;
+
/**
* Returns true if the trace is visible and enabled.
*/
/**
* Returns true if the trace is visible and enabled.
*/
@@
-62,6
+66,13
@@
public:
virtual void populate_popup_form(QWidget *parent, QFormLayout *form);
virtual void populate_popup_form(QWidget *parent, QFormLayout *form);
+ QMenu* create_context_menu(QWidget *parent);
+
+ void delete_pressed();
+
+private slots:
+ void on_disable();
+
protected:
sr_probe *const _probe;
protected:
sr_probe *const _probe;