+ void paint_logic_mid(QPainter &p, ViewItemPaintParams &pp);
+
+ void paint_logic_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);
+
+ /**
+ * Computes the scale factor from the scale index and vdiv settings.
+ */
+ float get_resolution(int scale_index);
+
+ void update_scale();
+
+ void update_conversion_type();
+
+ void perform_autoranging(bool keep_divs, bool force_update);
+
+protected:
+ void populate_popup_form(QWidget *parent, QFormLayout *form);
+
+private Q_SLOTS:
+ void on_samples_added();
+
+ void on_pos_vdivs_changed(int vdivs);
+ void on_neg_vdivs_changed(int vdivs);
+
+ void on_resolution_changed(int index);
+
+ void on_autoranging_changed(int state);
+
+ void on_conversion_changed(int index);
+
+ void on_display_type_changed(int index);
+