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

#include <analogsignal.hpp>

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

Public Member Functions

 AnalogSignal (pv::Session &session, shared_ptr< data::SignalBase > base)
 
virtual std::map< QString, QVariant > save_settings () const
 
virtual void restore_settings (std::map< QString, QVariant > settings)
 
virtual pair< int, int > v_extents () const
 
virtual void paint_back (QPainter &p, ViewItemPaintParams &pp)
 
virtual void paint_mid (QPainter &p, ViewItemPaintParams &pp)
 
virtual void paint_fore (QPainter &p, ViewItemPaintParams &pp)
 
- Public Member Functions inherited from pv::views::trace::LogicSignal
 LogicSignal (pv::Session &session, shared_ptr< data::SignalBase > base)
 
virtual ~LogicSignal ()=default
 
- Public Member Functions inherited from pv::views::trace::Signal
virtual void set_name (QString name)
 
bool enabled () const
 
shared_ptr< data::SignalBasebase () const
 
virtual void save_settings (QSettings &settings) const
 
virtual void restore_settings (QSettings &settings)
 
void paint_back (QPainter &p, ViewItemPaintParams &pp)
 
QMenu * create_header_context_menu (QWidget *parent)
 
void delete_pressed ()
 
- Public Member Functions inherited from pv::views::trace::Trace
shared_ptr< data::SignalBasebase () const
 
virtual bool is_selectable (QPoint pos) const
 
virtual bool is_draggable (QPoint pos) const
 
virtual void set_segment_display_mode (SegmentDisplayMode mode)
 
virtual void on_setting_changed (const QString &key, const QVariant &value)
 
virtual void paint_label (QPainter &p, const QRect &rect, bool hover)
 
virtual void paint_error (QPainter &p, const ViewItemPaintParams &pp)
 
virtual QMenu * create_view_context_menu (QWidget *parent, QPoint &click_pos)
 
pv::widgets::Popupcreate_popup (QWidget *parent)
 
QRectF label_rect (const QRectF &rect) const
 
virtual QRectF hit_box_rect (const ViewItemPaintParams &pp) const
 
void set_current_segment (const int segment)
 
int get_current_segment () const
 
- Public Member Functions inherited from pv::views::trace::TraceTreeItem
 TraceTreeItem ()
 
TraceTreeItemOwnerowner () const
 
void select (bool select=true)
 
int layout_v_offset () const
 
void set_layout_v_offset (int v_offset)
 
int visual_v_offset () const
 
void set_visual_v_offset (int v_offset)
 
void force_to_v_offset (int v_offset)
 
void animate_to_layout_v_offset ()
 
virtual void set_owner (TraceTreeItemOwner *owner)
 
int get_visual_y () const
 
void drag_by (const QPoint &delta)
 
QPoint drag_point (const QRect &rect) const
 
- Public Member Functions inherited from pv::views::trace::ViewItem
 ViewItem ()
 
bool selected () const
 
bool dragging () const
 
void drag ()
 
virtual void drag_release ()
 
virtual void mouse_left_press_event (const QMouseEvent *event)
 
- Public Member Functions inherited from pv::views::trace::ViewItemOwner
virtual const item_listchild_items () const
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
template<class T >
vector< shared_ptr< T > > list_by_type ()
 

Protected Member Functions

void populate_popup_form (QWidget *parent, QFormLayout *form)
 
virtual void hover_point_changed (const QPoint &hp)
 
- Protected Member Functions inherited from pv::views::trace::LogicSignal
void paint_caps (QPainter &p, QLineF *const lines, vector< pair< int64_t, bool > > &edges, bool level, double samples_per_pixel, double pixels_offset, float x_offset, float y_offset)
 
shared_ptr< pv::data::LogicSegmentget_logic_segment_to_paint () const
 
void init_trigger_actions (QWidget *parent)
 
const vector< int32_t > get_trigger_types () const
 
QAction * action_from_trigger_type (const sigrok::TriggerMatchType *type)
 
const sigrok::TriggerMatchType * trigger_type_from_action (QAction *action)
 
void populate_popup_form (QWidget *parent, QFormLayout *form)
 
void modify_trigger ()
 
- Protected Member Functions inherited from pv::views::trace::Signal
 Signal (pv::Session &session, shared_ptr< data::SignalBase > signal)
 
- Protected Member Functions inherited from pv::views::trace::Trace
 Trace (shared_ptr< data::SignalBase > signal)
 
 ~Trace ()
 
void paint_axis (QPainter &p, ViewItemPaintParams &pp, int y)
 
void paint_hover_marker (QPainter &p)
 
void add_color_option (QWidget *parent, QFormLayout *form)
 
void create_popup_form ()
 

Private Types

enum  DisplayType { DisplayAnalog = 0, DisplayConverted = 1, DisplayBoth = 2 }
 

Private Slots

virtual void on_setting_changed (const QString &key, const QVariant &value)
 
void on_min_max_changed (float min, float max)
 
void on_pos_vdivs_changed (int vdivs)
 
void on_neg_vdivs_changed (int vdivs)
 
void on_div_height_changed (int height)
 
void on_resolution_changed (int index)
 
void on_autoranging_changed (int state)
 
void on_conversion_changed (int index)
 
void on_conv_threshold_changed (int index=-1)
 
void on_delayed_conversion_starter ()
 
void on_display_type_changed (int index)
 

Private Member Functions

void paint_grid (QPainter &p, int y, int left, int right)
 
void paint_trace (QPainter &p, const shared_ptr< pv::data::AnalogSegment > &segment, int y, int left, const int64_t start, const int64_t end, const double pixels_offset, const double samples_per_pixel)
 
void paint_envelope (QPainter &p, const shared_ptr< pv::data::AnalogSegment > &segment, int y, int left, const int64_t start, const int64_t end, const double pixels_offset, const double samples_per_pixel)
 
shared_ptr< pv::data::AnalogSegmentget_analog_segment_to_paint () const
 
float get_resolution (int scale_index)
 
void update_scale ()
 
virtual void update_logic_level_offsets ()
 
void update_conversion_widgets ()
 
virtual vector< data::LogicSegment::EdgePairget_nearest_level_changes (uint64_t sample_pos)
 
void perform_autoranging (bool keep_divs, bool force_update)
 
void reset_pixel_values ()
 
void process_next_sample_value (float x, float value)
 

Private Attributes

QComboBox * resolution_cb_
 
QComboBox * conversion_cb_
 
QComboBox * conv_threshold_cb_
 
QComboBox * display_type_cb_
 
QSpinBox * pvdiv_sb_
 
QSpinBox * nvdiv_sb_
 
QSpinBox * div_height_sb_
 
double signal_min_
 
double signal_max_
 
bool show_analog_minor_grid_
 
QColor high_fill_color_
 
bool show_sampling_points_
 
bool fill_high_areas_
 
int conversion_threshold_disp_mode_
 
vector< float > value_at_pixel_pos_
 
float value_at_hover_pos_
 
float prev_value_at_pixel_
 
float min_value_at_pixel_
 
float max_value_at_pixel_
 
int current_pixel_pos_
 
float scale_
 
int scale_index_
 
int div_height_
 
int pos_vdivs_
 
int neg_vdivs_
 
float resolution_
 
DisplayType display_type_
 
bool autoranging_
 

Static Private Attributes

static const QPen AxisPen
 
static const QColor GridMajorColor = QColor(0, 0, 0, 40 * 256 / 100)
 
static const QColor GridMinorColor = QColor(0, 0, 0, 20 * 256 / 100)
 
static const QColor SamplingPointColorLo = QColor(200, 0, 0, 80 * 256 / 100)
 
static const QColor SamplingPointColorNe = QColor(0, 0, 0, 80 * 256 / 100)
 
static const QColor SamplingPointColorHi = QColor(0, 200, 0, 80 * 256 / 100)
 
static const QColor ThresholdColor = QColor(0, 0, 0, 30 * 256 / 100)
 
static const QColor ThresholdColorLo = QColor(255, 0, 0, 8 * 256 / 100)
 
static const QColor ThresholdColorNe = QColor(0, 0, 0, 10 * 256 / 100)
 
static const QColor ThresholdColorHi = QColor(0, 255, 0, 8 * 256 / 100)
 
static const int64_t TracePaintBlockSize = 1024 * 1024
 
static const float EnvelopeThreshold = 64.0f
 
static const int MaximumVDivs = 10
 
static const int MaxScaleIndex = 10
 
static const int MinScaleIndex = -6
 
static const int InfoTextMarginRight = 20
 
static const int InfoTextMarginBottom = 5
 

Additional Inherited Members

- Public Types inherited from pv::views::trace::Trace
enum  SegmentDisplayMode {
  ShowLastSegmentOnly = 1, ShowLastCompleteSegmentOnly, ShowSingleSegmentOnly, ShowAllSegments,
  ShowAccumulatedIntensity
}
 
- Public Types inherited from pv::views::trace::ViewItemOwner
typedef vector< shared_ptr< ViewItem > > item_list
 
typedef ViewItemIterator< ViewItemOwner, ViewItemiterator
 
typedef ViewItemIterator< const ViewItemOwner, ViewItemconst_iterator
 
- Static Public Member Functions inherited from pv::views::trace::ViewItem
static QColor select_text_color (QColor background)
 
- Static Public Attributes inherited from pv::views::trace::LogicSignal
static const float Oversampling = 2.0f
 
static const QColor EdgeColor
 
static const QColor HighColor
 
static const QColor LowColor
 
static const QColor SamplingPointColor
 
static QColor TriggerMarkerBackgroundColor = QColor(0xED, 0xD4, 0x00)
 
static const int TriggerMarkerPadding = 2
 
static const char * TriggerMarkerIcons [8]
 
- Static Public Attributes inherited from pv::views::trace::ViewItem
static const QSizeF LabelPadding
 
static const int HighlightRadius = 3
 
- Protected Slots inherited from pv::views::trace::LogicSignal
void on_setting_changed (const QString &key, const QVariant &value)
 
void on_trigger ()
 
void on_signal_height_changed (int height)
 
- Protected Slots inherited from pv::views::trace::Signal
virtual void on_name_changed (const QString &text)
 
void on_disable ()
 
void on_enabled_changed (bool enabled)
 
- Protected Slots inherited from pv::views::trace::Trace
virtual void on_name_changed (const QString &text)
 
virtual void on_color_changed (const QColor &color)
 
virtual void on_error_message_changed (const QString &msg)
 
void on_popup_closed ()
 
- Static Protected Member Functions inherited from pv::views::trace::LogicSignal
static const QIcon * get_icon (const char *path)
 
static const QPixmap * get_pixmap (const char *path)
 
- Static Protected Member Functions inherited from pv::views::trace::ViewItem
static QPen highlight_pen ()
 
- Protected Attributes inherited from pv::views::trace::LogicSignal
QColor high_fill_color_
 
bool show_sampling_points_
 
bool fill_high_areas_
 
float high_level_offset_
 
float low_level_offset_
 
QSpinBox * signal_height_sb_
 
const sigrok::TriggerMatchType * trigger_match_
 
const vector< int32_t > trigger_types_
 
QToolBartrigger_bar_
 
QAction * trigger_none_
 
QAction * trigger_rising_
 
QAction * trigger_high_
 
QAction * trigger_falling_
 
QAction * trigger_low_
 
QAction * trigger_change_
 
int signal_height_
 
- Protected Attributes inherited from pv::views::trace::Signal
pv::Sessionsession_
 
QComboBox * name_widget_
 
- Protected Attributes inherited from pv::views::trace::Trace
shared_ptr< data::SignalBasebase_
 
QPen axis_pen_
 
SegmentDisplayMode segment_display_mode_
 
bool show_hover_marker_
 
uint32_t context_menu_x_pos_
 
int current_segment_
 The ID of the currently displayed segment. More...
 
- Protected Attributes inherited from pv::views::trace::TraceTreeItem
TraceTreeItemOwnerowner_
 
int layout_v_offset_
 
int visual_v_offset_
 
- Protected Attributes inherited from pv::views::trace::ViewItem
QWidget * context_parent_
 
QPoint drag_point_
 
- Protected Attributes inherited from pv::views::trace::ViewItemOwner
item_list items_
 
- Static Protected Attributes inherited from pv::views::trace::LogicSignal
static QCache< QString, const QIcon > icon_cache_
 
static QCache< QString, const QPixmap > pixmap_cache_
 
- Properties inherited from pv::views::trace::TraceTreeItem
int visual_v_offset
 

Detailed Description

Definition at line 46 of file analogsignal.hpp.

Member Enumeration Documentation

Enumerator
DisplayAnalog 
DisplayConverted 
DisplayBoth 

Definition at line 68 of file analogsignal.hpp.

Constructor & Destructor Documentation

pv::views::trace::AnalogSignal::AnalogSignal ( pv::Session session,
shared_ptr< data::SignalBase base 
)

Definition at line 97 of file analogsignal.cpp.

Here is the call graph for this function:

Member Function Documentation

shared_ptr< pv::data::AnalogSegment > pv::views::trace::AnalogSignal::get_analog_segment_to_paint ( ) const
private

Definition at line 535 of file analogsignal.cpp.

Here is the caller graph for this function:

vector< data::LogicSegment::EdgePair > pv::views::trace::AnalogSignal::get_nearest_level_changes ( uint64_t  sample_pos)
privatevirtual

Determines the closest level change (i.e. edge) to a given sample, which is useful for e.g. the "snap to edge" functionality.

Parameters
sample_posSample to use
Returns
The changes left and right of the given position

Reimplemented from pv::views::trace::LogicSignal.

Definition at line 631 of file analogsignal.cpp.

Here is the call graph for this function:

float pv::views::trace::AnalogSignal::get_resolution ( int  scale_index)
private

Computes the scale factor from the scale index and vdiv settings.

Definition at line 559 of file analogsignal.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::views::trace::AnalogSignal::hover_point_changed ( const QPoint &  hp)
protectedvirtual

Reimplemented from pv::views::trace::Trace.

Definition at line 901 of file analogsignal.cpp.

Here is the call graph for this function:

void pv::views::trace::AnalogSignal::on_autoranging_changed ( int  state)
privateslot

Definition at line 1040 of file analogsignal.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::views::trace::AnalogSignal::on_conv_threshold_changed ( int  index = -1)
privateslot

Definition at line 1082 of file analogsignal.cpp.

Here is the caller graph for this function:

void pv::views::trace::AnalogSignal::on_conversion_changed ( int  index)
privateslot

Definition at line 1061 of file analogsignal.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::views::trace::AnalogSignal::on_delayed_conversion_starter ( )
privateslot

Definition at line 1176 of file analogsignal.cpp.

void pv::views::trace::AnalogSignal::on_display_type_changed ( int  index)
privateslot

Definition at line 1181 of file analogsignal.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::views::trace::AnalogSignal::on_div_height_changed ( int  height)
privateslot

Definition at line 1018 of file analogsignal.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::views::trace::AnalogSignal::on_min_max_changed ( float  min,
float  max 
)
privateslot

Definition at line 942 of file analogsignal.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::views::trace::AnalogSignal::on_neg_vdivs_changed ( int  vdivs)
privateslot

Definition at line 985 of file analogsignal.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::views::trace::AnalogSignal::on_pos_vdivs_changed ( int  vdivs)
privateslot

Definition at line 952 of file analogsignal.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::views::trace::AnalogSignal::on_resolution_changed ( int  index)
privateslot

Definition at line 1031 of file analogsignal.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::views::trace::AnalogSignal::on_setting_changed ( const QString &  key,
const QVariant &  value 
)
privatevirtualslot

Definition at line 918 of file analogsignal.cpp.

Here is the call graph for this function:

void pv::views::trace::AnalogSignal::paint_back ( QPainter &  p,
ViewItemPaintParams pp 
)
virtual

Paints the background layer of the signal with a QPainter

Parameters
pthe QPainter to paint into.
ppthe painting parameters object to paint with..

Reimplemented from pv::views::trace::Trace.

Definition at line 198 of file analogsignal.cpp.

Here is the call graph for this function:

void pv::views::trace::AnalogSignal::paint_envelope ( QPainter &  p,
const shared_ptr< pv::data::AnalogSegment > &  segment,
int  y,
int  left,
const int64_t  start,
const int64_t  end,
const double  pixels_offset,
const double  samples_per_pixel 
)
private

Definition at line 486 of file analogsignal.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::views::trace::AnalogSignal::paint_fore ( QPainter &  p,
ViewItemPaintParams pp 
)
virtual

Paints the foreground layer of the item with a QPainter

Parameters
pthe QPainter to paint into.
ppthe painting parameters object to paint with.

Reimplemented from pv::views::trace::LogicSignal.

Definition at line 294 of file analogsignal.cpp.

Here is the call graph for this function:

void pv::views::trace::AnalogSignal::paint_grid ( QPainter &  p,
int  y,
int  left,
int  right 
)
private

Definition at line 338 of file analogsignal.cpp.

Here is the caller graph for this function:

void pv::views::trace::AnalogSignal::paint_mid ( QPainter &  p,
ViewItemPaintParams pp 
)
virtual

Paints the mid-layer of the signal with a QPainter

Parameters
pthe QPainter to paint into.
ppthe painting parameters object to paint with..

Reimplemented from pv::views::trace::LogicSignal.

Definition at line 247 of file analogsignal.cpp.

Here is the call graph for this function:

void pv::views::trace::AnalogSignal::paint_trace ( QPainter &  p,
const shared_ptr< pv::data::AnalogSegment > &  segment,
int  y,
int  left,
const int64_t  start,
const int64_t  end,
const double  pixels_offset,
const double  samples_per_pixel 
)
private

Definition at line 388 of file analogsignal.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::views::trace::AnalogSignal::perform_autoranging ( bool  keep_divs,
bool  force_update 
)
private

Definition at line 662 of file analogsignal.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::views::trace::AnalogSignal::populate_popup_form ( QWidget *  parent,
QFormLayout *  form 
)
protectedvirtual

Reimplemented from pv::views::trace::Signal.

Reimplemented in pv::views::trace::MathSignal.

Definition at line 791 of file analogsignal.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::views::trace::AnalogSignal::process_next_sample_value ( float  x,
float  value 
)
private

Definition at line 740 of file analogsignal.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::views::trace::AnalogSignal::reset_pixel_values ( )
private

Definition at line 733 of file analogsignal.cpp.

Here is the caller graph for this function:

void pv::views::trace::AnalogSignal::restore_settings ( std::map< QString, QVariant >  settings)
virtual

Reimplemented from pv::views::trace::LogicSignal.

Definition at line 148 of file analogsignal.cpp.

Here is the call graph for this function:

std::map< QString, QVariant > pv::views::trace::AnalogSignal::save_settings ( ) const
virtual

Reimplemented from pv::views::trace::LogicSignal.

Definition at line 132 of file analogsignal.cpp.

Here is the call graph for this function:

void pv::views::trace::AnalogSignal::update_conversion_widgets ( )
private

Definition at line 587 of file analogsignal.cpp.

Here is the caller graph for this function:

void pv::views::trace::AnalogSignal::update_logic_level_offsets ( )
privatevirtual

Reimplemented from pv::views::trace::LogicSignal.

Definition at line 576 of file analogsignal.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void pv::views::trace::AnalogSignal::update_scale ( )
private

Definition at line 570 of file analogsignal.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

pair< int, int > pv::views::trace::AnalogSignal::v_extents ( ) const
virtual

Computes the vertical extents of the contents of this row item.

Returns
A pair containing the minimum and maximum y-values.

Reimplemented from pv::views::trace::LogicSignal.

Definition at line 190 of file analogsignal.cpp.

Here is the caller graph for this function:

Member Data Documentation

bool pv::views::trace::AnalogSignal::autoranging_
private

Definition at line 200 of file analogsignal.hpp.

const QPen pv::views::trace::AnalogSignal::AxisPen
staticprivate

Definition at line 51 of file analogsignal.hpp.

QComboBox * pv::views::trace::AnalogSignal::conv_threshold_cb_
private

Definition at line 171 of file analogsignal.hpp.

QComboBox * pv::views::trace::AnalogSignal::conversion_cb_
private

Definition at line 171 of file analogsignal.hpp.

int pv::views::trace::AnalogSignal::conversion_threshold_disp_mode_
private

Definition at line 181 of file analogsignal.hpp.

int pv::views::trace::AnalogSignal::current_pixel_pos_
private

Definition at line 187 of file analogsignal.hpp.

DisplayType pv::views::trace::AnalogSignal::display_type_
private

Definition at line 199 of file analogsignal.hpp.

QComboBox * pv::views::trace::AnalogSignal::display_type_cb_
private

Definition at line 171 of file analogsignal.hpp.

int pv::views::trace::AnalogSignal::div_height_
private

Definition at line 195 of file analogsignal.hpp.

QSpinBox * pv::views::trace::AnalogSignal::div_height_sb_
private

Definition at line 173 of file analogsignal.hpp.

const float pv::views::trace::AnalogSignal::EnvelopeThreshold = 64.0f
staticprivate

Definition at line 62 of file analogsignal.hpp.

bool pv::views::trace::AnalogSignal::fill_high_areas_
private

Definition at line 179 of file analogsignal.hpp.

const QColor pv::views::trace::AnalogSignal::GridMajorColor = QColor(0, 0, 0, 40 * 256 / 100)
staticprivate

Definition at line 52 of file analogsignal.hpp.

const QColor pv::views::trace::AnalogSignal::GridMinorColor = QColor(0, 0, 0, 20 * 256 / 100)
staticprivate

Definition at line 52 of file analogsignal.hpp.

QColor pv::views::trace::AnalogSignal::high_fill_color_
private

Definition at line 178 of file analogsignal.hpp.

const int pv::views::trace::AnalogSignal::InfoTextMarginBottom = 5
staticprivate

Definition at line 66 of file analogsignal.hpp.

const int pv::views::trace::AnalogSignal::InfoTextMarginRight = 20
staticprivate

Definition at line 66 of file analogsignal.hpp.

float pv::views::trace::AnalogSignal::max_value_at_pixel_
private

Definition at line 186 of file analogsignal.hpp.

const int pv::views::trace::AnalogSignal::MaximumVDivs = 10
staticprivate

Definition at line 64 of file analogsignal.hpp.

const int pv::views::trace::AnalogSignal::MaxScaleIndex = 10
staticprivate

Definition at line 65 of file analogsignal.hpp.

float pv::views::trace::AnalogSignal::min_value_at_pixel_
private

Definition at line 186 of file analogsignal.hpp.

const int pv::views::trace::AnalogSignal::MinScaleIndex = -6
staticprivate

Definition at line 65 of file analogsignal.hpp.

int pv::views::trace::AnalogSignal::neg_vdivs_
private

Definition at line 196 of file analogsignal.hpp.

QSpinBox * pv::views::trace::AnalogSignal::nvdiv_sb_
private

Definition at line 173 of file analogsignal.hpp.

int pv::views::trace::AnalogSignal::pos_vdivs_
private

Definition at line 196 of file analogsignal.hpp.

float pv::views::trace::AnalogSignal::prev_value_at_pixel_
private

Definition at line 185 of file analogsignal.hpp.

QSpinBox* pv::views::trace::AnalogSignal::pvdiv_sb_
private

Definition at line 173 of file analogsignal.hpp.

float pv::views::trace::AnalogSignal::resolution_
private

Definition at line 197 of file analogsignal.hpp.

QComboBox* pv::views::trace::AnalogSignal::resolution_cb_
private

Definition at line 171 of file analogsignal.hpp.

const QColor pv::views::trace::AnalogSignal::SamplingPointColorHi = QColor(0, 200, 0, 80 * 256 / 100)
staticprivate

Definition at line 55 of file analogsignal.hpp.

const QColor pv::views::trace::AnalogSignal::SamplingPointColorLo = QColor(200, 0, 0, 80 * 256 / 100)
staticprivate

Definition at line 53 of file analogsignal.hpp.

const QColor pv::views::trace::AnalogSignal::SamplingPointColorNe = QColor(0, 0, 0, 80 * 256 / 100)
staticprivate

Definition at line 54 of file analogsignal.hpp.

float pv::views::trace::AnalogSignal::scale_
private

Definition at line 192 of file analogsignal.hpp.

int pv::views::trace::AnalogSignal::scale_index_
private

Definition at line 193 of file analogsignal.hpp.

bool pv::views::trace::AnalogSignal::show_analog_minor_grid_
private

Definition at line 177 of file analogsignal.hpp.

bool pv::views::trace::AnalogSignal::show_sampling_points_
private

Definition at line 179 of file analogsignal.hpp.

double pv::views::trace::AnalogSignal::signal_max_
private

Definition at line 175 of file analogsignal.hpp.

double pv::views::trace::AnalogSignal::signal_min_
private

Definition at line 175 of file analogsignal.hpp.

const QColor pv::views::trace::AnalogSignal::ThresholdColor = QColor(0, 0, 0, 30 * 256 / 100)
staticprivate

Definition at line 56 of file analogsignal.hpp.

const QColor pv::views::trace::AnalogSignal::ThresholdColorHi = QColor(0, 255, 0, 8 * 256 / 100)
staticprivate

Definition at line 59 of file analogsignal.hpp.

const QColor pv::views::trace::AnalogSignal::ThresholdColorLo = QColor(255, 0, 0, 8 * 256 / 100)
staticprivate

Definition at line 57 of file analogsignal.hpp.

const QColor pv::views::trace::AnalogSignal::ThresholdColorNe = QColor(0, 0, 0, 10 * 256 / 100)
staticprivate

Definition at line 58 of file analogsignal.hpp.

const int64_t pv::views::trace::AnalogSignal::TracePaintBlockSize = 1024 * 1024
staticprivate

Definition at line 61 of file analogsignal.hpp.

float pv::views::trace::AnalogSignal::value_at_hover_pos_
private

Definition at line 184 of file analogsignal.hpp.

vector<float> pv::views::trace::AnalogSignal::value_at_pixel_pos_
private

Definition at line 183 of file analogsignal.hpp.


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