15 #ifndef BORNAGAIN_MVVM_VIEW_MVVM_PLOTTING_CUSTOMPLOTSCENEADAPTER_H
16 #define BORNAGAIN_MVVM_VIEW_MVVM_PLOTTING_CUSTOMPLOTSCENEADAPTER_H
33 double toSceneX(
double customplot_x)
const override;
35 double toSceneY(
double customplot_y)
const override;
37 double fromSceneX(
double scene_x)
const override;
39 double fromSceneY(
double scene_y)
const override;
41 QRectF viewportRectangle()
const override;
45 std::unique_ptr<CustomPlotSceneAdapterImpl>
p_impl;
Converts QGraphicsScene coordinates in the coordinates of local system of QCustomPlot and vice versa.
std::unique_ptr< CustomPlotSceneAdapterImpl > p_impl
Interface to convert coordinates of "scene" to coordinates of "widget".
materialitems.h Collection of materials to populate MaterialModel.