#ifndef PULSEVIEW_PV_VIEWS_TRACEVIEW_ANALOGSIGNAL_HPP
#define PULSEVIEW_PV_VIEWS_TRACEVIEW_ANALOGSIGNAL_HPP
#ifndef PULSEVIEW_PV_VIEWS_TRACEVIEW_ANALOGSIGNAL_HPP
#define PULSEVIEW_PV_VIEWS_TRACEVIEW_ANALOGSIGNAL_HPP
static const QColor SignalColours[4];
static const QColor GridMajorColor, GridMinorColor;
static const QColor SamplingPointColour;
static const QColor SignalColours[4];
static const QColor GridMajorColor, GridMinorColor;
static const QColor SamplingPointColour;
int y, int left, const int64_t start, const int64_t end,
const double pixels_offset, const double samples_per_pixel);
int y, int left, const int64_t start, const int64_t end,
const double pixels_offset, const double samples_per_pixel);
void paint_logic_mid(QPainter &p, ViewItemPaintParams &pp);
void paint_logic_caps(QPainter &p, QLineF *const lines,
void paint_logic_mid(QPainter &p, ViewItemPaintParams &pp);
void paint_logic_caps(QPainter &p, QLineF *const lines,
bool level, double samples_per_pixel, double pixels_offset,
float x_offset, float y_offset);
bool level, double samples_per_pixel, double pixels_offset,
float x_offset, float y_offset);
private:
QComboBox *resolution_cb_, *conversion_cb_, *conv_threshold_cb_,
*display_type_cb_;
QSpinBox *pvdiv_sb_, *nvdiv_sb_, *div_height_sb_;
private:
QComboBox *resolution_cb_, *conversion_cb_, *conv_threshold_cb_,
*display_type_cb_;
QSpinBox *pvdiv_sb_, *nvdiv_sb_, *div_height_sb_;