20 #ifndef PULSEVIEW_PV_VIEWS_TRACE_MATHSIGNAL_HPP 21 #define PULSEVIEW_PV_VIEWS_TRACE_MATHSIGNAL_HPP 28 #include <QPlainTextEdit> 36 using std::shared_ptr;
49 static const vector< pair<string, string> >
Examples;
53 QWidget *parent =
nullptr);
78 void populate_popup_form(QWidget *parent, QFormLayout *form);
83 void on_expression_changed(
const QString &text);
84 void on_sample_count_changed(
const QString &text);
86 void on_edit_clicked();
99 #endif // PULSEVIEW_PV_VIEWS_TRACE_MATHSIGNAL_HPP
QPlainTextEdit * expr_edit_
static const vector< pair< string, string > > Examples
shared_ptr< pv::data::MathSignal > math_signal_
void set_expr(const QString &expr)
QComboBox * sample_rate_cb_
QString sample_rate_text_
shared_ptr< pv::data::MathSignal > math_signal_
MathEditDialog(pv::Session &session, shared_ptr< pv::data::MathSignal > math_signal, QWidget *parent=nullptr)
QLineEdit * expression_edit_
QTimer delayed_rate_updater_