private:
static const QColor SignalColours[4];
static const QColor GridMajorColor, GridMinorColor;
private:
static const QColor SignalColours[4];
static const QColor GridMajorColor, GridMinorColor;
* Computes the vertical extents of the contents of this row item.
* @return A pair containing the minimum and maximum y-values.
*/
* Computes the vertical extents of the contents of this row item.
* @return A pair containing the minimum and maximum y-values.
*/
void paint_grid(QPainter &p, int y, int left, int right);
void paint_trace(QPainter &p,
void paint_grid(QPainter &p, int y, int left, int right);
void paint_trace(QPainter &p,
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,
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,
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 on_pos_vdivs_changed(int vdivs);
void on_neg_vdivs_changed(int vdivs);
void on_resolution_changed(int index);
void on_pos_vdivs_changed(int vdivs);
void on_neg_vdivs_changed(int vdivs);
void on_resolution_changed(int index);
int div_height_;
int pos_vdivs_, neg_vdivs_; // divs per positive/negative side
float resolution_; // e.g. 10 for 10 V/div
int div_height_;
int pos_vdivs_, neg_vdivs_; // divs per positive/negative side
float resolution_; // e.g. 10 for 10 V/div