21 #ifndef PULSEVIEW_PV_VIEW_ANALOGSIGNAL_HPP
22 #define PULSEVIEW_PV_VIEW_ANALOGSIGNAL_HPP
47 std::shared_ptr<sigrok::Channel>
channel,
48 std::shared_ptr<pv::data::Analog>
data);
52 std::shared_ptr<pv::data::SignalData>
data()
const;
54 std::shared_ptr<pv::data::Analog>
analog_data()
const;
94 const std::shared_ptr<pv::data::AnalogSegment> &segment,
95 int y,
int left,
const int64_t start,
const int64_t
end,
96 const double pixels_offset,
const double samples_per_pixel);
99 const std::shared_ptr<pv::data::AnalogSegment> &segment,
100 int y,
int left,
const int64_t start,
const int64_t
end,
101 const double pixels_offset,
const double samples_per_pixel);
109 std::shared_ptr<pv::data::Analog>
data_;
118 #endif // PULSEVIEW_PV_VIEW_ANALOGSIGNAL_HPP
static const int NominalHeight
int scale_handle_offset() const
std::shared_ptr< pv::data::Analog > analog_data() const
std::shared_ptr< pv::data::Analog > data_
std::shared_ptr< sigrok::Channel > channel() const
static const QColor SignalColours[4]
void paint_mid(QPainter &p, const ViewItemPaintParams &pp)
std::shared_ptr< pv::data::SignalData > data() const
void paint_envelope(QPainter &p, const std::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 scale_handle_dragged(int offset)
void paint_trace(QPainter &p, const std::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 scale_handle_drag_release()
AnalogSignal(pv::Session &session, std::shared_ptr< sigrok::Channel > channel, std::shared_ptr< pv::data::Analog > data)
std::pair< int, int > v_extents() const
int scale_index_drag_offset_
void paint_back(QPainter &p, const ViewItemPaintParams &pp)
static const float EnvelopeThreshold