PulseView  unreleased development snapshot
A Qt-based sigrok GUI
pv::views::trace::MathEditDialog Class Reference

#include <mathsignal.hpp>

Inheritance diagram for pv::views::trace::MathEditDialog:
Collaboration diagram for pv::views::trace::MathEditDialog:

Public Member Functions

 MathEditDialog (pv::Session &session, shared_ptr< pv::data::MathSignal > math_signal, QWidget *parent=nullptr)
 
void set_expr (const QString &expr)
 

Private Slots

void accept ()
 
void reject ()
 

Private Attributes

pv::Sessionsession_
 
shared_ptr< pv::data::MathSignalmath_signal_
 
QString old_expression_
 
QPlainTextEdit * expr_edit_
 

Static Private Attributes

static const vector< pair< string, string > > Examples
 

Detailed Description

Definition at line 44 of file mathsignal.hpp.

Constructor & Destructor Documentation

pv::views::trace::MathEditDialog::MathEditDialog ( pv::Session session,
shared_ptr< pv::data::MathSignal math_signal,
QWidget *  parent = nullptr 
)

Definition at line 80 of file mathsignal.cpp.

Here is the call graph for this function:

Member Function Documentation

void pv::views::trace::MathEditDialog::accept ( )
privateslot

Definition at line 277 of file mathsignal.cpp.

Here is the caller graph for this function:

void pv::views::trace::MathEditDialog::reject ( )
privateslot

Definition at line 283 of file mathsignal.cpp.

Here is the caller graph for this function:

void pv::views::trace::MathEditDialog::set_expr ( const QString &  expr)

Definition at line 272 of file mathsignal.cpp.

Here is the caller graph for this function:

Member Data Documentation

const vector< pair< string, string > > pv::views::trace::MathEditDialog::Examples
staticprivate

Definition at line 49 of file mathsignal.hpp.

QPlainTextEdit* pv::views::trace::MathEditDialog::expr_edit_
private

Definition at line 66 of file mathsignal.hpp.

shared_ptr<pv::data::MathSignal> pv::views::trace::MathEditDialog::math_signal_
private

Definition at line 63 of file mathsignal.hpp.

QString pv::views::trace::MathEditDialog::old_expression_
private

Definition at line 64 of file mathsignal.hpp.

pv::Session& pv::views::trace::MathEditDialog::session_
private

Definition at line 62 of file mathsignal.hpp.


The documentation for this class was generated from the following files: